Commit graph

45 commits

Author SHA1 Message Date
Alezia Kurdis
7c8044d27b
Copy ID(s) on multiple selection
Copy ID(s) on multiple selection
2024-03-12 21:36:45 -04:00
Alezia Kurdis
94a229b9e7
Add "Copy ID" 2024-03-11 22:37:24 -04:00
5aeca97f83 Cache Controller.Standard in scripts for higher performance 2023-11-30 00:26:01 +01:00
9ded209afe
Merge pull request #495 from overte-org/fix/laser_blinking
Fixed laser pointer blinking issue
2023-06-30 23:24:30 +02:00
f2e0552565 Fixed angle being occluded sometimes when rotating objects in Create App 2023-06-30 22:02:24 +02:00
d1df896d83 Fixed Create App VR grab 2023-06-29 18:35:13 +02:00
48a3368b69 Minor fixes and XMLHTTPRequest debugging 2023-05-19 00:17:41 +02:00
f016a19b4d Create app fixes 2023-05-19 00:17:40 +02:00
85262dfe28 Fixed grabbing in VR 2023-05-19 00:17:40 +02:00
6f92cf0330 V8-related JS fixes 2023-05-19 00:17:40 +02:00
3e7bdad500 Fixes in Create App 2023-05-19 00:17:39 +02:00
ae7d229d0e Fix copyright headers 2023-05-19 00:17:38 +02:00
5809576577 Fixed Create App 2023-05-19 00:17:37 +02:00
9bd68c0103 Fixed create app entity intersections in VR, increased default voxel resolution 2022-09-15 18:52:49 +02:00
3df9d6674b Voxel UI code cleanup 2022-07-16 16:22:46 +02:00
686d84526c Redesigned voxel edit UI for VR and added VR controller support 2022-07-16 16:22:46 +02:00
51b267a18f Basic voxel editing for desktop mode 2022-07-16 16:22:46 +02:00
Alezia Kurdis
92f7997603
Fix for Issue #1517
Fix for Issue #1517
Locked entities were simply ignored and it was still processing their children.
Now it's no more possible to duplicate if the selection and their children contains a locked entities.
It was also unable to add the new parent if the duplicated child entity was locked. Which was causing some other issues.
2021-12-08 23:01:21 -05:00
Alezia Kurdis
aedce21007
Snap to Next Clicked Surface
This adds the move in addition to the rotation
to the "Rotate as Next Clicked Surface" action.
Which is now become: "Snap to Next Clicked Surface"
2021-01-20 23:17:06 -05:00
Alezia Kurdis
0db2d6f041
Minor Code Adjustments
Minor Code Adjustments
2020-12-29 22:19:11 -05:00
Alezia Kurdis
79b34ae541
Add "Rotate as the Next Clicked Surface"
Add "Rotate as the Next Clicked Surface"
2020-12-24 22:57:49 -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
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
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
Alezia Kurdis
bcebf36261
Minor Code Adjustments
Minor Code Adjustments
2020-10-24 13:19:09 -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
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
c3719a7538
Add "Move Selected Entity To Avatar"
Add "Move Selected Entity To Avatar"
2020-10-20 00:15:40 -04:00
Alezia Kurdis
3241ea7c1f
Add support for teleportToEntity
Add support for teleportToEntity
2020-10-18 22:59:08 -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
Alezia Kurdis
37d694afa0
Minor Code Adjustments
Minor Code Adjustments
2020-10-06 22:05:39 -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
94d030fb5c
Add HmdMultiSelection on inworld Selection
Add HmdMultiSelection on inworld Selection
2020-09-30 00:40:38 -04:00
Alezia Kurdis
826991d6b4
Code Adjustments and Optimizations
Remove an unused commented const.
Generate all the material using a centralized function, using an array to store the keys. 
Make them deleted by iteration on this array.
Using now defaultFallthrough = true instead of setting albedo to fallthrough.
Replace "materialMappingMode" "projected" for "uv"
Added "ignorePickIntersection": true on the Material entities
2020-09-23 22:28:52 -04:00
Alezia Kurdis
de21ebf853
Selection Tool "unlit"
This commit includes 2 parts:
1- Re-adjustment in the code to stay aligned with axis/colors/Pitch-Yaw-Roll 
It seems that the Overlay 3dCircle was in fast patch to work while the Gizmo Ring is aligned for Axix versus Pitch-Yaw-Roll.
The modification has been done differently and is in fact a simpler solution.

2- Add a Material local entities parented to each tool entity to make the Selection tool "unlit"
This addresses Issue #709 Enhancement: Make create translate "widget" unlit
BUT there is a known issue: The Gizmo Ring are not supporting the Material currently. (an issue has been open for that see #744)
The Rotation rings are then not "unlit", but everything in the code is ready to support it when it will be done.
Gizmo Ring having practically designed for that specific usage, I think we should keep using them.
Other alternatives like using an image or a model would imply to considerable modifications. 
We would lose the angular representation (that can't be done with image or model). 
The remaining "unlit" issue is very low severity, the widget is still fully functional. So I think it can wait for the support of Material.
2020-09-21 21:59:19 -04:00
Alezia Kurdis
dca2f2e00e
Replacement of 3D Overlays for Local Entities
This replaces all the deprecated 3d Overlays for Local Entities.
No functional changes, only technical.

Many variables have been renamed for clarity. 
(Mainly the term "overlay" that were used to designate the elements of the selection tool. 
Now it refer to "toolEntity" to designate the entities composing the Selection Tool.)

The color of the different elements of the selection tools has also been adjusted.
They are now more contrasted and more vivid.
(The green and the blue of the previous version were too much close at the point that 
some color blind people might have difficulty to differenciate them.)
2020-09-19 23:20:43 -04:00
Alezia Kurdis
2cd1fc8471
Keep the suffix only for Duplicate
This update removes the incremental suffix from the "Paste"
since this can't really work.
This will be only for "Duplicate".
2020-08-11 22:50:12 -04:00
Alezia Kurdis
91ebd378f5
Clone suffix without uniqueness check
Simpler solution without any hazardous uniqueness check.
Cloned entities will systematically get the suffix " (2)", unless their name has already a suffix. 
In that case, we simply increment the suffix.
2020-08-07 12:51:24 -04:00
Alezia Kurdis
47e3649298
Incremental suffix to duplicated entities
This enhancement adds an incremental suffix to the name 
of the cloned entities resulting from "Duplicate" and "Paste".
The goal is to help to figure which entities is the coned one.
This addresses issue #575
2020-08-06 22:28:32 -04:00
David Rowe
45eda40466 Enable Alt action for cloning on Mac 2019-11-13 10:48:08 +13:00
David Rowe
5fb18566fe Use Alt to clone entities on Mac 2019-11-06 09:55:16 +13:00
David Rowe
7db99cce6b Fix Cmd-clone entities on Mac 2019-11-02 12:07:11 +13:00
David Rowe
f2d591dbe9 Take no action if Alt is pressed at mouse-down 2019-07-12 21:28:44 +12:00
David Rowe
db1137fa0f Use Ctrl to duplicate entities instead of Alt 2019-07-12 21:27:33 +12:00
RebeccaStankus
6aca2fcf07 Working on new file structure 2019-06-24 14:01:51 -07:00
Renamed from scripts/system/libraries/entitySelectionTool.js (Browse further)