summaryrefslogtreecommitdiffstats
path: root/scene
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #46045 from bruvzg/text_server_bmp_createRémi Verschelde2021-02-243-32/+73
|\ | | | | [TextServer] Restores bitmap font dynamic construction functions.
| * [Text Server] Restores bitmap font dynamic construction functions.bruvzg2021-02-153-32/+73
| |
* | Use a more specific type for Area2D/3D body signalsAaron Franke2021-02-242-8/+8
| |
* | Add preview Sun and Environmentreduz2021-02-225-31/+80
| | | | | | | | | | | | | | | | | | * Adds both a preview sun and preview environment to the 3D editor. * They are valid as long as a DirectionalLight3D and WorldEnvironment are not in the scene. * If any is added to the scene, the respective preview is disabled. * Changed WorldEnvironment to better handle multiple node versions. * Added a function in SceneTree to get the first node in a group. * Fixed button minimum size to also consider font height if no text is there, this broke with the TextSever PR.
* | Merge pull request #45994 from Jummit/expose-edit-selectedRémi Verschelde2021-02-221-0/+1
|\ \ | | | | | | Expose edit_selected in Tree
| * | expose edit_selected in TreeJummit2021-02-221-0/+1
| | |
* | | Merge pull request #46243 from Calinou/improve-get-node-error-messageRémi Verschelde2021-02-221-1/+9
|\ \ \ | | | | | | | | Improve the `get_node()` error message to be more descriptive
| * | | Improve the `get_node()` error message to be more descriptiveHugo Locurcio2021-02-221-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Mention the origin of the `get_node()` call. - Mention whether the attempted path is absolute or relative. See #46214.
* | | | Merge pull request #46230 from gongpha/keep-hue-valueRémi Verschelde2021-02-211-4/+7
|\ \ \ \ | | | | | | | | | | Keep Hue value when Saturation or Value is zero
| * | | | Keep Hue value when Saturation or Value is zeroKongfa Waroros2021-02-191-4/+7
| | | | |
* | | | | Merge pull request #46286 from kleonc/label_set_lines_skippedRémi Verschelde2021-02-211-0/+1
|\ \ \ \ \ | | | | | | | | | | | | Label::set_lines_skipped Fail if passed a negative value
| * | | | | Label::set_lines_skipped Fail if passed a negative valuekleonc2021-02-211-0/+1
| | | | | |
* | | | | | Merge pull request #46284 from kleonc/line2d_set_point_positionRémi Verschelde2021-02-211-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Line2D::set_point_position Fail if passed index is out of bounds
| * | | | | | Line2D::set_point_position Fail if passed index is out of boundskleonc2021-02-211-0/+1
| |/ / / / /
* / / / / / Prevent selecting hidden nodes in 3D and Canvas Item editorshilfazer2021-02-212-0/+18
|/ / / / /
* | | | | Merge pull request #38565 from nekomatata/export-default-valuesRémi Verschelde2021-02-211-1/+5
|\ \ \ \ \ | | | | | | | | | | | | Fixed export var default value in PackedScene when script is not loaded in editor
| * | | | | Fixed export var default value in PackedScene when script is not loaded in ↵PouleyKetchoupp2020-05-081-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | editor
* | | | | | Draw an outline for 2D debug collision shapesHugo Locurcio2021-02-205-4/+29
| |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes them easier to distinguish, especially when used in a TileMap. The default color's opacity has been slightly decreased to account for the new outline.
* | | | | Merge pull request #42427 from KoBeWi/achtung_sizeRémi Verschelde2021-02-192-1/+14
|\ \ \ \ \ | | | | | | | | | | | | Warn when setting Control size inside ready()
| * | | | | Warn when setting Control size inside ready()Tomasz Chabora2021-02-192-1/+14
| | | | | |
* | | | | | Merge pull request #45990 from charles-l/masterRémi Verschelde2021-02-191-1/+1
|\ \ \ \ \ \ | |/ / / / / |/| | | | | improve error message when travel() is called on an AnimationNodeStateMachine when the state machine is not playing
| * | | | | improve error message when travel() is called on an ↵nc2021-02-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | AnimationNodeStateMachine when the state machine is not playing
* | | | | | Update documentation for the new ProcessModeAaron Franke2021-02-192-16/+16
| | | | | |
* | | | | | Merge pull request #46196 from nmrkr/visual-shader-invalid-forced-connectRémi Verschelde2021-02-191-0/+6
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix crash when calling connect_nodes_forced with invalid params
| * | | | | | Fix crash when calling connect_nodes_forced with invalid paramsDelf Neumärker2021-02-181-0/+6
| | | | | | |
* | | | | | | doc: Sync classref with current sourceRémi Verschelde2021-02-194-20/+20
| |_|_|/ / / |/| | | | | | | | | | | | | | | | | And fix various bogus bindings following previous PRs.
* | | | | | Merge pull request #46191 from reduz/refactor-process-modeRémi Verschelde2021-02-1912-139/+188
|\ \ \ \ \ \ | | | | | | | | | | | | | | Refactor Process Mode
| * | | | | | Refactor Process Modereduz2021-02-1812-139/+188
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implements https://github.com/godotengine/godot-proposals/issues/1835#issuecomment-727186192 * PauseMode is now ProcessMode, containing the following states: ``` PROCESS_MODE_INHERIT, // same as parent node PROCESS_MODE_NORMAL, // process only if not paused PROCESS_MODE_PAUSE_ONLY, // process only if paused PROCESS_MODE_ALWAYS, // process always PROCESS_MODE_DISABLED, // never process ``` * NOTIFICATION_PAUSED and NOTIFICATION_UNPAUSED are received effectively when the node is paused and unpaused (not any longer when pause mode is set in SceneTree). * Renamed some nodes that used ProcessMode/process_mode to specify a callback type to ProcessCallback to avoid clashes.
* | | | | | Merge pull request #44737 from KoBeWi/touch_shape_screen_centered_buttonRémi Verschelde2021-02-191-5/+11
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix shape_centered property in TouchScreenButton
| * | | | | | Fix shape_centered property in TouchScreenButtonkobewi2020-12-271-5/+11
| | | | | | |
* | | | | | | Merge pull request #44181 from EricEzaM/PR/INP5-new-input-editorRémi Verschelde2021-02-191-4/+0
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | New Input Map Editor and Editor Settings Shortcut Editor
| * | | | | | | New ActionMapEditor to replace InputMapEditor. Used in ProjectSettings.Eric M2021-02-191-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Renamed to ActionMapEditor as it is more generic and can be used for more than just the InputMapEditor if required. This also includes a new Event Configuration dialog (previously "Press A key...") which can be used to create and edit InputEvents for any use - like the Project Settings input map, or the Editor Settings shortcuts.
* | | | | | | | Don't fade out after pausing unless stream is runningEllen Poe2021-02-181-1/+1
| | | | | | | |
* | | | | | | | Initialize fadeout to false in AudioStreamPlayerEllen Poe2021-02-181-1/+1
|/ / / / / / /
* | | | | | | Merge pull request #41644 from ↵Rémi Verschelde2021-02-181-0/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Eoin-ONeill-Yokai/collision_2d_shape_visualization_fix CollisionShape2D 'Disabled' Visualization Correction
| * | | | | | | Collision Shape 2D 'Disabled' Visualization CorrectionEoin O'Neill2020-12-311-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Having white or strongly desaturated debug collision shape color setting would make it harder to visualize enabled / disabled state. This change makes it easier to visualize enabled / disabled state by reducing the alpha color by half when disabled.
* | | | | | | | Fix handling of negative indices in SurfaceToolDelf Neumärker2021-02-181-0/+1
| |_|/ / / / / |/| | | | | |
* | | | | | | Merge pull request #45617 from RandomShaper/modernize_atomicsRémi Verschelde2021-02-1812-129/+155
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Modernize atomics (and fix `volatile`)
| * | | | | | | Modernize atomicsPedro J. Estébanez2021-02-1812-129/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Based on C++11's `atomic` - Reworked `SafeRefCount` (based on the rewrite by @hpvb) - Replaced free atomic functions by the new `SafeNumeric<T>` - Replaced wrong cases of `volatile bool` by the new `SafeFlag` - Platform-specific implementations no longer needed Co-authored-by: Hein-Pieter van Braam-Stewart <hp@tmm.cx>
* | | | | | | | Removed hardcoded shortcuts from /scene and converted to input actionsEric M2021-02-186-1623/+1363
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes hardcoded actions from things like LineEdit and TextEdit. Previously, things like copy, paste, etc were all hardcoded to Ctrl+C, Ctrl+V, etc. They could not be changed. This allows the possibility of them being changed, by making them use the action map. This has the added benefit of greatly simplifying the input handling logic in those controls. The logic which was previously in a huge and hard to follow switch statement has been extracted to individual methods.
* | | | | | | | Reorganize Project Settingsreduz2021-02-186-45/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -Advanced Settings toggle also hides advanced properties when disabled -Simplified Advanced Bar (errors were just plain redundant) -Reorganized rendering quality settings. -Reorganized miscelaneous settings for clean up.
* | | | | | | | Merge pull request #46170 from ↵Rémi Verschelde2021-02-181-0/+8
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gongpha/jr-_-avoid-get_tree-when-flying-colorpicker-master Avoid signal methods in ColorPicker to access the tree when it isn't in the tree
| * | | | | | | | Avoid signal methods in ColorPicker to access the tree when it isn't in the treeKongfa Waroros2021-02-181-0/+8
| | | | | | | | |
* | | | | | | | | add null check in MeshInstance::_mesh_changed()Angad Kambli2021-02-181-0/+1
| |/ / / / / / / |/| | | | | | |
* | | | | | | | Merge pull request #46151 from ellenhp/fix_spatial_player_playRémi Verschelde2021-02-182-4/+2
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | Fix a pop on play() in AudioStreamPlayer2D and 3D
| * | | | | | | Fix pops in play() of both spatial audio playersEllen Poe2021-02-172-4/+2
| | | | | | | |
* | | | | | | | Merge pull request #46124 from angad-k/cpu-particles-3d-fixRémi Verschelde2021-02-172-0/+3
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | CPUParticles3D crash fix
| * | | | | | | | add null check in _update_particle_data_buffer()Angad Kambli2021-02-172-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add check to see if p_order is in range for CPUParticles3D::set_draw_order'
* | | | | | | | | Add animation_finished signal and fix frame_changed signal for AnimatedSprite3DJitesh2021-02-171-0/+3
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #40301. Fixes #45947.
* | | | | | | | Use Vector3.UP as a default value for look_at's up vectorAaron Franke2021-02-162-4/+4
| | | | | | | |