瀏覽代碼

- Undo temp fix

ShiroSmith 7 年之前
父節點
當前提交
31e76c50cc
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 ) {
 		if( (mode != Mixed && mode != Static) || bytes == null )
-			return true;
+			return false;
 		var buffer = new haxe.io.BytesInput(bytes);
 		var size = buffer.readInt32();
 		if( size != this.size )