Ver Fonte

- Undo temp fix

ShiroSmith há 7 anos atrás
pai
commit
31e76c50cc
1 ficheiros alterados com 1 adições e 1 exclusões
  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 true;
+			return false;
 		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 )