Skip to content

Commit b3130f5

Browse files
Fixes display name formatting of nested prefab instances.
1 parent f5816b1 commit b3130f5

File tree

1 file changed

+1
-1
lines changed
  • source/editor/plugins/phasereditor2d.scene/src/ui/sceneobjects

1 file changed

+1
-1
lines changed

source/editor/plugins/phasereditor2d.scene/src/ui/sceneobjects/Utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ namespace phasereditor2d.scene.ui.sceneobjects {
2222

2323
const finder = ScenePlugin.getInstance().getSceneFinder();
2424

25-
if (objES.isPrefabInstance()) {
25+
if (objES.isPrefabInstance() && !objES.isNestedPrefabDefined()) {
2626

2727
const hierarchy = finder.getPrefabHierarchy(objES.getPrefabId());
2828

0 commit comments

Comments
 (0)