Commit graph

9155 commits

Author SHA1 Message Date
Brad Hefta-Gaub
0ec7eae58c fix shapes to property polymorph and persist 2016-05-27 16:59:42 -07:00
howard-stearns
a3f1ece978 Do button mapping in C++ and simplify vive.json accordingly. Vive and
Hydra now use PrimaryThumb and SecondaryThumb. Fix warnings for Neuron.
2016-05-24 16:10:12 -07:00
howard-stearns
6b606759aa Merge branch 'master' of https://github.com/highfidelity/hifi into fix-hand-controllers-after-input-changes 2016-05-24 11:31:20 -07:00
Brad Hefta-Gaub
b8b39b962d Merge pull request #7868 from jherico/entity_shape
Add a generic shape primitive
2016-05-24 08:40:58 -07:00
Brad Hefta-Gaub
49ded9c4df Merge pull request #7873 from ctrlaltdavid/20917
restyle file browser
2016-05-24 08:40:38 -07:00
David Rowe
3391430f0a Tidy zone flying and ghosting entities editor options
Move options to top of section from under "skybox" subsection
Fix capitalization of labels
2016-05-24 20:28:49 +12:00
howard-stearns
fdcd667d3c Fix hand controller pointer after input changes. 2016-05-23 13:33:42 -07:00
David Rowe
504516b627 Merge branch 'master' into 20917 2016-05-24 08:03:54 +12:00
Brad Davis
2c703e963c More shapes 2016-05-22 19:48:59 -07:00
Brad Davis
cd1e910844 Add a generic shape primitive 2016-05-21 23:46:44 -07:00
Brad Hefta-Gaub
567f7f4b77 Merge pull request #7953 from ctrlaltdavid/20929
fix not being able to teleport to user when users window moved right
2016-05-21 09:25:07 -07:00
David Rowe
a294170c74 Fix not being able to teleport to user when users window moved right 2016-05-21 15:50:06 +12:00
Seth Alves
f91a2403be merge from upstream 2016-05-20 17:07:34 -07:00
Brad Hefta-Gaub
18613908df Merge pull request #7800 from sethalves/no-fly-zones
No fly zones
2016-05-20 16:59:55 -07:00
Brad Hefta-Gaub
5906f88226 Merge pull request #7952 from sethalves/fix-walking-far-grab
fix distance-grabbing and walking at the same time
2016-05-20 16:54:52 -07:00
Seth Alves
a24d63a39c make distance-grab work better when avatar is walking 2016-05-20 15:45:00 -07:00
Chris Collins
8dbc6af719 Merge pull request #7944 from Atlante45/fix/edit-js
fix edit.js to handle userData that's not in JSON
2016-05-20 15:14:13 -07:00
Seth Alves
ff36b39067 Merge branch 'master' of github.com:highfidelity/hifi into avatar-entities-3 2016-05-20 14:38:53 -07:00
howard-stearns
c299aef8f2 fix 588, 558 2016-05-20 12:15:30 -07:00
Atlante45
0353e562e4 entityProperties.html handles non object userData 2016-05-20 10:18:32 -07:00
David Rowe
17b3101ca5 Merge branch 'master' into 20917 2016-05-20 18:50:01 +12:00
Brad Hefta-Gaub
8ff7af28be Merge pull request #7925 from sethalves/overlay-or-grab-not-both
fix mouse-grab moving both an overlay and an entity at the same time
2016-05-19 17:38:32 -07:00
Seth Alves
74520f5c92 Merge branch 'master' of github.com:highfidelity/hifi into no-fly-zones 2016-05-19 09:49:44 -07:00
Seth Alves
419c744bd4 Merge branch 'master' of github.com:highfidelity/hifi into avatar-entities-3 2016-05-19 09:49:18 -07:00
Brad Hefta-Gaub
53956c8210 reduce log spam 2016-05-19 07:50:06 -07:00
Seth Alves
b4df7cada7 don't mouse-grab things through an overlay 2016-05-18 16:16:31 -07:00
samcake
2cc425e256 Merge branch 'master' of https://github.com/highfidelity/hifi into orange 2016-05-18 15:34:05 -07:00
Brad Davis
e431fd3d65 Merge pull request #7921 from howard-stearns/turn-off-hand-controller-pointer-when-no-focus
turn off hand-controller pointer when Interface doesn't have focus
2016-05-18 14:45:35 -07:00
howard-stearns
fa90d823d5 Turn off hand-controller pointer when Interface doesn't have focus. 2016-05-18 11:49:12 -07:00
Brad Hefta-Gaub
52445115dd Merge pull request #7906 from howard-stearns/improve-hand-controller-edit
improve hand-controller edit
2016-05-18 11:35:00 -07:00
Brad Hefta-Gaub
9a3b6bf081 Merge pull request #7858 from Atlante45/remove-deprecated-entity-props
removed dead code for overlays/entities glow level
2016-05-18 09:14:26 -07:00
Seth Alves
3380b2a668 Merge branch 'master' of github.com:highfidelity/hifi into avatar-entities-3 2016-05-17 19:10:33 -07:00
David Rowe
e1d885004f Fix carat in drop-down boxes 2016-05-18 13:59:13 +12:00
David Rowe
17d41dd7b9 HiFi glyphs font file update with fixed up/down carats
Update QML and HTML spinboxes accordingly.
2016-05-18 13:25:11 +12:00
samcake
c627a555bf Merge branch 'master' of https://github.com/highfidelity/hifi into orange 2016-05-16 16:27:51 -07:00
Atlante45
4b1497fdf4 Remove dead code highlight entity in edit.js 2016-05-16 16:25:40 -07:00
howard-stearns
3f17852244 Merge branch 'master' of https://github.com/highfidelity/hifi into improve-hand-controller-edit 2016-05-16 12:35:48 -07:00
howard-stearns
acb56d0603 Larger edit handles, and more tolerance in click (vs drag). 2016-05-16 12:35:05 -07:00
Seth Alves
a0c3224705 Merge branch 'master' of github.com:highfidelity/hifi into no-fly-zones 2016-05-16 10:56:09 -07:00
Brad Hefta-Gaub
cf59fa8a46 Merge pull request #7885 from ctrlaltdavid/20918
make users.js movable
2016-05-16 10:16:32 -07:00
Seth Alves
880b52aad2 update attachedEntitiesManager to work better with avatarEntities 2016-05-16 09:52:48 -07:00
Seth Alves
3876a8037c Merge branch 'master' of github.com:highfidelity/hifi into avatar-entities-3 2016-05-16 09:51:20 -07:00
Atlante45
5acbed647c Remove glowLevel references in scripts 2016-05-14 14:49:31 -07:00
Brad Hefta-Gaub
87aa90de08 Merge pull request #7878 from howard-stearns/vive-buttons-out-of-pause
More buttons to get out of away/pause.
2016-05-14 09:12:16 -07:00
David Rowe
33e2cde266 Change default position to be bottom left of HMD recommended rectangle 2016-05-14 12:08:19 +12:00
David Rowe
ccd821118e Merge branch 'master' into 20918 2016-05-14 11:21:04 +12:00
Brad Hefta-Gaub
987b3483a8 Merge pull request #7876 from sethalves/fix-grab-fixes
fix grab-fixes
2016-05-13 15:26:31 -07:00
Seth Alves
efe02c0fa1 make lock/unlock button easier to see 2016-05-13 10:57:41 -07:00
Seth Alves
eb19c5be13 Merge branch 'master' of github.com:highfidelity/hifi into avatar-entities-3 2016-05-13 07:04:58 -07:00
David Rowe
1928f51b3e Restore window position at script start 2016-05-13 13:56:31 +12:00
David Rowe
ec74cb4aec Maintain offset of bottom with nearest display edge if Interface resized 2016-05-13 13:22:03 +12:00
David Rowe
8445c9fbc7 Update max window height before it scrolls, according to its position 2016-05-13 13:08:45 +12:00
David Rowe
93ead174aa Click and drag border to move users window 2016-05-13 12:51:39 +12:00
David Rowe
54d658798a Add border overlay 2016-05-13 11:22:10 +12:00
howard-stearns
41dc9a23a8 More buttons to get out of away/pause. 2016-05-12 15:41:15 -07:00
David Rowe
991f7fe873 Fix up syntax per JSLint 2016-05-13 10:20:50 +12:00
Brad Davis
85272a87ba Merge pull request #7859 from samcake/lemon
Introduce the "Unlit" shading model support and apply it to Web Enitities
2016-05-12 15:09:50 -07:00
Seth Alves
009c288745 revert a change from previous fixes -- non-dynamic things should have to opt-into being grabbable. dynamic things have to opt-out 2016-05-12 13:29:40 -07:00
Seth Alves
c9c619916c Merge branch 'master' of github.com:highfidelity/hifi into no-fly-zones 2016-05-11 19:37:57 -07:00
Seth Alves
fcd2e45d67 merge from upstream 2016-05-11 18:45:32 -07:00
samcake
c6a081fb46 Merge branch 'master' of https://github.com/highfidelity/hifi into orange 2016-05-11 16:56:37 -07:00
Seth Alves
032fbd9a55 taking something off now makes it an entity-server-aware entity 2016-05-11 16:41:00 -07:00
Brad Davis
ba357721bf Merge pull request #7864 from hyperlogic/tony/vive-controller-improvements
Fix for vive controllers sometimes not working
2016-05-11 14:32:33 -07:00
Seth Alves
73c06b3bf4 updating attachedEntitiesManager to work with new system 2016-05-11 14:13:08 -07:00
Anthony J. Thibault
95ef543f25 viveTouchpadTest.js: don't throw if there is no Vive controller attached. 2016-05-11 13:35:17 -07:00
samcake
99dcfef5a8 Merge branch 'master' of https://github.com/highfidelity/hifi into lemon 2016-05-11 10:47:38 -07:00
Anthony J. Thibault
09a4e0eaa8 Fix for vive controllers sometimes not working
* Fixed bug with input devices that where added, removed then re-added.
  The default mappings were being ignored on the second add.
* Fixed potential crash when hardware inputPlugin device poses were polled from the JavaScript thread
  by taking the UserInputManager lock during pluginUpdate.
* Renamed Controller.Hardware.Vive.LB & RB to LeftGrip and RightGrip, to better match Oculus touch.
* Updated resource/controller/vive.json to reflect this new mapping.
* Exposed touch pad capacitive touch events to JavaScript as
  Controller.Hardware.Vive.LSTouch and RSTouch.
* Added viveTouchpadTest.js script to test LSTouch and RSTouch events.
2016-05-10 19:32:08 -07:00
Brad Hefta-Gaub
757eea16a6 Merge pull request #7809 from howard-stearns/hand-controller-pointer
Hand controller pointer
2016-05-10 16:37:26 -07:00
samcake
303cade547 Merge branch 'master' of https://github.com/highfidelity/hifi into lemon 2016-05-10 09:56:05 -07:00
Howard Stearns
64dc31cd61 switch statement whitespace 2016-05-10 09:43:00 -07:00
Howard Stearns
2b3f6506b7 more whitespace 2016-05-10 09:38:39 -07:00
Brad Hefta-Gaub
6f84268593 Merge pull request #7850 from sethalves/nbody-example
Philip's gravity example
2016-05-10 07:48:25 -07:00
Andrew Meadows
ffc3123467 Merge pull request #7658 from sethalves/grab-fixes
Grab fixes
2016-05-09 15:30:37 -07:00
Seth Alves
9fe827a93b d'oh 2016-05-09 15:28:25 -07:00
Brad Hefta-Gaub
22081a8606 Merge pull request #7833 from zzmp/fix/scriptable-resource
Fix prefetching
2016-05-09 15:09:20 -07:00
Seth Alves
7ab52b8869 don't check fbx files into sourc 2016-05-09 14:58:26 -07:00
Seth Alves
ced7a56e39 Philip's gravity example 2016-05-09 14:43:24 -07:00
howard-stearns
9edd18c017 Fix mouse seek bugs. 2016-05-09 14:05:59 -07:00
howard-stearns
6f4204ca5b Remove alert for route remapping on hardware change. 2016-05-09 11:41:00 -07:00
samcake
0bfad4a549 Merge branch 'master' of https://github.com/highfidelity/hifi into lemon 2016-05-09 11:33:47 -07:00
howard-stearns
3f3233da66 Merge branch 'master' of https://github.com/highfidelity/hifi into hand-controller-pointer 2016-05-09 09:26:28 -07:00
samcake
a8347cac6e Getting the unlit to work from the pipeline, and found the isLinear for texture bug! 2016-05-06 18:36:55 -07:00
Zach Pomerantz
0fbbbaa985 Add tex loadPerfTest.js 2016-05-06 15:08:45 -07:00
Zach Pomerantz
eee487723c Fix headers of scriptableResource tests 2016-05-06 15:08:44 -07:00
Zach Pomerantz
83fad4c52f Fix equalities in scriptableResource tests 2016-05-06 15:08:44 -07:00
James B. Pollack
97e1621776 increase width 2016-05-05 15:02:16 -07:00
James B. Pollack
d1755649b1 order 2016-05-05 14:55:41 -07:00
James B. Pollack
67b1015f4a re add users to default, default to visible friends only 2016-05-05 14:54:04 -07:00
Seth Alves
9db839bc13 don't allow someone else to delete an action that I own. reset dynamic property when releasing and entity, even if refCount isn't 0 2016-05-04 15:01:00 -07:00
Seth Alves
44beca1687 try having all spring derived actions agree on a target 2016-05-04 11:29:17 -07:00
howard-stearns
fdf9c0a217 Fix offset so that non-full-size window can be located anywhere on screen. 2016-05-03 16:26:45 -07:00
howard-stearns
eb0517f3cd fix updateSeeking 2016-05-03 14:36:52 -07:00
Seth Alves
6f395cd97a Merge branch 'master' of github.com:highfidelity/hifi into grab-fixes 2016-05-03 14:36:33 -07:00
howard-stearns
adb11c9266 Merge branch 'master' of https://github.com/highfidelity/hifi into hand-controller-pointer 2016-05-03 14:03:10 -07:00
Howard Stearns
5bd77bf343 Matching "final" version of test script. 2016-05-03 13:23:04 -07:00
Brad Hefta-Gaub
d2889dbda4 Merge pull request #7804 from imgntn/diceFix2
Move Dice GUI
2016-05-03 13:05:46 -07:00
Seth Alves
99ffb6b79d Merge branch 'master' of github.com:highfidelity/hifi into grab-fixes 2016-05-03 10:29:41 -07:00
Howard Stearns
773770a7fc All but origin-correction. 2016-05-03 07:01:23 -07:00
Brad Hefta-Gaub
49d02b802a Merge pull request #7719 from zzmp/feat/resource-prefetch
Add prefetching to exposed caches
2016-05-02 18:04:26 -07:00
James B. Pollack
a9ab531e27 clear up toolbar name 2016-05-02 17:01:44 -07:00
James B. Pollack
e971da7dcb move dice GUI 2016-05-02 16:54:32 -07:00
Seth Alves
5fd871d640 Merge branch 'master' of github.com:highfidelity/hifi into no-fly-zones 2016-05-02 10:28:53 -07:00
Brad Hefta-Gaub
44fb572248 Merge pull request #7775 from ctrlaltdavid/20896
Use UI Toolkit border styles for various dialogs
2016-05-02 10:11:29 -07:00
Zach Pomerantz
29e0744b89 Fix equality in scriptableResource/lib 2016-05-02 09:40:08 -07:00
Seth Alves
ec554c3c0b Merge branch 'master' of github.com:highfidelity/hifi into grab-fixes 2016-05-01 17:28:20 -07:00
Seth Alves
0fe4e42511 added zone properties to allow flying/ghosting or not 2016-05-01 13:53:44 -07:00
Eric Levin
f1de590835 updated script 2016-04-30 14:45:28 -07:00
James B. Pollack
fc82780512 move toolbars to production 2016-04-29 11:04:04 -07:00
James B. Pollack
e61f8524c1 update dice path 2016-04-29 11:01:19 -07:00
Brad Hefta-Gaub
647ec69aaf Merge pull request #7789 from imgntn/movetemplates
Move developer templates into a different location
2016-04-28 17:02:42 -07:00
Brad Hefta-Gaub
e881cba502 Merge pull request #7777 from ctrlaltdavid/20897
Move directory, examples, and edit toolbar buttons down a bit
2016-04-28 17:00:49 -07:00
Brad Hefta-Gaub
5314755e0d Merge pull request #7782 from ctrlaltdavid/20898
Automatically upgrade toolbar position to bottom center of window
2016-04-28 16:37:34 -07:00
Brad Hefta-Gaub
6488744bd5 Merge pull request #7780 from imgntn/defaultScripts
Remove directory.js from default scripts
2016-04-28 16:28:33 -07:00
James B. Pollack
851f9b0914 move dev templates into a dif location 2016-04-28 16:23:32 -07:00
James B. Pollack
e68909ce3e re add local paths 2016-04-28 13:48:09 -07:00
James B. Pollack
aafed4e1b8 fix horizontal typo in examples 2016-04-28 13:42:10 -07:00
James B. Pollack
b52406e127 horizontal 2016-04-28 13:40:58 -07:00
James B. Pollack
795d866da9 re add locking/visibility tools to edit.js 2016-04-28 13:29:54 -07:00
David Rowe
1cf53829d3 Fix upgrading for all toolbar buttons 2016-04-29 08:20:20 +12:00
David Rowe
b7188bad30 Automatically upgrade toolbar position to bottom center of window 2016-04-29 07:13:56 +12:00
James B. Pollack
90c59c5af0 remove directory from default 2016-04-28 10:39:53 -07:00
Zach Pomerantz
1e8d45aecb Put ScriptableResource state enum in prototype 2016-04-27 19:20:43 -07:00
Zach Pomerantz
0c78d5bdd1 Change ScriptableResource signal to state 2016-04-27 19:20:42 -07:00
Zach Pomerantz
c2909946e6 Split test to prefetch, movie 2016-04-27 19:20:33 -07:00
David Rowe
eee3cedd95 Fix typo 2016-04-28 12:55:41 +12:00
David Rowe
26e8e22b8b Move directory, examples, and edit toolbar buttons down
Moved down as far as they can go within the getRecommendedOverlayRect(),
i.e., there's a 50px margin.
2016-04-28 12:23:47 +12:00
David Rowe
9ecffd626e Capitalize title of directory window from "directory" to "Directory" 2016-04-28 09:01:03 +12:00
Zach Pomerantz
bc8a171fde Merge branch 'master' of github.com:highfidelity/hifi into feat/resource-prefetch 2016-04-27 11:55:24 -07:00
James B. Pollack
92f61dc86f prepend /system to default scripts 2016-04-27 00:44:04 -07:00
James B. Pollack
6c16e8c6c7 rename default scripts 2016-04-27 00:43:30 -07:00
James B. Pollack
afb2342781 Merge remote-tracking branch 'upstream/master' into defaultScripts 2016-04-26 16:16:56 -07:00
James B. Pollack
cd59c462d1 users and voxel fixes 2016-04-26 15:34:24 -07:00
James B. Pollack
db197b5014 fix users 2016-04-26 14:50:19 -07:00
James B. Pollack
06171f6063 move default to system 2016-04-26 14:47:02 -07:00
James B. Pollack
251769a0b9 put toolbar.js at latest 2016-04-26 14:35:39 -07:00
James B. Pollack
5cb88b957c update paths for users and voxels 2016-04-26 14:35:24 -07:00
James B. Pollack
2f069b4051 sort out voxel pics 2016-04-26 14:09:22 -07:00
James B. Pollack
8d506f6242 new voxel pic 2016-04-26 14:04:57 -07:00
James B. Pollack
db00df8020 update butterflies url to production 2016-04-26 13:26:34 -07:00
James B. Pollack
4431d869e7 move butterflies.js to tutorials at freidricas request 2016-04-26 13:25:43 -07:00
James B. Pollack
927ac60a8c add images for voxels 2016-04-26 13:24:22 -07:00
Andrew Meadows
e158ea9d92 update asset urls in users.js 2016-04-26 11:41:39 -07:00
Andrew Meadows
e87b06657c remove whitespace and fix formatting 2016-04-26 11:24:38 -07:00
Andrew Meadows
e436c355a1 get viewport dimensions from controller 2016-04-26 11:23:29 -07:00
Andrew Meadows
8a02a585f2 use array of colors 2016-04-26 11:23:05 -07:00
Andrew Meadows
6e28538063 support toggling locked and visible properties 2016-04-26 11:22:45 -07:00
Andrew Meadows
39a1b9e75d update script/tutorials 2016-04-26 11:21:56 -07:00
Andrew Meadows
3a9cde8510 use local paths rather than remote URLs 2016-04-26 11:21:11 -07:00
Andrew Meadows
9556995f2f move users.js and voxels.js 2016-04-26 11:15:21 -07:00
Andrew Meadows
50117e2ff4 add some new tutorial JS files 2016-04-25 17:53:10 -07:00
Andrew Meadows
3a2cb37ce2 move and rename some JS files 2016-04-25 17:50:35 -07:00
Andrew Meadows
e32fface93 add some local assets 2016-04-25 17:46:02 -07:00
Andrew Meadows
4630bdea58 move from examples/ to scripts/templates/ 2016-04-25 17:38:34 -07:00
Andrew Meadows
0cc12fdaa6 move from examples/ to scripts/developer/ 2016-04-25 17:36:35 -07:00
Andrew Meadows
582b20227a move from examples/ to scripts/default/ 2016-04-25 17:35:27 -07:00