Explorar o código

[lights] Fixed missing icons

Clément Espeute hai 1 ano
pai
achega
accbe45025
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      hrt/prefab/Light.hx

+ 1 - 1
hrt/prefab/Light.hx

@@ -179,7 +179,7 @@ class Light extends Object3D {
 		}
 
 		#if editor
-		icon = hrt.impl.EditorTools.create3DIcon(local3d, hide.Ide.inst.getHideResPath("icons/PointLight.png"), 0.5, Light);
+		icon = hrt.impl.EditorTools.create3DIcon(object, hide.Ide.inst.getHideResPath("icons/PointLight.png"), 0.5, Light);
 		#end
 
 		cookieTex = initTexture(cookiePath);