ShiroSmith 7 éve
szülő
commit
a3700c9880
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      h3d/pass/PointShadowMap.hx

+ 1 - 1
h3d/pass/PointShadowMap.hx

@@ -84,7 +84,7 @@ class PointShadowMap extends Shadows {
 
 
 	override function loadStaticData( bytes : haxe.io.Bytes ) {
 	override function loadStaticData( bytes : haxe.io.Bytes ) {
 		if( (mode != Mixed && mode != Static) || bytes == null )
 		if( (mode != Mixed && mode != Static) || bytes == null )
-			return false;
+			return true;
 		var buffer = new haxe.io.BytesInput(bytes);
 		var buffer = new haxe.io.BytesInput(bytes);
 		var size = buffer.readInt32();
 		var size = buffer.readInt32();
 		if( size != this.size )
 		if( size != this.size )