Add "Rotate As Next Clicked Surface"

Add "Rotate As Next Clicked Surface"
Add also "Rotate 90 degree on X axis", "Rotate 90 degree on Z axis" and "Rotate 90 degree on Z axis"
This commit is contained in:
Alezia Kurdis 2020-12-24 23:02:57 -05:00 committed by GitHub
parent eeecf4861c
commit c8a0ebdcd6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -383,6 +383,14 @@ EntityListTool = function(shouldUseEditTabletApp) {
SelectionManager.selectTopFamily();
} else if (data.type === 'teleportToEntity') {
SelectionManager.teleportToEntity();
} else if (data.type === 'rotateAsTheNextClickedSurface') {
rotateAsNextClickedSurface();
} else if (data.type === 'quickRotate90x') {
selectionDisplay.rotate90degreeSelection("X");
} else if (data.type === 'quickRotate90y') {
selectionDisplay.rotate90degreeSelection("Y");
} else if (data.type === 'quickRotate90z') {
selectionDisplay.rotate90degreeSelection("Z");
} else if (data.type === 'moveEntitySelectionToAvatar') {
SelectionManager.moveEntitiesSelectionToAvatar();
} else if (data.type === 'loadConfigSetting') {