mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 06:03:26 +02:00
Merge pull request #12520 from elisa-lj11/selection_tool_log_spam
Fixed log spam undefined error
This commit is contained in:
commit
061a189e9f
1 changed files with 3 additions and 2 deletions
|
@ -1323,6 +1323,7 @@ SelectionDisplay = (function() {
|
||||||
isActiveTool(handleStretchYSphere) || isActiveTool(handleStretchZSphere));
|
isActiveTool(handleStretchYSphere) || isActiveTool(handleStretchZSphere));
|
||||||
|
|
||||||
var showOutlineForZone = (SelectionManager.selections.length === 1 &&
|
var showOutlineForZone = (SelectionManager.selections.length === 1 &&
|
||||||
|
typeof SelectionManager.savedProperties[SelectionManager.selections[0]] !== "undefined" &&
|
||||||
SelectionManager.savedProperties[SelectionManager.selections[0]].type === "Zone");
|
SelectionManager.savedProperties[SelectionManager.selections[0]].type === "Zone");
|
||||||
that.setHandleScaleEdgeVisible(showOutlineForZone || (!isActiveTool(handleRotatePitchRing) &&
|
that.setHandleScaleEdgeVisible(showOutlineForZone || (!isActiveTool(handleRotatePitchRing) &&
|
||||||
!isActiveTool(handleRotateYawRing) &&
|
!isActiveTool(handleRotateYawRing) &&
|
||||||
|
|
Loading…
Reference in a new issue