mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 18:21:16 +02:00
fixed log spam undefined error
This commit is contained in:
parent
b4000c04bc
commit
b8fd640ddf
1 changed files with 3 additions and 2 deletions
|
@ -1322,8 +1322,9 @@ SelectionDisplay = (function() {
|
||||||
isActiveTool(handleScaleRTFCube) || isActiveTool(handleStretchXSphere) ||
|
isActiveTool(handleScaleRTFCube) || isActiveTool(handleStretchXSphere) ||
|
||||||
isActiveTool(handleStretchYSphere) || isActiveTool(handleStretchZSphere));
|
isActiveTool(handleStretchYSphere) || isActiveTool(handleStretchZSphere));
|
||||||
|
|
||||||
var showOutlineForZone = (SelectionManager.selections.length === 1 &&
|
var showOutlineForZone = (SelectionManager.selections.length === 1 &&
|
||||||
SelectionManager.savedProperties[SelectionManager.selections[0]].type === "Zone");
|
typeof SelectionManager.savedProperties[SelectionManager.selections[0]] !== "undefined" &&
|
||||||
|
SelectionManager.savedProperties[SelectionManager.selections[0]].type === "Zone");
|
||||||
that.setHandleScaleEdgeVisible(showOutlineForZone || (!isActiveTool(handleRotatePitchRing) &&
|
that.setHandleScaleEdgeVisible(showOutlineForZone || (!isActiveTool(handleRotatePitchRing) &&
|
||||||
!isActiveTool(handleRotateYawRing) &&
|
!isActiveTool(handleRotateYawRing) &&
|
||||||
!isActiveTool(handleRotateRollRing)));
|
!isActiveTool(handleRotateRollRing)));
|
||||||
|
|
Loading…
Reference in a new issue