Commit graph

58203 commits

Author SHA1 Message Date
Artur Gomes
2d2efab5ed Fix paint surface always facing the HMD instead of rotating with the
brush/hand;
2017-08-16 18:28:58 +01:00
Artur Gomes
6e4ad996af Make savedSettings variable null after it is used, since it is probably
a cause for a big memory leak.
2017-08-16 18:28:58 +01:00
Artur Gomes
130ed238a5 Add restore tablet state after removing and putting back the headset.
Update max line width;
Remove erase tab in favor of a single undo button in the tabs bar;
Add background color to brushes (using the same as the stroke color so
the user can preview the stroke with the color);
Add padding between custom color picker and preset colors table.
2017-08-16 18:28:58 +01:00
Artur Gomes
c477b50272 Fix brush weird behaviour when starting with clean settings (brush would
be black and filled instead of appliying the correct texture with color)
2017-08-16 18:28:57 +01:00
Artur Gomes
ae078f4689 Add Avatar dominant hand as default hand the first time the user starts
fingerpaint app or when the settings for the app are deleted.
Add some checks to fix an non critical error (when trying to reset the
left/right hands and they were not yet initialized)
2017-08-16 18:28:57 +01:00
Artur Gomes
c65010669b Move line width widget from the palette tab to the brushes tab. 2017-08-16 18:28:57 +01:00
Artur Gomes
91a6f2c8d9 Add undo for created Entities in order to be able to remove entities
when drawing in desktop mode.
Fix keyboard not showing.
Fix app button not being deactivated when switching to another app.
2017-08-16 18:28:56 +01:00
Artur Gomes
c94774ec18 Add Keyboard when input fields get focus in the palette tab.
Add feedback when user picks a color from the table or from the set
custom colors.
Fix hand hovering tablet when entering the app (stopped working after
restoring brush values).
2017-08-16 18:28:56 +01:00
Artur Gomes
5c40a6810e Add drawing in Desktop mode.
Remove dynamic rotation and translation brushes since the movement would
be unsynced after a while, resulting in a poor user experience.
Fix restoring last used settings taking to long, which caused the user
to see the values to change after the tablet application was open.
Fix using a different brush after restarting the app, if drawing before
the brush was reset.
2017-08-16 18:28:55 +01:00
Artur Gomes
dffbc442be Add new Interface (more similar to the ui used on other apps)
Fix brush on repeat mode (keeps the the aspect ratio of the texture)
2017-08-16 18:28:55 +01:00
Artur Gomes
9d35cdcda3 Add save and restore last user settings;
Fix multiple dynamic brushes not working in some cases (mixing axis
would not work neither for rotation nor for translation);
Fix tablet hovering detection only working for right hand;
2017-08-16 18:28:55 +01:00
Delanir
e70303c53e Add the following items to the libraries/networking/src/udt/PacketHeaders.h and cpp files.
add new value to the PacketVersion enum
in the versionForPacketType function, return the new version number when
packetType is EntityAdd, EntityEdit or EntityData.
2017-08-16 18:28:50 +01:00
Artur Gomes
c8d475dff1 Add new dynamic and colored brushes.
- Add dynamic hue brush;
- Add dynamic (animated) rotation and translation brush;
- Add colored brushes that already have the colors set (user can't
change it);
2017-08-16 18:25:03 +01:00
Artur Gomes
b6ccce3904 Add new brushes (In progress) 2017-08-16 18:25:03 +01:00
Artur Gomes
69a532ea45 Fix application button not resetting state after exiting the app.
Fix hovering tablet detection not working before unhovering the tablet.
Fix finger closing and opening while hovering the tablet and drawing.
2017-08-16 18:25:02 +01:00
Artur Gomes
b6beb2033f Switch between stylus and fingerpaint mode when not painting and hand
hovers the tablet.
Replace OK button in color picker with Add button (allows user to add custom
colors, and enables user to pick color just by pressing on top of the
color picker);
2017-08-16 18:25:02 +01:00
Artur Gomes
9309f5137a Add tablet application to replicate the existing overlay interface that
uses qml.
Add last user picked colors using the custom color picker so that users can easily reuse that color.
2017-08-16 18:25:02 +01:00
Delanir
3d8951a5e0 Replace Paint Source Entity by Overlay 2017-08-16 18:25:01 +01:00
Delanir
066598fe3f Add Support to different UV modes in the finger paint script and deactivate "paint hand" 2017-08-16 18:25:01 +01:00
Delanir
0a97cfd736 Change UVMode updateGeometry Function 2017-08-16 18:25:01 +01:00
Delanir
ed5515a2d4 Add new Property to polyline to enable different uv modes. 2 2017-08-16 18:25:00 +01:00
Delanir
faf57f068c Override hand animation for finger paint.
Paint hand stays in a pointing position while in paint mode.
2017-08-16 18:25:00 +01:00
Delanir
59719a13b6 Move fingerPaint folder into "scripts/system" and add fingerPaint script to DEFAULT_SCRIPTS_SEPARATE 2017-08-16 18:23:04 +01:00
Delanir
5acc7ae4c9 Add fingerPaint script (intermediate version) to script-archive folder
Added folder fingerPaint inside script-archive. In order to run this
intermediate version of the fingerPaint script, load
fingerPaint/fingerPaint.js .
2017-08-16 18:20:14 +01:00
Liv
36ff82db6b Merge pull request #11056 from misslivirose/feat/domain-setup
[Protocol Change] Allow specified users/groups to replace domain content from within Interface
2017-08-15 20:29:25 -07:00
Liv
1ae4a5c019 remove class from function call 2017-08-15 15:30:43 -07:00
Liv
aea5f170f2 Merge branch 'master' of https://github.com/highfidelity/hifi into feat/domain-setup 2017-08-15 13:58:22 -07:00
Liv
49eab847fd Refactor handleOctreeFileReplacement, style changes, align with handler for other file types 2017-08-15 13:58:02 -07:00
Liv
c0fa446b75 Remove domain management scripting interface 2017-08-15 13:49:13 -07:00
Anthony Thibault
342f8acff5 Merge pull request #11176 from hyperlogic/feature/improve-hand-body-collision
Improve avatar hand vs body collision
2017-08-15 13:43:21 -07:00
Anthony J. Thibault
6e0ddadb29 Fix for array size. 2017-08-15 11:45:22 -07:00
Anthony J. Thibault
04006a9f76 code review feedback 2017-08-15 11:19:41 -07:00
Sam Gateau
2a75cde48a Merge pull request #11185 from samcake/blue
Fixing the graphics setting for Ambient Occlusion
2017-08-15 09:26:45 -07:00
Sam Gateau
d624413c14 Merge pull request #11189 from SamGondelman/line3DFix
Fix drawInFront overlays only rendering in left eye
2017-08-15 09:26:18 -07:00
Seth Alves
21cef482a5 Merge pull request #11190 from druiz17/fix-table-dialog
Fixed unable to select items in a TreeView
2017-08-14 17:05:42 -07:00
SamGondelman
194b7d6655 warning 2017-08-14 16:08:07 -07:00
Dante Ruiz
459f2c5cdc fixed tab issue 2017-08-14 16:03:12 -07:00
Dante Ruiz
99617600c4 fix selection issue for TreeView.qml 2017-08-14 15:58:28 -07:00
Zach Fox
823f2fb252 Merge pull request #11181 from cain-kilgore/skybox-changer
WL 21447 - Create a Skybox Changer
2017-08-14 15:08:03 -07:00
Zach Fox
ee4a07b10d Merge pull request #11187 from zfox23/context_removeWhenDeleting
Remove context overlay (if present) when removing entity
2017-08-14 15:06:20 -07:00
SamGondelman
8163430282 fix depth buffer issue that was messing with drawInFront, plus some small fixes to line3ds 2017-08-14 15:03:14 -07:00
Cain Kilgore
e7a4bff705 Made Changes per Review, added js 2017-08-14 22:47:18 +01:00
Anthony Thibault
9af6f2683a Merge pull request #11083 from Menithal/experimental-face-expressions
Opened up setForceFaceTrackerConnected
2017-08-14 14:19:08 -07:00
druiz17
97aa92bc44 Merge pull request #11170 from cain-kilgore/web-browser-assets
Added Assets for Web Browser MP Script
2017-08-14 13:50:11 -07:00
Zach Fox
c1d771842d Remove context overlay (if present) when removing entity 2017-08-14 13:37:50 -07:00
Zach Fox
a5fc47fc4d Merge pull request #11186 from zfox23/commerce_jsonInventory
Commerce: Use new JSON inventory format
2017-08-14 11:59:01 -07:00
Zach Fox
199ba3bff0 Use new JSON inventory format 2017-08-14 11:55:21 -07:00
samcake
f86f22309b fix render.json 2017-08-14 11:31:40 -07:00
samcake
465e390f7b Redisable spectator cam from desktop 2017-08-14 10:49:08 -07:00
samcake
db1536c521 Reactivate watch dog exit 2017-08-14 10:47:58 -07:00