Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

changed the image prefab name from new object to image #10969

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,13 @@
},
"scenes": [
{
"nodes": [
0
]
"nodes": [0]
}
],
"scene": 0,
"nodes": [
{
"name": "New Object",
"name": "Image",
"extensions": {
"EE_uuid": "0db4cf3f-8adb-42eb-8efa-3102182e61fc",
"EE_visible": true,
Expand All @@ -27,10 +25,5 @@
}
}
],
"extensionsUsed": [
"EE_uuid",
"EE_visible",
"EE_image",
"EE_ecs"
]
}
"extensionsUsed": ["EE_uuid", "EE_visible", "EE_image", "EE_ecs"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ export const HierarchyTreeNode = (props: HierarchyTreeNodeProps) => {
.map((c) => getState(ComponentEditorsState)[c.name]?.iconComponent)
.filter((icon) => !!icon)
: []
const IconComponent = icons.length ? icons[icons.length - 1] : TransformPropertyGroup.iconComponent
const IconComponent = icons.length > 0 ? icons[0] : TransformPropertyGroup.iconComponent
const renaming = data.renamingNode && data.renamingNode.entity === node.entity

return (
Expand Down
Loading