summaryrefslogtreecommitdiff
path: root/scene
AgeCommit message (Collapse)Author
2022-08-31Implement Physical Light Units as an optional setting.clayjohn
This allows light sources to be specified in physical light units in addition to the regular energy multiplier. In order to avoid loss of precision at high values, brightness values are premultiplied by an exposure normalization value. In support of Physical Light Units this PR also renames CameraEffects to CameraAttributes.
2022-08-31Merge pull request #63893 from guilhermefelipecgs/fix_state_machine_is_playingRémi Verschelde
Fix AnimationNodeStateMachinePlayback::is_playing
2022-08-31Merge pull request #64247 from guilhermefelipecgs/fix_end_nodeRémi Verschelde
Re-add AnimationNodeStateMachine::end_node for root state machine
2022-08-31Merge pull request #59919 from ↵Rémi Verschelde
piiertho/enhancement/rename-AnimationNodeTransition-input_count-to_enabled_inputs
2022-08-31Merge pull request #65092 from groud/inherited_scenes_tilesetsRémi Verschelde
2022-08-31enhancement: Rename declared property AnimationNodeTransition::input_count ↵Pierre-Thomas Meisels
to AnimationNodeTransition::enabled_inputs
2022-08-31Fixes inherited scenes not working in TileSet scenes collection sourcesGilles Roudière
2022-08-31Merge pull request #63413 from Calinou/volumetric-fog-add-per-light-energy-2Rémi Verschelde
Add a per-light volumetric fog energy property
2022-08-31Merge pull request #63394 from Calinou/curve-gradient-rename-interpolateRémi Verschelde
Rename Curve/Curve2D/Curve3D/Gradient `interpolate()` to `sample()`
2022-08-30Rename Curve/Curve2D/Curve3D/Gradient `interpolate()` to `sample()`Hugo Locurcio
"sampling" is a more accurate term than "interpolating" for what's happening when using that function.
2022-08-30Merge pull request #65087 from TokageItLab/change-skeleton-3d-apiRémi Verschelde
Clean-up/change some Skeleton3D API
2022-08-30Add a per-light volumetric fog energy propertyHugo Locurcio
Per-light energy gives more control to the user on the final result of volumetric fog. Specific lights can be fully excluded from volumetric fog by setting their volumetric fog energy to 0, which improves performance slightly. This can also be used to prevent short-lived dynamic effects from poorly interacting with volumetric fog, as it's updated over several frames by default unless temporal reprojection is disabled. Volumetric fog shadows now obey Light3D's Shadow Opacity property as well. The shadow fog fade property was removed as it had little visible impact on the final scene's rendering.
2022-08-30Merge pull request #47744 from KoBeWi/press_F_to_play_exitRémi Verschelde
2022-08-30Merge pull request #64554 from nongvantinh/material_are_not_appliedRémi Verschelde
2022-08-30Merge pull request #64327 from KoBeWi/_update_callableRémi Verschelde
2022-08-30Merge pull request #65042 from YuriSizov/editor-docks-tabbar-bgRémi Verschelde
2022-08-30Clean-up/change some Skeleton3D APISilc Renew
2022-08-30Merge pull request #65072 from Mickeon/try-tween-float-castRémi Verschelde
2022-08-30Change _redraw_callback to callable_mpkobewi
2022-08-30Fix build issue after #64377 and #64701Rémi Verschelde
2022-08-30Merge pull request #63003 from Geometror/msaa-2dRémi Verschelde
2022-08-30Merge pull request #64377 from Mickeon/rename-canvas-redrawRémi Verschelde
Rename `CanvasItem.update()` to `queue_redraw()`
2022-08-30Merge pull request #64701 from Geometror/fix-atlastexture-gpuparticles-2dRémi Verschelde
Fix GPUParticles2D ignoring AtlasTexture region
2022-08-30Allow to change the Stop shortcut used at runtimekobewi
2022-08-30Merge pull request #63902 from dalexeev/string-casesRémi Verschelde
2022-08-30Merge pull request #65039 from Mickeon/rename-treeitem-tooltipRémi Verschelde
2022-08-30Merge pull request #64410 from MewPurPur/rename-notification-instancedRémi Verschelde
2022-08-30Add `String.to_{camel,pascal,snake}_case` methodsDanil Alexeev
2022-08-30Fix GPUParticles2D ignoring AtlasTexture regionHendrik Brucker
2022-08-30Rename TreeItem's `set_tooltip` to `set_tooltip_text`Micky
`set_tooltip` -> `set_tooltip_text` `get_tooltip` -> `get_tooltip_text` For consistency: `get_button_tooltip` -> `get_button_tooltip_text` And the `tooltip` parameter in `add_button` was renamed to `tooltip_text`
2022-08-30Cast between float and ints in Tween.`tween_property()`Micky
2022-08-30Merge pull request #65066 from aaronfranke/str-path-joinRémi Verschelde
2022-08-30Merge pull request #61883 from ↵Rémi Verschelde
Calinou/material-tweak-default-alpha-scissor-threshold Improve documentation for BaseMaterial3D's alpha scissor threshold
2022-08-30Fixed surface material overrides are not applied when the new mesh is setNong Van Tinh
2022-08-29Rename String `plus_file` to `path_join`Aaron Franke
2022-08-29Add background to TabContainer's tabbar and editor docksYuri Sizov
2022-08-29Rename `CanvasItem.update()` to `queue_redraw()`Micky
Affects a lot of classes. Very thoroughly checked signal connections and deferred calls to this method, add_do_method/add_undo_method calls, and so on. Also renames the internal `_update_callback()` to `_redraw_callback()` for consistency. Just a few comments have also been changed to say "redraw". In CPUParticles2D, there was a private variable with the same name. It has been renamed to `do_redraw`.
2022-08-29Improve documentation for BaseMaterial3D's alpha scissor thresholdHugo Locurcio
2022-08-29Expose input interaction virtual functions in CollisionObjectrafallus
2022-08-29Merge pull request #64119 from YuriSizov/theme-init-databaseRémi Verschelde
2022-08-29Merge pull request #64980 from TokageItLab/fix-animedit-draw-and-find-keyRémi Verschelde
2022-08-29Revert "Remove NOTIFICATION_ENTER_TREE when paired with ↵Rémi Verschelde
NOTIFICATION_THEME_CHANGED" This reverts commit 4b817a565cab8af648c88cfc7ab6481e86ee3625. Fixes #64988. Fixes #64997. This caused several regressions (#64988, #64997, https://github.com/godotengine/godot/issues/64997#issuecomment-1229970605) which point at a flaw in the current logic: - `Control::NOTIFICATION_ENTER_TREE` triggers a *deferred* notification with `NOTIFCATION_THEME_CHANGED` as introduced in #62845. - Some classes use their `THEME_CHANGED` to cache theme items in member variables (e.g. `style_normal`, etc.), and use those member variables in `ENTER_TREE`, `READY`, `DRAW`, etc. Since the `THEME_CHANGE` notification is now deferred, they end up accessing invalid state and this can lead to not applying theme properly (e.g. for EditorHelp) or crashing (e.g. for EditorLog or CodeEdit). So we need to go back to the drawing board and see if `THEME_CHANGED` can be called earlier so that the previous logic still works? Or can we refactor all engine code to make sure that: - `ENTER_TREE` and similar do not depend on theme properties cached in member variables. - Or `THEME_CHANGE` does trigger a general UI update to make sure that any bad theme handling in `ENTER_TREE` and co. gets fixed when `THEME_CHANGE` does arrive for the first time. But that means having a temporary invalid (and possibly still crashing) state, and doing some computations twice which might be heavy (e.g. `EditorHelp::_update_doc()`).
2022-08-29Merge pull request #64964 from MewPurPur/reorganize-label-propertiesRémi Verschelde
Reorganize Label and RichTextLabel properties
2022-08-29Improve documentation for `get_animation()`Haoyu Qiu
2022-08-29Merge pull request #64960 from YeldhamDev/more_hl_stuffRémi Verschelde
2022-08-29Merge pull request #64967 from YeldhamDev/pm_up_fixRémi Verschelde
2022-08-29Merge pull request #64972 from YeldhamDev/you_too_menubarRémi Verschelde
2022-08-29Fixed AnimationTrackEditor redraw/deselect timing and find key compearationSilc Renew
2022-08-28Merge pull request #64999 from Chaosus/fix_packed_scene_crashRémi Verschelde
2022-08-28Prevent crash at loading some scenesYuri Rubinsky