浏览代码

HierarchicalWorld debug bounds use logicBounds.

clementlandrin 1 年之前
父节点
当前提交
b004dc6988
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      h3d/scene/HierarchicalWorld.hx

+ 1 - 1
h3d/scene/HierarchicalWorld.hx

@@ -57,7 +57,7 @@ class HierarchicalWorld extends Object {
 	function createGraphics() {
 		if ( debugGraphics != null )
 			throw "??";
-		var b = objectBounds.clone();
+		var b = logicBounds.clone();
 		b.transform(getAbsPos().getInverse());
 		b.zMin = 0.0;
 		b.zMax = 0.1;