Commit graph

8756 commits

Author SHA1 Message Date
Alezia Kurdis
889b74dd04
Create App "tools" menu implementation
Create App "tools" menu implementation
2020-11-30 00:37:48 -05:00
Alezia Kurdis
7d364add66
Create App "tools" menu implementation
Create App "tools" menu implementation
2020-11-30 00:37:18 -05:00
Alezia Kurdis
21eee3c24e
Create App "tools" menu implementation
Create App "tools" menu implementation
2020-11-30 00:36:15 -05:00
Alezia Kurdis
ab999e529d
Create App "tools" menu implementation
Create App "tools" menu implementation
2020-11-30 00:35:15 -05:00
Alezia Kurdis
af9367ae29
Create App "tools" menu implementation
Create App "tools" menu implementation
2020-11-30 00:34:09 -05:00
kasenvr
60e59abe47
Merge pull request #874 from AleziaKurdis/CreateApp_Issue869
Fix new Zones appearing as parent of a ghost child
2020-11-28 14:19:07 -05:00
Alezia Kurdis
343ded8c6f
Minor code adjustments
Minor code adjustments
2020-11-21 22:02:49 -05:00
Alezia Kurdis
b633bc4a16
Excluding EntityShapeVisualizer from Children list
Excluding EntityShapeVisualizer from Children list
Now a name is given to the EntityShape of the EntityShapeVisualizer (used to display the zone)
so we can now exclude them from the children list when it's time to figure if there are children for an entity.
(This is a better approach than excluding al the local entities)
The name has been used because it gives better results than trying to use the id map that arrive always too late.
The name is unique for a session, it includes a UUID.
2020-11-21 15:44:15 -05:00
Alezia Kurdis
00575ae8f8
Excluding EntityShapeVisualizer from Children list
Excluding EntityShapeVisualizer from Children list
Now a name is given to the EntityShape of the EntityShapeVisualizer (used to display the zone)
so we can now exclude them from the children list when it's time to figure if there are children for an entity.
(This is a better approach than excluding al the local entities)
The name has been used because it gives better results than trying to use the id map that arrive always too late.
The name is unique for a session, it includes a UUID.
2020-11-21 15:43:12 -05:00
Alezia Kurdis
22abf1c2c4
Fix for Issue 869
This excludes the local and avatar entities from what is returns by Entities.getChildrenIDs
to avoid the selection tools of the Zone entities to be considered as Children of it.
This was necessary for the display of the hierarchy status, but also for the "Add Children to Selection".
2020-11-18 23:15:23 -05:00
Alezia Kurdis
031b3985b0
Fix for Issue 869
This excludes the local and avatar entities from what is returns by Entities.getChildrenIDs
to avoid the selection tools of the Zone entities to be considered as Children of it.
This was necessary for the display of the hierarchy status, but also for the "Add Children to Selection".
2020-11-18 23:14:34 -05:00
HifiExperiments
02f7f494fa Merge remote-tracking branch 'upstream/master' into gha 2020-11-16 21:48:46 -08:00
Alezia Kurdis
da2737de53
Minor Code Adjustements
Minor Code Adjustements
2020-11-14 22:39:47 -05:00
Alezia Kurdis
2475deac93
Minor code adjustments
Minor code adjustments
2020-11-14 22:36:28 -05:00
Alezia Kurdis
33eb01a6c7
Minor code adjustments
Minor code adjustments
2020-11-14 22:33:38 -05:00
Alezia Kurdis
e0cac2b95c
Clean up of the Edit Menu
The Create App. Menu Items under the “Edit” menu have been cleaned up.
All the actions being transferred has been removed. (some was not even decently usable from there)
A new sub-menu “Create Application – Preferences” has been implemented to regroup the remaining menu items that are all User Preferences. 

Eventually in the future, these might be moved to the Create App. UI. For now, it will be OK, it's already cleaner.
2020-11-12 23:52:24 -05:00
Alezia Kurdis
636d52b306
Add “Import Entities (.json) from a URL”
The action “Import Entities (.json) from a URL” has been added to the “Create” Tab. (It was available only in the Edit menu.)
2020-11-12 23:48:15 -05:00
Alezia Kurdis
7bec7cbaa1
User Preference: Entity List Default Radius
Add a new User Preference for the Default value of the Entity List Radius. This is available in the Edit menu. If changed, this value will be used as default Radius for the next time the script will be loaded.
2020-11-11 23:43:49 -05:00
Alezia Kurdis
f22c7be72e
User Preference: Entity List Default Radius
Add a new User Preference for the Default value of the Entity List Radius. This is available in the Edit menu. If changed, this value will be used as default Radius for the next time the script will be loaded.
2020-11-11 23:42:29 -05:00
Alezia Kurdis
428db065b5
User Preference: Entity List Default Radius
Add a new User Preference for the Default value of the Entity List Radius. This is available in the Edit menu. If changed, this value will be used as default Radius for the next time the script will be loaded.
2020-11-11 23:41:31 -05:00
Alezia Kurdis
38e15b6208
Bug fix: CTRL-Click was inverting the selection.
Bug fix: EntityList, CTRL-Click was adding the last selected entity as the first selection the selection stack. The first selected item was systematically the last item of the selection. This was causing unpredictable results with "Parent Entities To The Last Selected". (This bug becomes evident by highlighting the "Last Selected" in the entity list.
2020-11-10 22:51:32 -05:00
Alezia Kurdis
1167ce7a1c
"Teleport To Selected Entities" back to Selection
This returns "Teleport To Selected Entities" back to the "Selection..." menu.
After having tried a certain time what was suggested (having it under "Actions..." menu)
This is clearly easy to confuse it with "Move Selected Entities to Avatar"
"Teleport To Selected Entities" is about position your-self to see what you have "Selected" (which make this a Selection Tools or an assistant to it)
while "Move Selected Entities to Avatar" is clearly an action. as it moves the entities to a new position.
2020-11-10 21:56:44 -05:00
Alezia Kurdis
fb516cf13c
Highlight the last selected entity in the List
The last selected entity is now displayed in darker blue in the list (if present per radius search)
This makes clear which entity could become the parent.

(This enlights some weird behavior with the Selection, making this hazardous to figure which one was the true last selected entity. To be addressed later, it's already better now.)
2020-11-10 00:01:15 -05:00
Alezia Kurdis
9c48acf1d3
Add style for last-selected
Add style for last-selected
2020-11-09 23:54:39 -05:00
Alezia Kurdis
fc40a401d7
Selection and Actions menu close with the window
Bug fixed: 
The "Selection" and "Actions" menu now close when we close the Entity list window or the Create App.
2020-11-09 22:37:33 -05:00
HifiExperiments
92c9f6b657 Merge remote-tracking branch 'upstream/master' into gha 2020-11-09 19:17:23 -08:00
Alezia Kurdis
44db0bb866
Add selection color Parent & Child entities
Add in-world selection color for entities that are Parent & Child at the same time.
When 1 entity is selected (in-world):
if the entity is a Top Parent, the selection color of the bounding box is Orange.
if the entity is Parent and Child, the selection color of the bounding box is Majenta.
if the entity is only a Child, then the selection color of the bounding box is Cyan.
If not involved in any parent line, or if the selection is multiple, then the selection color of the bounding box is Light Grey.
2020-11-09 22:02:42 -05:00
Alezia Kurdis
233d68952a
Add the persistence of the columns setup
Add the persistence of the columns' visibility and ordering.
2020-11-09 00:35:13 -05:00
Alezia Kurdis
f3dea2fbad
Add the persistence of the columns setup
Add the persistence of the columns' visibility and ordering.
2020-11-09 00:34:07 -05:00
Alezia Kurdis
c573242043
Add Setting name to persist the columns setup
Add a Setting name to persist the columns' visibility and ordering.
2020-11-09 00:31:48 -05:00
Alezia Kurdis
ac46e9a492
Remove uppercase from Create App List header
Remove uppercase from Create App List header
The columns headers were forced to be displayed in uppercase
This was causing the wrong icon to be displayed for some columns like "script".
Uppercase wasn't necessary, the header was looking overloaded when many columns are displayed.
2020-11-09 00:28:54 -05:00
Alezia Kurdis
dcb1493eaf
Rename "Select Family"
This renames:
"Select Family" for "Select Parent And All Its Children"
"Select Top Family" for "Select Top Parent And All Its Children"
2020-11-05 21:49:22 -05:00
Alezia Kurdis
1cf0e2c00a
"Teleport to Selected Entities" to Actions menu
This moves "Teleport to Selected Entities" from "Selection" to "Actions" menu.
2020-11-04 23:23:29 -05:00
Alezia Kurdis
b793378830
Undo-redo for "Move Selected Entities to Avatar"
This adds the undo/redo to the action "Move Selected Entities to Avatar".
The action is now recorded in the undo history.
2020-11-04 23:12:04 -05:00
HifiExperiments
cec0b41042
Apply suggestions from code review
Co-authored-by: kasenvr <52365539+kasenvr@users.noreply.github.com>
2020-10-30 16:41:59 -07:00
Alezia Kurdis
1e51df0843
Minor adjustments
Minor adjustments
2020-10-25 14:25:19 -04:00
Alezia Kurdis
a264fc358e
Expose 2 new columns: Creation and Modif. Date
Expose 2 new optional columns: 
- Creation Date
- Modification Date

To address Issue #673
2020-10-25 00:00:44 -04:00
Alezia Kurdis
7c4115c4cf
Expose 2 new columns: Creation and Modification Date
Expose 2 new optional columns: 
- Creation Date
- Modification Date
To address Issue #673
2020-10-24 23:59:26 -04:00
Alezia Kurdis
8cc9c19b40
Set the shortkey CTRL-A and CTRL-I only
Set the shortkeys for Select All and Inverse Selection to respond to CTRL-A and CTRL-I only.
(Previously it was also responding to Ctrl-Shift-A, Ctrl-Alt-A, Ctrl-Shift-Alt-A and Ctrl-Shift-I, Ctrl-Alt-I, Ctrl-Shift-Alt-I)
2020-10-24 22:37:35 -04:00
Alezia Kurdis
bcebf36261
Minor Code Adjustments
Minor Code Adjustments
2020-10-24 13:19:09 -04:00
Alezia Kurdis
15924f9547
Adjust a button caption
Adjust a button caption
2020-10-23 23:48:06 -04:00
Alezia Kurdis
a68590e68a
Add Parent-Children Selector group
Add Parent-Children Selector group
"Inverse Selection" is now responding to Ctrl-I
Code Adjustments
2020-10-23 23:26:34 -04:00
Alezia Kurdis
bfc216ab00
Add Parent-Children Selector group
Add Parent-Children Selector group
"Inverse Selection" is now responding to Ctrl-I
Code Adjustments
2020-10-23 23:25:51 -04:00
Alezia Kurdis
ba371613ba
Add Parent-Children Selector group
Add Parent-Children Selector group
Prevent action to happen when some entities are Locked in the Selection 
Code Adjustments
2020-10-23 23:24:06 -04:00
Alezia Kurdis
6da472b7e3
Add Parent-Children Selector group
Add Parent-Children Selector group
Prevent action to happen when some entities are Locked in the Selection 
Code Adjustments
2020-10-23 23:22:37 -04:00
Alezia Kurdis
5b0a00a81a
Add Parent-Children Selector group
Add Parent-Children Selector group
Prevent action to happen when some entities are Locked in the Selection 
Code Adjustments
2020-10-23 23:21:32 -04:00
Alezia Kurdis
6f6e41658c
Code Adjustments
Code Adjustments
2020-10-23 23:17:22 -04:00
Alezia Kurdis
8baebbdd16
Add Hierarchy display in List and Selection
Add Hierarchy display in List and Selection
2020-10-21 00:50:28 -04:00
Alezia Kurdis
cfec2c492b
Add Hierarchy display in List and Selection
Add Hierarchy display in List and Selection
2020-10-21 00:48:49 -04:00
Alezia Kurdis
48bd101d08
Add Hierarchy display in List and Selection
Add Hierarchy display in List and Selection
2020-10-21 00:47:55 -04:00
Alezia Kurdis
8afa978122
Add Hierarchy display in List and Selection
Add Hierarchy display in List and Selection
2020-10-21 00:47:10 -04:00
Alezia Kurdis
fdae7877e1
Add Hierarchy display in List and Selection
Add Hierarchy display in List and Selection
2020-10-21 00:46:15 -04:00
Alezia Kurdis
edb4e4dcaa
Actions and Selection button adjustment
Actions and Selection button adjustment
2020-10-20 00:44:49 -04:00
Alezia Kurdis
5322e52990
Add "Move Selected Entity To Avatar"
Add "Move Selected Entity To Avatar"
2020-10-20 00:18:04 -04:00
Alezia Kurdis
5924a65eeb
Add "Move Selected Entity To Avatar"
Add "Move Selected Entity To Avatar"
2020-10-20 00:17:11 -04:00
Alezia Kurdis
6d7d9a3dde
Add "Move Selected Entity To Avatar"
Add "Move Selected Entity To Avatar"
2020-10-20 00:16:38 -04:00
Alezia Kurdis
c3719a7538
Add "Move Selected Entity To Avatar"
Add "Move Selected Entity To Avatar"
2020-10-20 00:15:40 -04:00
Alezia Kurdis
1aa09f59c3
Increase the precison of Angular Velocity
Increase the precison of Angular Velocity
to make more comfortable the Issue #798 Angular Velocity can't go below 0.4 something (round to 0.5)
But this won't solve the trouble.
For this it would require a fixed for issue #76 Rotations that are transmitted over server lose precision
2020-10-18 23:34:36 -04:00
Alezia Kurdis
d0de5154fe
Fix for Issue #711
Fix for Issue:
#711 Add error dialogue if an unsupported filetype is added as a model URL in the create app.

As agreed, the label "Model URL" will indicate now: "Model URL (.fbx, .fst, .glb, .gltf, .obj, .gz)"

The list of file type has been set in Italic. 
And the label for Material dialog has been adjust to have the same standard "(Optional)" is also in italic.
2020-10-18 23:22:17 -04:00
Alezia Kurdis
4c74d5a630
Add support for teleportToEntity
Add support for teleportToEntity
2020-10-18 23:01:55 -04:00
Alezia Kurdis
943ae9aa4c
Add support for teleportToEntity
Add support for teleportToEntity
2020-10-18 23:01:10 -04:00
Alezia Kurdis
8c94d20177
Add support for teleportToEntity
Add support for teleportToEntity
2020-10-18 23:00:31 -04:00
Alezia Kurdis
3241ea7c1f
Add support for teleportToEntity
Add support for teleportToEntity
2020-10-18 22:59:08 -04:00
Alezia Kurdis
9004251bcf
Add "Actions" and "Selection" menu
Add "Actions" and "Selection" menu in the Create App. (HMD/Desktop compliant)
2020-10-18 21:59:14 -04:00
Alezia Kurdis
bd4b9d5d45
Add "Actions" and "Selection" menu
Add "Actions" and "Selection" menu in the Create App. (HMD/Desktop compliant)
2020-10-18 21:58:21 -04:00
Alezia Kurdis
426df39e1d
Add "Actions" and "Selection" menu
Add "Actions" and "Selection" menu in the Create App. (HMD/Desktop compliant)
2020-10-18 21:57:13 -04:00
Alezia Kurdis
2837b648fe
Add CSS for Actions and Selection menu
Add CSS for "Actions" and "Selection" menu in the Create App. (HMD/Desktop compliant)
2020-10-18 21:55:34 -04:00
kasenvr
bfd45a0d53
Merge pull request #760 from AleziaKurdis/754_CreateApp_HMD_Improvments
Create App: HMD missing functionalities
2020-10-16 02:06:00 -04:00
kasenvr
2b3b3fb88f
Merge pull request #788 from kasenvr/fix/hifi-production-migration
Update hifi-production links
2020-10-15 17:17:36 -04:00
kasenvr
a934082bfc
Merge pull request #805 from kasenvr/feature/onboarding-experience
First run script.
2020-10-15 17:13:47 -04:00
David Rowe
9431426f86 Update comments in Explore app header 2020-10-14 21:05:05 +13:00
David Rowe
728acd5ed5 Relable add location "name" field 2020-10-14 21:04:39 +13:00
kasenvr
2777854e73
Update scripts/system/onFirstRun.js
Co-authored-by: David Rowe <david@ctrlaltstudio.com>
2020-10-13 15:51:52 -04:00
kasenvr
4dd1026e1f
Update onFirstRun.js 2020-10-13 04:59:49 -04:00
kasenvr
6442055600
Apply suggestions from code review
Co-authored-by: David Rowe <david@ctrlaltstudio.com>
2020-10-13 04:59:04 -04:00
kasenvr
58cfb75d41
Update onFirstRun.js 2020-10-12 18:03:21 -04:00
kasenvr
4154e16f77
Update onFirstRun.js 2020-10-12 16:46:46 -04:00
Alezia Kurdis
adf6652e24
Put "Cut" before Copy" to be standard
Put "Cut" before Copy" to be standard
2020-10-09 22:14:53 -04:00
kasenvr
89c006d190
Merge pull request #737 from AleziaKurdis/721_entitySelectionTool_to_local_Entities
Replacement of 3D Overlays for Local Entities
2020-10-08 22:49:17 -04:00
Kalila L
46ddde0bd6 hifi-production tutorials -> vircadia-content 2020-10-07 19:42:51 -04:00
Alezia Kurdis
37d694afa0
Minor Code Adjustments
Minor Code Adjustments
2020-10-06 22:05:39 -04:00
Alezia Kurdis
7c9808de40
Minor Code Adjustment
Minor Code Adjustment
2020-10-06 21:52:40 -04:00
Alezia Kurdis
e273c920a4
Minor Code Adjustment
Minor Code Adjustment
2020-10-06 21:50:24 -04:00
Alezia Kurdis
3882aad551
Minor code adjustments
Minor code adjustments
2020-10-06 21:48:23 -04:00
Kalila L
61d4fb2ad1 First run script. 2020-10-05 20:40:58 -04:00
David Rowe
3e94a034ca Use Window.openWebBrowser() instead of About.openUrl() in chat script 2020-10-03 17:01:01 +13:00
David Rowe
86aa3c8709 Make chat open links in internal Web browser instead of custom window 2020-10-03 16:29:14 +13:00
Alezia Kurdis
a7ca92fb9b
Add an audio feedback on Parent/Unparent
Add an audio feedback mechanism
to play confirmation or rejection sound on specific actions that are not visually detectable.
Here for Parent and Unparent (because it not visually detectable in HMD if the action was successful or not)

Fix also a bug where the HMD multiselection could stay active after we return in Desktop mode
Now it is deactivated when the create window are closed.
2020-09-30 23:58:12 -04:00
Alezia Kurdis
1d7f9554ce
Add audio feedback on Duplicate
Add an audio feedback mechanism
to play confirmation or rejection sound on specific actions that are not visually detectable.
here for "Duplicate" (mainly for the HMD use case where the new entity is generated at the exact same position)
2020-09-30 23:55:46 -04:00
Alezia Kurdis
64ad0b5afb
Add audioFeedback mechanism
Add an audio feedback mechanism
to play confirmation or rejection sound on specific actions that are not visually detectable.
- Duplicate (mainly for the HMD use case where the new entity is generated at the exact same position)
- Parent and Unparent (because it not visually detectable in HMD if the action was successful or not)
2020-09-30 23:54:06 -04:00
Alezia Kurdis
ff39a03b5d
Add parent and unparent buttons
Add parent and unparent buttons
2020-09-30 00:44:07 -04:00
Alezia Kurdis
f1f58dcbd4
Add parent and unparent buttons
Add parent and unparent buttons
2020-09-30 00:42:57 -04:00
Alezia Kurdis
16324ace16
Add parent and unparent buttons
Add parent and unparent buttons
2020-09-30 00:42:15 -04:00
Alezia Kurdis
94d030fb5c
Add HmdMultiSelection on inworld Selection
Add HmdMultiSelection on inworld Selection
2020-09-30 00:40:38 -04:00
Alezia Kurdis
2a0d508bb6
Add HmdMultiSelection on inworld Selection
Add HmdMultiSelection on inworld Selection
2020-09-30 00:39:36 -04:00
Alezia Kurdis
427351bcd8
Add a HMD MultiSelect button
Add a HMD MultiSelect button

Since it's impossible in HDM to do a multiple selection 
This adds a MultiSelect button (available in HMD only)
When active, the selection in the list behaves like having CTRL pressed
When inactive (default value) the selection in the list behaves as before (on item only)
2020-09-28 23:13:18 -04:00
Alezia Kurdis
a394b427d4
Add HMD MultiSelect button
Add HMD MultiSelect button
2020-09-28 23:08:48 -04:00
Alezia Kurdis
5047cf338f
HMD: Make the 2 buttons visible without scrolling
HMD: Make the 2 buttons visible without scrolling

In HMD, the 2 buttons:
- Open This Domain's Asset Server
- Import Entities (.json)
were not visible without scrolling. people would not even notice their presence
This fix adjust the spacing and the margin to have the entities button on 2 rows when the UI is in landscape mode
this way the button are visible.
2020-09-28 00:36:42 -04:00
Alezia Kurdis
c2064eed89
Fix a bug about tablet stuck in Landscape
Fix a bug about tablet stuck in Landscape
when the create app was open in desktop and you put your VR Headset on, 
then next time you open the tablet it was in landscape mode. (because a refresh was happening after the landscape set to false at the closure)
Now the condition is geared to deal with the situation.
2020-09-27 23:49:48 -04:00
Alezia Kurdis
3f98cd4934
Fix: Reset Landscape mode in HMD
Fix: Reset Landscape mode in HMD

In HMD, clicking on the button "Open this Domain's Asset server" is reverting the tablet to "portrait" mode
This fix forces the mode to return to Landscape if from the Asset server we click on the "List" tab.
2020-09-27 15:23:17 -04:00