Commit graph

6389 commits

Author SHA1 Message Date
Alezia Kurdis
28e53c9c86
Migrate from 3dImage Overlay to Local Entities
Migrate from 3dImage Overlay to Local Entities
2020-12-08 23:54:32 -05:00
Alezia Kurdis
aea3e7936f
Add Material icons in edit mode
1- This adds a new Material icon to identify the material entities that are linked to a parent.
Since those material entities become invisible, this help to figure their presence.

2- The Create App - Preference: "Show Zones in Create Mode"
has been removed, since it was doing nothing for a couple of years now.
the method behind is still in the API, but do nothing. 
(abandoned since it was only drawing a box that wasn't useful to figure the shape of the zone)
There was no real value to bring this back in a different way.

3- The Create App - Preference: "Show Lights and Particle Systems in Create Mode"
has been renamed for "Show Icons in Create Mode"
since this setting was also managing all the icons (including Zones and now the Parented Materials)
The objective of the setting is mainly to simplify the display at the edit when a scene is very dense.
(In the future, we might want to make this "à la carte". For now, I think we can try as is. )
2020-12-08 23:52:04 -05:00
Alezia Kurdis
5a3f4b59c8
Add a Name on the Material of the shape visualizer
Add a Name on the Material of the shape visualizer
to be able to exclude it when a zone is selected.
2020-12-08 23:39:26 -05:00
Alezia Kurdis
699f28c9b4
New Material Icon and Harmonization
Add a new entity in-world edition icon for Material (when not parented)
and new version for the 4 existing icons: Now they are all dark gray (same tone) 
with a white border for a better visibility under different lighting.
2020-12-08 23:36:57 -05:00
Alezia Kurdis
536bf4ef90
2 large import button in Desktop
In Desktop mode, the 2 import buttons
are now one over the other and full width.
The text was overlapping with the default Create Tools window size.
2020-12-04 23:50:44 -05:00
Alezia Kurdis
726901b087
Make the Create Tool window larger by default
Previously it was 490px wide (in Desktop)
Now it will be 750 px wide (in Desktop)
The properties tab is now with an acceptable size by default. (which is closer to the landscape display we have in HMD.)

No change in HMD or in-Tablet display.
2020-12-04 23:47:38 -05:00
Alezia Kurdis
670d832c8b
Minor code change
Minor code change
2020-12-01 23:32:52 -05:00
Alezia Kurdis
5a71881799
Minor code changes
Minor code changes
2020-12-01 23:04:10 -05:00
Alezia Kurdis
510eb08be1
Replace Overlays by Local Entities
1- Replace Overlays by Local Entities
2- Add the missing header with copyright and license 
(I have assumed that the author was the same person that make the grid parameter that is referenced there and only used in create App.)
3- Minor requested code change (0.0 instead of 0 in condition using real numbers)
2020-12-01 22:56:17 -05:00
Alezia Kurdis
bbde93f54b
Add Grid Actions Shortkeys
Add Grid Actions Shortkeys

Toggle Grid	G
Activate/Deactivate Snap to Grid	H
Align Grid to Selected Entities	J
Align Grid to Avatar	K
2020-12-01 00:15:15 -05:00
Alezia Kurdis
71d0fb52e2
Add Grid Actions Shortkeys
Add Grid Actions Shortkeys

Toggle Grid	G
Activate/Deactivate Snap to Grid	H
Align Grid to Selected Entities	J
Align Grid to Avatar	K
2020-12-01 00:14:15 -05:00
Alezia Kurdis
6a31c19747
Add Grid Actions Shortkeys
Add Grid Actions Shortkeys

Toggle Grid	G
Activate/Deactivate Snap to Grid	H
Align Grid to Selected Entities	J
Align Grid to Avatar	K
2020-12-01 00:13:26 -05:00
Alezia Kurdis
1f20536574
Add Grid Actions Shortkeys
Add Grid Actions Shortkeys

Toggle Grid	G
Activate/Deactivate Snap to Grid	H
Align Grid to Selected Entities	J
Align Grid to Avatar	K
2020-12-01 00:12:27 -05:00
Alezia Kurdis
64caa54d08
Create App "tools" menu implementation
Create App "tools" menu implementation
2020-11-30 00:38:31 -05:00
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