summaryrefslogtreecommitdiff
path: root/editor/plugins
AgeCommit message (Collapse)Author
2022-05-17Fix errors and improve UX relating to new animation librariesSnailRhymer
- Fix a bug causing an error message when a scene containing an AnimationPlayer with a reset track is saved, by correctly referencing the temporary "default" library. - Make library dropdown in new animation window assign correct library when creating an animation. - Similarly allow choice of library when duplicating animation. - Make library dropdown default to library of currently selected animation. - Make library dropdown show when exactly one library exists, and it isn't [Global]. Include [Global] on the dropdown in this case (will be newly created if dialog is confirmed). - When appending (x) to avoid New Anim name collisions, correctly check target library instead of [Global]. - Add parentheses when appending x when duplicating animations in the library editor, for consistency. - Change titles and prompts to be distinct in name/rename/duplicate dialiogs. - Fix bug in OprionButton.get_selectable_item(true) when last is not selectable. - Fix issues where animation wasn't found on deletion/rename by correctly prepending library name. - Remove an extraneous print_line from animation_track_editor. - Add messages to errors when an animation isn't found.
2022-05-16Merge pull request #60507 from bruvzg/textmeshRémi Verschelde
Implement TextMesh.
2022-05-16Merge pull request #60463 from Geometror/improve-vs-1Rémi Verschelde
2022-05-16Merge pull request #61068 from ↵Rémi Verschelde
Calinou/editor-gpuparticles3d-tweak-attractor-gizmo
2022-05-16Merge pull request #61071 from timothyqiu/leading-styleboxRémi Verschelde
2022-05-16Fix crash when editing pinned StyleBoxHaoyu Qiu
2022-05-16Replace most uses of Map by HashMapreduz
* Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated!
2022-05-16Use a different color for GPUParticlesAttractor3D editor gizmosHugo Locurcio
This makes attractor gizmos (orange) distinguishable from collision gizmos (blue).
2022-05-13Merge pull request #60978 from fire-forge/shader-capsYuri Rubinsky
Capitalize AO, AA, UV, and UV2 in visual shader output ports
2022-05-13Capitalize output port names in visual shaderFireForge
2022-05-13Implement TextMesh resource.bruvzg
Apply simulated slant and embolden to the TextServer `gont_get_glyph_contours` results.
2022-05-12Merge pull request #60954 from V-Sekai/fix_ownership_of_created_nodesRémi Verschelde
2022-05-12Fix signal completion in GDScript editorYuri Rubinsky
2022-05-12Add a new HashMap implementationreduz
Adds a new, cleaned up, HashMap implementation. * Uses Robin Hood Hashing (https://en.wikipedia.org/wiki/Hash_table#Robin_Hood_hashing). * Keeps elements in a double linked list for simpler, ordered, iteration. * Allows keeping iterators for later use in removal (Unlike Map<>, it does not do much for performance vs keeping the key, but helps replace old code). * Uses a more modern C++ iterator API, deprecates the old one. * Supports custom allocator (in case there is a wish to use a paged one). This class aims to unify all the associative template usage and replace it by this one: * Map<> (whereas key order does not matter, which is 99% of cases) * HashMap<> * OrderedHashMap<> * OAHashMap<>
2022-05-11Fix ownership of nodes created by the MeshInstance3DEditorPluginSaracenOne
and Skeleton3DEditorPlugin when used on foreign nodes. Make gizmos visible upon creation rather than having to select them first. Make UV2 unwrapping and PhysicalBone creation properly subject to UndoRedo.
2022-05-09Merge pull request #60873 from KoBeWi/dedRémi Verschelde
2022-05-09Merge pull request #60845 from Chaosus/vs_color_funcYuri Rubinsky
2022-05-08Remove unused codekobewi
2022-05-07Push `HSV2RGB/RGB2HSV` to `ColorFunc` (from `VecFunc`) in visual shadersYuri Roubinsky
2022-05-07Change output port of `VisualShaderNodeColorUniform` to vec4Yuri Roubinsky
2022-05-06Changed signals of ItemListVitika9
2022-05-06Cleanup metadata usagekobewi
2022-05-05Merge pull request #58024 from geowarin/masterRémi Verschelde
use physical keys for numpad emulation in the editor
2022-05-05Fix global AnimationLibrary name validationHaoyu Qiu
2022-05-04Merge pull request #54606 from Calinou/mesh-editor-plugin-tweak-msaaHugo Locurcio
Use 4× MSAA for the Advanced Import Options 3D preview
2022-05-04Handle AssetLib repository config errorHaoyu Qiu
2022-05-03Merge pull request #60727 from aaronfranke/basis-axis-columnRémi Verschelde
2022-05-03Fix state machine box selectionGuilherme Felipe de C. G. da Silva
2022-05-03Rename Basis get_axis to get_column, remove redundant methodsAaron Franke
2022-05-03Merge pull request #60627 from aaronfranke/rename-elementsRémi Verschelde
Rename Transform2D and Basis `elements` to `columns` and `rows` respectively
2022-05-03Merge pull request #60714 from Calinou/typedef-remove-refRémi Verschelde
Remove `RES` and `REF` typedefs in favor of spelled out `Ref<>`
2022-05-03Remove `RES` and `REF` typedefs in favor of spelled out `Ref<>`Hugo Locurcio
These typedefs don't save much typing compared to the full `Ref<Resource>` and `Ref<RefCounted>`, yet they sometimes introduce confusion among new contributors.
2022-05-02Improvements of state machineGuilherme Felipe
- Open the menu to add new animation nodes by dragging the transitions to empty areas and automatically connecting them. - Adds box selection to the state machine. - Add feature to group/ungroup selected nodes in a "sub" state machine. - Add start/end node by default. In addition, add new color to these nodes to differentiate then. - Add tooltip for transitions to show the connection "from -> to". - Add new "type" of transition line when multiple transitions are grouped. - Add popup to connect nodes in sub state machine. - Add dialog to select which nodes can be deleted when they are grouped. - Add classes: AnimationNodeStartState AnimationNodeEndState EditorAnimationMultiTransitionEdit - Implements disabled transition API Changes: - Now it's posible to add transitions between state machines, `AnimationNodeStateMachine::add_transition` will works with relative path, this means you can use it like this `add_transition("Idle", "Walk", tr)` or `add_transition("Idle", "StateMachine/Shoot)`.
2022-05-02Style: Partially apply clang-tidy's `cppcoreguidelines-pro-type-member-init`Rémi Verschelde
Didn't commit all the changes where it wants to initialize a struct with `{}`. Should be reviewed in a separate PR. Option `IgnoreArrays` enabled for now to be conservative, can be disabled to see if it proposes more useful changes. Also fixed manually a handful of other missing initializations / moved some from constructors.
2022-05-01Change Place Random Tiles to an iconkobewi
2022-04-30Improve the VisualShader/VisualScript editor UIHendrik Brucker
2022-04-29Rename Transform2D "elements" to "columns"Aaron Franke
2022-04-29Merge pull request #60521 from IgorKordiukiewicz/warning-ignore-annotationsRémi Verschelde
Added button to add warning ignore annotations
2022-04-28Fix cppcheck const parametersMarkus Sauermann
Convert method signature parameters to const where it is possible # Conflicts: # drivers/gles3/rasterizer_canvas_gles3.cpp # drivers/gles3/rasterizer_canvas_gles3.h # editor/plugins/animation_state_machine_editor.cpp # editor/plugins/animation_state_machine_editor.h
2022-04-28Added button to add warning ignore annotationsIgor Kordiukiewicz
2022-04-27Merge pull request #60319 from TokageItLab/implement-global-restRémi Verschelde
2022-04-27Merge pull request #59979 from bruvzg/cpp_check2Rémi Verschelde
2022-04-26Add RayCast2D target_position editor handleFireForge
2022-04-26Merge pull request #60395 from Geometror/editor-gradient-preview-pluginRémi Verschelde
2022-04-26Merge pull request #60008 from fire-forge/bitmap-previewRémi Verschelde
2022-04-26Merge pull request #60369 from timothyqiu/al-validateRémi Verschelde
Fix AnimationLibrary name validation
2022-04-26Fixed issue where panels in sprite frames editor couldn't be resizedIgor Kordiukiewicz
2022-04-25Merge pull request #60401 from fire-forge/gradient-undoredoRémi Verschelde
2022-04-25Merge pull request #60261 from fire-forge/theme-prop-renamesRémi Verschelde
2022-04-25Merge pull request #60493 from Calinou/editor-add-external-link-iconRémi Verschelde