summaryrefslogtreecommitdiff
path: root/scene
AgeCommit message (Collapse)Author
2020-11-07Reorganized core/ directory, it was too fatty alreadyreduz
-Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code
2020-11-06Merge pull request #43283 from Calinou/color-remove-contrastedRémi Verschelde
Remove `Color.contrasted()` as its behavior is barely useful
2020-11-06Fix uninitialised variables in the BaseMaterial3D.bruvzg
2020-11-04doc: Sync classref with current source + fixup some bindingsRémi Verschelde
Includes various changes triggered by the refactoring of method bindings.
2020-11-04Implement DirectionalLight2Dreduz
Also separated Light2D in PointLight2D and DirectionalLight2D. Used PointLight2D because its more of a point, and it does not work the same as OmniLight (as shape depends on texture). Added a few utility methods to Rect2D I needed.
2020-11-03Merge pull request #39635 from Meriipu/master_nodropRémi Verschelde
do not drop mouseover on WM_MOUSE_EXIT
2020-11-03Remove `Color.contrasted()` as its behavior is barely usefulHugo Locurcio
Returning the most contrasting color isn't a trivial task, as there are often many possible choices. It's usually best left for the user to implement using a script.
2020-11-03Tooltips: Improve code clarity and docsRémi Verschelde
The return type for `_make_custom_tooltip` is clarified as Control, and users should make sure to return a visible node for proper size calculations. Moreover in the current master branch, a PopupPanel will be added as parent to the provided tooltip to make it a sub-window. Clarifies documentation for `Control._make_custom_tooltip`, and shows how to use the (until now undocumented) "TooltipPanel" and "TooltipLabel" theme types to style tooltips. Fixes #39677.
2020-11-02Alpha Hash and Alpha2Coverage ImplementationMarios Staikopoulos
2020-11-01Merge pull request #42703 from RandomShaper/fix_anim_backwardsRémi Verschelde
Fix premature end of animation playing backwards
2020-10-30Refactor pixel snapping.reduz
-Rename pixel_snap to snap_2d_to_vertices -Added snap_2d_to_transforms which is more useful Fixes #41814 Solves proposal https://github.com/godotengine/godot-proposals/issues/1666 Supersedes #35606, supersedes #41535, supersedes #41534
2020-10-29Fix crash in TabContainer in case of no content at allvolzhs
2020-10-28Update scene/resources/dynamic_font.cppJuan Linietsky
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-10-28Implement CanvasGroup and CanvasItem clippingreduz
-Allows merging several 2D objects into a single draw operation -Use current node to clip children nodes -Further fixes to Vulkan barriers -Changed font texture generation to white, fixes dark eges when blurred -Other small misc fixes to backbuffer code.
2020-10-28Removed redundant line from TextEditYuri Roubinsky
introduced in https://github.com/godotengine/godot/pull/43026
2020-10-28Merge pull request #43147 from Mallos/fix/sprite2d-rectRémi Verschelde
fix(sprite2d): Rect is not handling pixel snap
2020-10-28Merge pull request #42766 from volzhs/tab-containerRémi Verschelde
Put unselected tabs back in TabContainer control
2020-10-27fix(sprite2d): Rect is not handling pixel snapEric Tuvesson
related https://github.com/godotengine/godot/issues/42985
2020-10-27Fixes setting top_level not updating the global positionGilles Roudière
2020-10-27Visual Shader Parenthesis fixLuke Costello
missing parenthesis were added to prevent conditional statement from interacting with operations
2020-10-26Fix uninitialized `Viewport::use_debanding` member variableHugo Locurcio
2020-10-26Merge pull request #42969 from Klowner/fixes/42967-popup-positionRémi Verschelde
include parent display location in popup location calculation
2020-10-26Merge pull request #43075 from Xrayez/color-ramp-to-gradientRémi Verschelde
Fixup `ColorRamp` to `Gradient` renames
2020-10-25ScriptEditor: Fix line number gutter drag selectDevin Curry
Fixes issue #42722
2020-10-25Fixup `ColorRamp` to `Gradient` renamesAndrii Doroshenko (Xrayez)
2020-10-24Refactored 2D shader and lighting systemreduz
-Removed normal/specular properties from nodes -Create CanvasTexture, which can contain normal/specular channels -Refactored, optimized and simplified 2D shaders -Use atlas for light textures. -Use a shadow atlas for shadow textures. -Use both items aboves to make light rendering stateless (faster). -Reorganized uniform sets for more efficiency.
2020-10-24Rename button group property to button_groupAaron Franke
2020-10-23Shows ColorRect in Color constants autocompletionYuri Roubinsky
2020-10-22Merge pull request #42907 from Xrayez/add-ref-rect-border-widthRémi Verschelde
Add `border_width` to `ReferenceRect`
2020-10-21include parent display location in popup location calculationMark Riedesel
2020-10-21Remove printing of windowpos/screenpos in MenuButtonYuri Roubinsky
2020-10-20Add `border_width` to `ReferenceRect`Andrii Doroshenko (Xrayez)
Exposes a hidden parameter behind `CanvasItem.draw_rect()`.
2020-10-20Removed underscore from GraphEdit begin/end_node_move signalsYuri Roubinsky
2020-10-20Merge pull request #42891 from gvaneyck/graph-begin-node-move-timingRémi Verschelde
Fix emit_signal timing for GraphEdit's begin/end node move
2020-10-19Fix emit_signal timing for GraphEdit's begin/end node moveGabriel Van Eyck
2020-10-19Merge pull request #42874 from dreamsComeTrue/text-edit-bounds-fixRémi Verschelde
TextEdit - fix valid bounds in 'set_line'.
2020-10-19Merge pull request #42904 from Xrayez/rects-rename-fixupRémi Verschelde
Fixup `ColorRect` and `TextureRect` renames
2020-10-19Merge pull request #38097 from Calinou/add-viewport-debandingJuan Linietsky
Add a debanding property to Viewport
2020-10-19Fixup `ColorRect` and `TextureRect` renamesAndrii Doroshenko (Xrayez)
2020-10-19Merge pull request #42558 from Chaosus/vs_curveRémi Verschelde
Added visual shader node to easy gather data from a CurveTexture
2020-10-18Revert "Replace SAO implementation with MSSAO"Juan Linietsky
2020-10-18Merge pull request #42077 from clayjohn/MSSAOJuan Linietsky
Replace SAO implementation with MSSAO
2020-10-18Merge pull request #42201 from clayjohn/Vulkan-new-glowJuan Linietsky
Optimize Glow with local memory
2020-10-18Replace SAO implementation with MSSAOclayjohn
2020-10-18Optimize Glow with local memoryclayjohn
2020-10-18Merge pull request #41418 from clayjohn/Vulkan-aerialRémi Verschelde
Add aerial perspective to fixed fog
2020-10-18Refactor MethodBind to use variadic templatesreduz
Removed make_binders and the old style generated binders.
2020-10-18Added VisualShaderNodeCurve to easy gather data from a CurveTextureYuri Roubinsky
2020-10-17Add aerial perspective to fixed fogclayjohn
2020-10-17TextEdit - fix valid bounds in 'set_line'. Fixes #41967Dominik 'dreamsComeTrue' Jasiński