overte-HifiExperiments/scripts/system
Leander Hasty 74734f35e9 [Case 6491] more uniform grabber tools; more distrust of rotateOverlayTarget.
Rotation tools' onMove methods now use rayPlaneIntersection rather than using the giant invisible rotateOverlayTarget.  It can likely be entirely removed in the next commit.

tool.onBegin's signature is now (event, pickRay, pickResult, ...) -- this allows us to avoid recomputing the ray or intersection when unnecessary.

translateXZTool is now a part of the grabberTools array; addGrabberTool and addStretchTool have been modified to return the tool reference (and not disassemble and reassemble the tools, so they can keep their own local functions and state).  This does make the array potentially less type-uniform, which may (?) undo some javascript optimizations, but allows us to eventually remove some state -- and they're only 1x/frame methods.

We now compute rotationNormal in rotation tool onBegin, rather than having many different normals lying around.

Merged the final branches in mousePressEvent.

Also fixed issue with mode TRANSLATE_XZ test within updateRotationHandles.

Reviewed-by: LaShonda Hopper <lashonda@1stplayable.com>
2017-09-28 15:04:27 -04:00
..
assets Add beeps 2017-06-24 14:26:01 +12:00
commerce Commerce: Tons of Interface changes (#11463) 2017-09-27 14:43:51 -07:00
controllers Merge pull request #11470 from sethalves/fix-grab-vs-trigger 2017-09-27 15:24:37 -07:00
html Merge pull request #11470 from sethalves/fix-grab-vs-trigger 2017-09-27 15:24:37 -07:00
libraries [Case 6491] more uniform grabber tools; more distrust of rotateOverlayTarget. 2017-09-28 15:04:27 -04:00
marketplaces Commerce: Tons of Interface changes (#11463) 2017-09-27 14:43:51 -07:00
particle_explorer Change emitShouldTrail to emitterShouldTrail. 2017-08-18 15:10:58 -07:00
tablet-ui Merge pull request #11427 from ElderOrb/case7723 2017-09-26 22:05:45 -07:00
attachedEntitiesManager.js
audio.js Fix toolbar button activation states 2017-06-26 23:33:32 -07:00
audioMuteOverlay.js update JS with Audio.muted 2017-06-13 16:02:58 -04:00
audioScope.js added icons to the audioScope app 2017-03-10 18:13:35 -08:00
avatarFinderBeacon.js
away.js away.js - works better with sensor scale. 2017-09-05 17:34:35 -07:00
bubble.js Refactoring. 2017-09-08 17:58:16 +01:00
chat.js remove semi-colon 2017-07-31 08:02:18 -07:00
dialTone.js update JS with Audio.muted 2017-06-13 16:02:58 -04:00
directory.js
edit.js fixing entitySelectionTool 2017-09-27 10:52:56 -07:00
fingerPaint.js fixed typo in comments 2017-04-14 14:10:19 -07:00
firstPersonHMD.js
generalSettings.js Revert "Merge from upstream/master" 2017-03-28 17:39:45 -07:00
goto.js Close toolbar windows when scripts are reloaded 2017-03-08 21:44:04 +00:00
help.js a couple logging fixes 2017-08-14 17:34:32 -07:00
hmd.js 7385 - Collect Stats on "Exit VR" button 2017-09-05 21:26:35 +03:00
makeUserConnection.js Tip, Code Writer which comes standard with Windows 10, does enter tabs by default when using the tab key. >=) 2017-09-20 14:59:15 -07:00
menu.js Fix toolbar button activation states 2017-06-26 23:33:32 -07:00
mod.js
nameTag.js Revert "Actually merge from master" 2017-03-24 17:56:48 -07:00
notifications.js code review feedback 2017-09-20 09:21:15 -07:00
pal.js add flag to outline render flags, fix pal.js/edit.js interaction 2017-08-03 07:57:21 -07:00
progress.js fix reference to pending transfer count for progress/stats 2017-05-26 14:37:24 -07:00
snapshot.js Merge branch 'master' into modal_dialogs_async 2017-08-31 20:39:48 +02:00
tablet-goto.js 5830: Go-To menu shows up blank except for address bar 2017-08-23 23:27:02 +03:00
tablet-users.js Revert "Merge from upstream/master" 2017-03-28 17:39:45 -07:00
voxels.js Revert "Actually merge from master" 2017-03-24 17:56:48 -07:00