summaryrefslogtreecommitdiff
path: root/editor/plugins
AgeCommit message (Collapse)Author
2021-08-23Entirely removes BIND_VMETHOD in favor of GDVIRTUALreduz
* `_gui_input`, `_input`, `_unhandled_input` and `_unhandled_key_input` are now regular C++ virutal functions. * Everything else converted to GDVIRTUAL * BIND_VMETHOD is gone, always use the new syntax from now on. Creating `_gui_input` method and using the binder to register events will no longer work, simply override the virtual function now.
2021-08-22Replace BIND_VMETHOD by new GDVIRTUAL syntaxreduz
* New syntax is type safe. * New syntax allows for type safe virtuals in native extensions. * New syntax permits extremely fast calling. Note: Everything was replaced where possible except for `_gui_input` `_input` and `_unhandled_input`. These will require API rework on a separate PR as they work different than the rest of the functions. Added a new method flag METHOD_FLAG_OBJECT_CORE, used internally. Allows to not dump the core virtuals like `_notification` to the json API, since each language will implement those as it is best fits.
2021-08-19Merge pull request #51583 from nekomatata/capsule-height-radius-settersRémi Verschelde
Fix capsule height/radius setters with linked properties
2021-08-19Fix capsule height/radius setters with linked propertiesPouleyKetchoupp
Capsule height and radius setters can modify each other, rather than using clamping, to avoid cases where values are not set correctly when loading a scene (depending on the order of properties). Inspector undo/redo: Added the possibility to link properties together in the editor, so they can be undone together, for cases where a property can modify another one. Gizmo undo/redo: Capsule handles pass both radius and height values so they can be undone together.
2021-08-19Avoid a crash when an node of the AnimationTree is invalidfabriceci
2021-08-18Merge pull request #50411 from Chaosus/vs_filterRémi Verschelde
Added port type content filter on port dragging in visual shader
2021-08-18Merge pull request #51627 from mhilbrunner/todo-for-neikeqRémi Verschelde
2021-08-18Added port type content filter on port dragging in visual shaderYuri Roubinsky
2021-08-18Fix visual shader keyword colourPaulb23
2021-08-17Fixes to tests for Variant and Geometry3DAaron Franke
2021-08-17Merge pull request #51729 from yjh0502/ext-reload-masterRémi Verschelde
Auto-reload scripts with external editor
2021-08-17Remove underscore hacksMax Hilbrunner
Way less cruft. :) Co-authored-by: Ignacio Roldán Etcheverry <neikeq@users.noreply.github.com>
2021-08-17Improve Undo/Redo menu itemsHaoyu Qiu
* Make Undo/Redo menu items disabled when clicking it does nothing. * Context menu of `TextEdit` * Context menu of `LineEdit` * Editor's Scene menu * Script editor's Edit menu and context menu (for Script and Text) * Make editor undo/redo log messages translatable. * Mark `UndoRedo`'s `has_{un,re}do()` methods as `const`. * Expose `TextEdit`'s `has_{un,re}do()` to scripts since `{un,re}do()` are already available.
2021-08-17Auto-reload scripts with external editorJihyun Yu
2021-08-17Merge pull request #51761 from RevoluPowered/fix-undefined-behaviour-editor-gridRémi Verschelde
Fix editor grid perspective undefined behaviour
2021-08-17Merge pull request #51651 from pycbouh/editor-merge-custom-themeRémi Verschelde
Add support for partial custom editor themes
2021-08-17Fix editor grid perspective undefined behaviourGordon MacPherson
Initialise the enum value
2021-08-16Merge pull request #51698 from Paulb23/text-editor-settingsRémi Verschelde
Reorganise text editor settings
2021-08-16Merge pull request #51736 from JFonS/minor_fixes_n3epRémi Verschelde
Minor fixes to Node3DEditorPlugin
2021-08-16Reorganise text editor settingsPaulb23
2021-08-16Merge pull request #51368 from ↵Rémi Verschelde
TwistedTwigleg/GSOC_2020_Working_Branch_IK_SQUASHED New and improved IK system for Skeleton3D - Squashed!
2021-08-16Minor fixes to Node3DEditorPluginjfons
* Change EditorNode3D::update_all_gizmos() to start at the edited scene root instead of the whole editor root. * Call update_all_gizmos() only once at start instead of evrey time a gizmo plugin is added. * Add missing null check.
2021-08-16Merge pull request #50181 from ↵Rémi Verschelde
Calinou/gpu-particles-improve-visibility-generation Improve visibility rect/AABB generation usability in GPUParticles
2021-08-16Merge pull request #51030 from ↵Rémi Verschelde
kleonc/sprite_frames-preserve-src-atlas_texture-margins SpriteFramesEditor: preserve source texture margins when creating frames from AtlasTexture
2021-08-16Improve visibility rect/AABB generation usability in GPUParticlesHugo Locurcio
- Don't display the time dialog if the automatically calculated generation time is short enough. - Clarify the purpose of waiting in the progress dialog.
2021-08-14New and improved IK system for Skeleton3DTwistedTwigleg
This PR and commit adds a new IK system for 3D with the Skeleton3D node that adds several new IK solvers, as well as additional changes and functionality for making bone manipulation in Godot easier. This work was sponsored by GSoC 2020 and TwistedTwigleg Full list of changes: * Adds a SkeletonModification3D resource * This resource is the base where all IK code is written and executed * Adds a SkeletonModificationStack3D resource * This node oversees the execution of the modifications and acts as a bridge of sorts for the modifications to the Skeleton3D node * Adds SkeletonModification3D resources for LookAt, CCDIK, FABRIK, Jiggle, and TwoBoneIK * Each modification is in it's own file * Several changes to Skeletons, listed below: * Added local_pose_override, which acts just like global_pose_override but keeps bone-child relationships intract * So if you move a bone using local_pose_override, all of the bones that are children will also be moved. This is different than global_pose_override, which only affects the individual bone * Internally bones keep track of their children. This removes the need of a processing list, makes it possible to update just a few select bones at a time, and makes it easier to traverse down the bone chain * Additional functions added for converting from world transform to global poses, global poses to local poses, and all the same changes but backwards (local to global, global to world). This makes it much easier to work with bone transforms without needing to think too much about how to convert them. * New signal added, bone_pose_changed, that can be used to tell if a specific bone changed its transform. Needed for BoneAttachment3D * Added functions for getting the forward position of a bone * BoneAttachment3D node refactored heavily * BoneAttachment3D node is now completely standalone in its functionality. * This makes the code easier and less interconnected, as well as allowing them to function properly without being direct children of Skeleton3D nodes * BoneAttachment3D now can be set either using the index or the bone name. * BoneAttachment3D nodes can now set the bone transform instead of just following it. This is disabled by default for compatibility * BoneAttachment3D now shows a warning when not configured correctly * Added rotate_to_align function in Basis * Added class reference documentation for all changes
2021-08-14Merge pull request #51657 from timothyqiu/view-nameRémi Verschelde
Fix i18n of 3D view name
2021-08-14Merge pull request #51660 from AnilBK/use-short-functionsRémi Verschelde
Use get_global_* functions instead of using transforms.
2021-08-14Use get_global_* functions instead of using transforms.Anilforextra
2021-08-14Merge pull request #51636 from Calinou/rename-lineshape2dRémi Verschelde
Rename LineShape2D to WorldMarginShape2D
2021-08-14Fix i18n of 3D view nameHaoyu Qiu
Make the full view name translatable as a whole instead of combining from sub-strings.
2021-08-14Rename LineShape2D to WorldMarginShape2DHugo Locurcio
The new name makes it more obvious that it acts as an infinite plane, and is consistent with its 3D counterpart (WorldMarginShape3D).
2021-08-14Add support for partial custom editor themesYuri Sizov
2021-08-13Style: Cleanup code using `text_editor/completion/use_single_quotes`Rémi Verschelde
2021-08-13Allow dropping property path into script editorHaoyu Qiu
2021-08-13Merge pull request #51035 from foxydevloper/drag-drop-more-supportRémi Verschelde
Improve drag and dropping files into viewport by supporting more types
2021-08-13Merge pull request #49523 from foxydevloper/improve-shortcut-namingRémi Verschelde
Improve naming of a couple shortcuts
2021-08-13Merge pull request #50114 from Chaosus/vs_constantsRémi Verschelde
Few improvements for constants in visual shader
2021-08-13Merge pull request #51519 from Chaosus/vs_transform_operatorRémi Verschelde
Changed `TransformMult` node to `TransformOp` in visual shaders
2021-08-13Fix some unnecessary includesAaron Franke
2021-08-12Merge pull request #51572 from Chaosus/vs_fix_transform_instanceYuri Roubinsky
Fix printing error about unsupported modifier on `TransformUniform`
2021-08-12Fix printing error about unsupported modifier on `TransformUniform`Yuri Roubinsky
2021-08-12Cleanup and bind remaing methods in TextEditPaulb23
2021-08-12Rename readonly to editablePaulb23
2021-08-12Protect internal CodeEdit --> TextEdit APIPaulb23
2021-08-12Cleanup TextEdit selection methodsPaulb23
2021-08-12Expose and cleanup TextEdit line wrap APIPaulb23
2021-08-12Cleanup and rename caret operationsPaulb23
2021-08-11Make radius & height in CapsuleShape3D independentPouleyKetchoupp
Also changed CapsuleMesh to make settings consistent between render and physics.
2021-08-11Changed `TransformMult` node to `TransformOp` in visual shadersYuri Roubinsky