瀏覽代碼

Merge pull request #19905 from AndreaCatania/no3d_2

Removed two skeleton parameter from compilation width no 3d
Rémi Verschelde 7 年之前
父節點
當前提交
ecee0c92ff
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      scene/3d/skeleton.h

+ 2 - 0
scene/3d/skeleton.h

@@ -80,8 +80,10 @@ class Skeleton : public Spatial {
 			ignore_animation = false;
 			custom_pose_enable = false;
 			disable_rest = false;
+#ifndef _3D_DISABLED
 			physical_bone = NULL;
 			cache_parent_physical_bone = NULL;
+#endif // _3D_DISABLED
 		}
 	};