| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Custom materials still used TextureChooser for populating the
combobox instead of ImageChooser.
Task-number: QT3DS-4208
Change-Id: I696cc819df8f46ba40008f734bfcfd9990b2f551
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Signals can only use onactivate and deactivate events so filter
everything else out from the list.
Task-number: QT3DS-4198
Change-Id: I46587b76e54ce4d0ecf3f8d532258080ea11870a
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
| |
Change-Id: Ifc8fe6520c15f54325fecc55741ce23d94c0a056
Reviewed-by: Tony Leinonen <tony.leinonen@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
|
|
| |
Fix crash when deleting custom material immediately after creating it.
Fix assertions from getting incorrect datatype.
Change-Id: I020b8397de13fb88f594fe85ec1da66dd999f97b
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-Apply texture filter and repeat mode to the created image.
-Set the image names so that they work with setAttribute.
-Do not show default texture parameters in inspector.
-When dynamic object texture is set after being cleared, reset the texture
parameters from the default parameters.
-Ensure that the conversion of old-style dynamic objects is only done when
the UIP file version is old so that it happens only once. We do not wan't
to apply the default values for later sessions. Do not serialize dynamic
object default textures.
Task-number: QT3DS-4063
Change-Id: I5c9eed110999430ad95cda2354dbcc4b7795c136
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
| |
Task-number: QT3DS-4063
Change-Id: I32b4b1892f064311e5896ebc1ebdc087598135d1
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Support new signal type object with icons. Bump generated UIP
version to 7.
- When creating a signal, also create initial onActivate action.
- Don't show basic node properties for signals, only the name.
- When adding new action to signal, default to onActivate and
emit signal.
- Show small ticks on timeline bar if onActivate or onDeactivate
actions have been set to the object.
Task-number: QT3DS-4165
Change-Id: I16d1129536ac4d22c23c27bbc95741aa66adf597
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
A name that contains dots will not work with DataInputs.
If a dot is added to the name a warning window will pop up and
alert the user.
Task-number: QT3DS-4099
Change-Id: I8cb1bf7b835fcea3f79bae6b326cffbf989e738c
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Tony Leinonen <tony.leinonen@qt.io>
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
ActionView was missing required functions to change the color.
showColorDialog does not seem to require instance and handle which
arent available in ActionView.cpp so call the function without them
Task-number: QT3DS-4163
Change-Id: I135e75f22104e0c7addb203a52846e84c52db8de
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QT3DS-4164
Change-Id: I742917f043421bdb5f15c03153672d047aa1e1fb
Reviewed-by: Tony Leinonen <tony.leinonen@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QT3DS-4089
Change-Id: Ib880bc2da4a5b7e77efa96114ca283410240afb5
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Force rendering to keep edit camera view and scene camera views in sync
after shader recompilation.
Also only clear shader error if object has valid translation.
Task-id: QT3DS-4045
Change-Id: I5f3e6feab41f56c00c9bb8190263e73510c04309
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update the results of shader compilation in Editor panels with a small
delay, after an effect or a material file has been changed. This is a
simpler alternative to implementing a dedicated signaling channel from GL
backend to Editor, just for the purpose of indicating that a compilation
result is ready.
Task-id: QT3DS-4065
Change-Id: I3d77d789196906954cdd0ff3d5e9e5b06772d5fb
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|
|
|
|
|
|
| |
Fixes: QT3DS-4000
Change-Id: I0bb5d230ac0a2dc7e968e406275707197bb03d8e
Reviewed-by: Janne Kangas <janne.kangas@qt.io>
Reviewed-by: Janne Koskinen <janne.p.koskinen@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Show shader errors with highlighting and tooltip in Project panel. Also
indicate error in Inspector panel with highlighting.
Change-Id: Ic601474d40058723872339f746165868307c596b
Task-id: QT3DS-3598
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|
|
|
|
|
|
| |
Change-Id: Iad722b2a95ba85c405820a35e9b4149b5959556a
Task-id: QT3DS-3980
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
If a material that is referenced by another is duplicated, the material
and all the referenced materials are now changed to basic material that
refer to the new duplicated file.
Task-number: QT3DS-3977
Change-Id: Ia7cd19401b407138fe9b72a6a60394cdee01ed52
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
|
|
| |
This reverts commit fdc856278f325a3a41f9db2f706df5332ebd4d5c.
Change-Id: Iba1add3c3a5d4fc9e1cfd2fcddd5c7eb720c5fd8
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Disable copying of referenced material properties and if somehow the
user is able to duplicate a referenced material that points to a
referenced material, do a recursive lookup for the original material.
If an animatable material is duplicated, it's type is changed to
referenced material which points to the duplicated material in the
container. Or in other words it is changed to a basic material.
Task-number: QT3DS-3679
Task-number: QT3DS-3973
Change-Id: Ic09bb897d24f7c10984c5cc2f80556be844d9c51
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Duplicating a custom material or a reference to a
custom material crashes. There is a separate bug for that:
QT3DS-3973. Duplicating material for those can be fixed
only after the crash has been fixed first.
Task-number: QT3DS-3679
Change-Id: I8cf5d95fd8ef4f070caf8f83f0fe3cdff2a47057
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Show a pop-up if a shader fails to compile. Compilation takes place when
the effect is added to a object in timeline.
Requires both editor and runtime commits.
Task-id: QT3DS-3598
Change-Id: Icfd43cd77c72c929b0a88edf3655da818c78df5e
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Maintains the original time bar length during drag even if drag takes the
start time to less than zero.
Task-ID: QT3DS-2046
Change-Id: I45c81e7a62e081e9ed6861c064e164da75e14ad2
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|
|
|
|
|
| |
Task-number: QT3DS-3947
Change-Id: I8b5555869ba472e6310b61b4c12331bda2c773d7
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QT3DS-3953
Change-Id: Ie4e1936a2b13db59292ced86830f2b2942bec970
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|
|
|
|
|
| |
Task-number: QT3DS-3948
Change-Id: I2f0cd45510231918f4dead5b4121d7fa1b3157b9
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
For bezier keyframes check that control points of the moved keyframe
and the keyframes before and after it don't go beyond its adjacent
keyframes times.
Task-number: QT3DS-3928
Change-Id: I957f15cf874a2de720ec21723bdf5076fae40caa
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
- fit only selected (visible) bezier controls
- fit based on mix/min points on the curve (which is different from
keyframe values)
- fit based on the visible part of the timeline only
- center the curve in the view when its value range is very small
(smaller than the min scale value)
Change-Id: Ibb4d9b15c65937c35ffc20be1218d2cdd3af04b1
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|
|
|
|
|
|
|
|
| |
Imported keyframes times have to be convered from seconds to
milliseconds to work correctly.
Task-number: QT3DS-3921
Change-Id: I4a01ce548560bf35adae9e525bbe7d3aba9f8064
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
This avoids crash when selecting labels clipped with splitter.
Also add default font size for labels.
Task-number: QT3DS-3913
Change-Id: I89ff403634dedf6d83704c2dd25b8f22da8d8484
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|
|
|
|
|
|
|
|
| |
Material type list would be populated by the shader list for referenced
materials in some cases.
Task-number: QT3DS-3889
Change-Id: Ic5364369ae19753ef5bb3d682122aa6d5bcea9c1
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
The property graph displays the alpha channel curve only for custom
material color properties as it is not in use for other material types.
Task-number: QT3DS-3919
Change-Id: If4974bfb00ee51547004b1e10c1311362a7dc6be
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Jere Tuliniemi <jere.tuliniemi@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Also:
- utilize an updatable editor to undo bezier curve editing
- allow ctrl+click to deselect a selected keyframe on a curve
Task-number: QT3DS-3922
Change-Id: Ie71034431e56fdf47ab12fc20f96455fba2d5314
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|
|
|
|
|
|
|
|
| |
...when changing slides, animation state, etc.
Task-number: QT3DS-3917
Change-Id: Ib65cf4cc0d1dc3d393305879256d3269f1045b87
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Highlight a non-existing file with color and tooltip in inspector panel.
Also adds m_valid flag to inspector items.
Task-id QT3DS-3384
Change-Id: I348c388ff2b36158f341b44572aa4022873770bf
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
- Make timeline scaling smoother and allow further scale values.
- Implement non linear scaling strategy which improve UX.
- Double clicking the scale head resets the scale to the default value
- Optimize drawing by only drawing the visible part of the ruler.
- Other assorted small tweaks
Change-Id: I5fbf729f3b5e098a60e26978af6bc82bb5f307ae
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|
|
|
|
|
|
|
| |
Plus some relevant tweaks.
Change-Id: I19b7f5deb5e6e1caee4724b2d1f1707740d388e0
Reviewed-by: Janne Kangas <janne.kangas@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
|
| |
Remove a useless class
Change-Id: Ic011ff3f47ec6458c6645e2b364b699d2cd0aa87
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|
|
|
|
|
|
|
|
| |
Also make the color gradient calculations completely accurate. Also
remove one method and merge it into another.
Change-Id: Ie097aa7afc5bb49f335b4756498fe7a1b11e7764
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Keyframes were invalid in macOS and Linux after the
animation type change unless property bindings were updated
synchronously.
Task-number: QT3DS-3871
Change-Id: I2e357897c5ed5b32d5be326ee743fe14113c93f1
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
The studio has mixed timing units (seconds and milliseconds). This
commit unifies the timings to milliseconds. The values are however kept
saved in the UIP file in seconds for backward compatibility and also
cause it is more compact (ex: 1 vs 1000).
Change-Id: I906214dfbb4e666ee099b4055ef4c9aa98e91745
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Fixed various issues caused by refresh not being done inside
transaction.
- Added a confirmation prompt to refresh import to warn user about
the operation not being undoable and resetting the undo stack.
- Fixed issue where material class update was attempted even if just
materialdef file was changed. This should only be done when shader
is updated.
- Fixed refreshing import that is not referenced currently.
- Synced import images and meshes dir names given to ImportImpl
constructor and saved to .import file, as the latter are used
when refreshing import. "Meshes" vs "meshes" caused breakage
of referred highlights and mesh visually updating on editor
in some cases.
- Fixed the material getting lost when refreshing import where the
model name changes but the material stays the same.
Task-number: QT3DS-3876
Task-number: QT3DS-3879
Task-number: QT3DS-3880
Change-Id: I65e59a570b01b58d3252457f590b9f4425758865
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Remove the old xml preferences file and replace it with
QSettings instead. Also divide all of the settings into
logical groups.
Task-number: QT3DS-777
Change-Id: I633a981c9fbcb838556b008b7361c5793027f57a
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
| |
Task-number: QT3DS-3886
Change-Id: I5d4b9e574ad6940e309952fb90859d1bf0ae9faa
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|
|
|
|
|
|
|
|
| |
Also show fit and maximize graph buttons for the 3 curve animation types
Task-number: QT3DS-3884
Change-Id: I4f23156ac5a9c71afde1f29075351363daad794c
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Row renaming broke after this commit:
1e49aba7070e8eeff8b0cc35113ccab2f37941e0
This commit fixes it. Also some relevant tweaks.
Change-Id: Ib8d4fc28e351881ed87287124e57b11f760b098f
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
|
|
|
| |
Also correct locked state for the curves
Task-number: QT3DS-3881
Change-Id: Ia710d9735d6478f6a5307cb2736aeb12ca7f263f
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
- adjust scaling so that its pivoted to the current mouse y position
- increase the top margin so that bezier keyframe is not hidden under
the row keyframe when the curve is fitted
- move the ruler text a bit to the right so it is not hidden under the
row keyframe when a ruler's line happen to be under a row's keyframe
Change-Id: I099d73ee0b93f6028121c428bcbbc94f6b76e083
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Some tweaks, method renamings. This should be merged after the
ogl-runtime commit 3fd04bb21795172e1d4d05cd69546652e20b7317
Change-Id: Ie5c7c2690cf375c7f6a8f7ddaf088ee4c0d40dd6
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Reviewed-by: Janne Kangas <janne.kangas@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
|
|
|
|
|
|
| |
Change-Id: I19bb1bd063c5b411ab8e3d8dbf568c3a34d38640
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Add a 'toggled' visual (different border color) to the 'maximize graph'
and 'toggle gradient color' buttons.
Task-number: QT3DS-3855
Change-Id: I4189c5fc2fb26431dce9361b624e38273e6d3d0f
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
|