2
0
Эх сурвалжийг харах

[scene] Don't create defaultRenderProps unless needed

Clément Espeute 11 сар өмнө
parent
commit
19b92532fd

+ 1 - 1
hide/comp/SceneEditor.hx

@@ -4371,7 +4371,7 @@ class SceneEditor {
 				}
 			}
 			else {
-				if (renderPropsRoot == null) {
+				if (newRenderProps == null && renderPropsRoot == null) {
 					createRenderProps();
 				}
 			}