Explorar o código

bugfix, json might parse mixed array

Nicolas Cannasse %!s(int64=8) %!d(string=hai) anos
pai
achega
ae73162ed0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      hxd/inspect/SceneProps.hx

+ 1 - 1
hxd/inspect/SceneProps.hx

@@ -450,7 +450,7 @@ class SceneProps {
 				if( Std.is(v, Bool) )
 					props.unshift(PBool(f, function() return Reflect.getProperty(o, f), function(v) Reflect.setProperty(o, f, v)));
 				else if( Std.is(v, Float) ) {
-					var range : Array<Null<Float>> = m.range;
+					var range : Array<Dynamic> = m.range;
 					if( range != null )
 						props.unshift(PRange(f, range[0], range[1], function() return Reflect.getProperty(o, f), function(v) Reflect.setProperty(o, f, v), range[2]));
 					else