Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 736dd7f

Browse files
committedFeb 25, 2025·
Fix custom object thumbnails.
1 parent 4bd85df commit 736dd7f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed
 

‎newIDE/app/src/ObjectsRendering/Renderers/RenderedCustomObjectInstance.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -353,9 +353,10 @@ export default class RenderedCustomObjectInstance extends Rendered3DInstance
353353
const childObjects = variant.getObjects();
354354
for (let i = 0; i < childObjects.getObjectsCount(); i++) {
355355
const childObject = childObjects.getObjectAt(i);
356-
const childObjectConfiguration = customObjectConfiguration.getChildObjectConfiguration(
357-
childObject.getName()
358-
);
356+
const childObjectConfiguration = variant
357+
.getObjects()
358+
.getObject(childObject.getName())
359+
.getConfiguration();
359360
const childType = childObjectConfiguration.getType();
360361
if (
361362
childType === 'Sprite' ||

0 commit comments

Comments
 (0)
Please sign in to comment.