summaryrefslogtreecommitdiff
path: root/scene
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-22Merge pull request #51991 from requizm/fix/51990K. S. Ernest (iFire) Lee
Fix 3d animations doesn't play
2021-08-22Fix 3d animations doesn't playrequizm
Add comment Fix ff
2021-08-22Fix GraphEdit connection colorsJummit
2021-08-22Merge pull request #50434 from QbieShay/particle-minmaxK. S. Ernest (iFire) Lee
Particle params are expressed as min-max rather than value+range AND separate axes scaling
2021-08-22Merge pull request #51886 from Geometror/fix-layout-editor-file-dialogMichael Alexsander
Fix ItemList layout (+EditorFileDialog)
2021-08-22moved particle parameters to minmax and split scale axisQbieShay
This commit adds quite a chunk of modifications to particles - particle (value + randomness) now use min and max instead - passing a curveXYZtexture is now possible and will scale particles per-axis - CPUParticle3D have an optional parameter to split the scale curve per-axis
2021-08-22Merge pull request #51700 from Geometror/fix-color-pickerK. S. Ernest (iFire) Lee
Reimplement ColorPicker presets
2021-08-22Merge pull request #51945 from yjh0502/fix-bazier-errorK. S. Ernest (iFire) Lee
Curve2D/Curve3D: exact linear interpolation
2021-08-22Merge pull request #51975 from Jummit/consistent-graphedit-connectionsK. S. Ernest (iFire) Lee
Make GraphEdit connections consistent on zoom
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-22Revert "Add Node processing and physics processing cumulative (as opposed to ↵Juan Linietsky
delta) time"
2021-08-22Make GraphEdit connections consistent on zoomJummit
2021-08-22Merge pull request #51965 from theoway/fix_node_arranger_origin_bugK. S. Ernest (iFire) Lee
Fixes position offset of node groups set by arrange_nodes() in GraphEdit
2021-08-22Merge pull request #51952 from Jummit/refactor-graphedit-connectionsK. S. Ernest (iFire) Lee
Refactor GraphEdit connections
2021-08-22Merge pull request #41850 from MohammadKhashashneh/cumulative-time_issue_6999Hugo Locurcio
Add Node processing and physics processing cumulative (as opposed to delta) time
2021-08-22Fixes position offset of node groups set by arrange_nodes() in GraphEditUmang Kalra
2021-08-21Merge pull request #51958 from requizm/fix/37772Hugo Locurcio
Fix camera override not working
2021-08-21Refactor GraphEdit connectionsJummit
Remove duplicate bezier code and use Curve instead. Add an overridable method for retrieving the points of a connection line, which makes it posible to create custom connections lines.
2021-08-21Fix camera override not workingrequizm
2021-08-21Curve2D/Curve3D: exact linear interpolationJihyun Yu
While calculating interpolated points, intervals between two baked points has been assummed to be `baked_interval`. The assumption could cause significant error in some extreme cases (for example #7088). To improve accuracy, `baked_dist_cache` is introduced, which stores distance from starting point for each baked points. `interpolate_baked` now returns exact linear-interpolated position along baked points.
2021-08-21Fix ItemList layout (+EditorFileDialog)Hendrik Brucker
2021-08-21Fix line_separation working incorrectly in find_click of RichTextLabelMenderes
Apply suggestions from code review Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2021-08-20Merge pull request #51866 from requizm/fix/49455Hugo Locurcio
Fix `line_separation` working incorrectly in `RichTextLabel`
2021-08-20Fix line_separation constant working incorrectly in RichTextLabelrequizm
2021-08-20add motion mode to handle TPSfabriceci
2021-08-19Merge pull request #51881 from KoBeWi/zz__iinnddeexxRémi Verschelde
Fix z_index applied twice for TileMap layers
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-19Merge pull request #51804 from ThreeRhinosInAnElephantCostume/fixundoredoRémi Verschelde
2021-08-19Merge pull request #51335 from JFonS/fix-omni-shadow-biasJFonS
Improvements to SpotLight3D and OmniLight3D's shadows
2021-08-19fixed popup_menu buttons getting triggered by lmb press instead of release.ThreeRhinosInAnElephantCostume
2021-08-19fixed camera2d's "current" property getting reset when switching scenesThreeRhinosInAnElephantCostume
2021-08-19Improvements to SpotLight3D and OmniLight3D's shadowsjfons
OmniLight3D: * Fixed lack of precision in cube map mode by scaling the projection's znear. * Fixed aliasing issues by making the paraboloids use two square regions instead of two half squares. * Fixed shadowmap atlas bleeding by adding padding. * Fixed sihadow blur's inconsistent radius and unclamped sampling. SpotLight3D: * Fixed lack of precision by scaling the projection's znear. * Fixed normal biasing. Both: * Tweaked biasing to make sure it works out of the box in most situations.
2021-08-19Fix z_index applied twice for TileMap layerskobewi
2021-08-19Merge pull request #51703 from YeldhamDev/compal_tweaksRémi Verschelde
Minor tweaks/fixes for the Command Palette
2021-08-18Hide TextFile from the APIPaulb23
2021-08-18Minor tweaks/fixes for the Command PaletteMichael Alexsander
2021-08-18Adjust the material key bit size for ParticlesMaterialYuri Sizov
2021-08-18[Net] MultiplayerReplicator with initial state.Fabio Alessandrelli
Move the former "spawnables" functions to a dedicated MultiplayerReplicator class. Support custom overrides in replicator. Spawn/despawn messages can now contain a state. The state can be automatically encoded/decoded by passing the desired object properties to `spawnable_config`. You can use script properties to optimize the state representation. 2 Callables can be also specified to completely override the default implementation for sending and receiving the spawn/despawn event. (9 bytes overhead, and there's room for improvement here). When using a custom implementation `spawn` and `despawn` can be called with any Object, `send_spawn`/`send_despawn` can receive any Variant as a state, and the path is not required. Two new functions, `spawn` and `despawn`, convey the implementation independent method for requesting a spawn/despawn of an Object, while `send_spawn` and `send_despawn` represent the more low-level send event for a Variant to be used by the custom implementations.
2021-08-18Merge pull request #50752 from Phischermen/indeterminate_checkmark_apiRémi Verschelde
Added icons and API for indeterminate checkmarks for the Tree class.
2021-08-17Fixed magnet vector not working correctly in SkeletonModification2DFABRIKTwistedTwigleg
2021-08-18Reimplement ColorPicker presetsHendrik Brucker
2021-08-18Merge pull request #51798 from nekomatata/fix-skeleton-child-bonesRémi Verschelde
2021-08-17Add Node processing and physics processing cumulative (as opposed to delta) ↵Mohammad Khashashneh
time.
2021-08-17Merge pull request #51775 from timothyqiu/disable-undo-redoRémi Verschelde
Improve Undo/Redo menu items
2021-08-17Fix Skeleton3D regression when bones are not sorted from root to leavesPouleyKetchoupp
Tentative fix for missing bones when bones are not sorted as expected. For example, if the root comes last, all child bones are removed and the skeleton ends up with just the root.
2021-08-17Fix 3D character snap on moving platformsPouleyKetchoupp
Applying the platform velocity when leaving the platform floor should be done after snapping to keep things consistent, like it's done in 2D.
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-17Merge pull request #51651 from pycbouh/editor-merge-custom-themeRémi Verschelde
Add support for partial custom editor themes
2021-08-17Merge pull request #51742 from fabriceci/jitter-fix-and-cleaningRémi Verschelde
Correct jitter in move and slide 2D