mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-17 10:27:14 +02:00
Merge pull request #12567 from elisa-lj11/RC65-update
Added fixed log spam undefined error to RC65
This commit is contained in:
commit
9294ae0dd2
1 changed files with 3 additions and 2 deletions
|
@ -1322,8 +1322,9 @@ SelectionDisplay = (function() {
|
|||
isActiveTool(handleScaleRTFCube) || isActiveTool(handleStretchXSphere) ||
|
||||
isActiveTool(handleStretchYSphere) || isActiveTool(handleStretchZSphere));
|
||||
|
||||
var showOutlineForZone = (SelectionManager.selections.length === 1 &&
|
||||
SelectionManager.savedProperties[SelectionManager.selections[0]].type === "Zone");
|
||||
var showOutlineForZone = (SelectionManager.selections.length === 1 &&
|
||||
typeof SelectionManager.savedProperties[SelectionManager.selections[0]] !== "undefined" &&
|
||||
SelectionManager.savedProperties[SelectionManager.selections[0]].type === "Zone");
|
||||
that.setHandleScaleEdgeVisible(showOutlineForZone || (!isActiveTool(handleRotatePitchRing) &&
|
||||
!isActiveTool(handleRotateYawRing) &&
|
||||
!isActiveTool(handleRotateRollRing)));
|
||||
|
|
Loading…
Reference in a new issue