summaryrefslogtreecommitdiff
path: root/scene
AgeCommit message (Collapse)Author
2018-04-19Fix Coverity reports of uninitialized scalar variableRémi Verschelde
Fixes most current reports on Coverity Scan of uninitialized scalar variable (CWE-457): https://cwe.mitre.org/data/definitions/457.html These happen most of the time (in our code) when instanciating structs without a constructor (or with an incomplete one), and later returning the instance. This is sometimes intended though, as some parameters are only used in some situations and should not be double-initialized for performance reasons (e.g. `constant` in ShaderLanguage::Token).
2018-04-19Fixed context menu TTR bugssersoong
2018-04-18Merge pull request #18172 from Chaosus/fix_notificationRémi Verschelde
Prevent visibility notification from being called twice in object creation
2018-04-18Merge pull request #18161 from flashyincceo/fixing-bug-#18128Rémi Verschelde
Add popup_closed signal for ColorPickerButton
2018-04-18Merge pull request #18204 from tagcup/quat_scaleRémi Verschelde
Avoid converting Quat to Euler angles when not necessary.
2018-04-18Merge pull request #18230 from volzhs/fix-image-errorRémi Verschelde
Fix index out of size error on Image
2018-04-17Ability to change path color with self modulatevolzhs
Fix #18164
2018-04-16Fix error spam with Sprite has compressed texturevolzhs
Fix #18177
2018-04-16Fix index out of size error on Imagevolzhs
Fix #18229
2018-04-14Avoid converting Quat to Euler angles when not necessary.tagcup
Also ensure that get_scale doesn't arbitrarlity change the signs of scales, ensuring that the combination of get_rotation and get_scale gives the correct basis. Added various missing functions and constructors. Should close #17968.
2018-04-14ItemList selection: Check against item countShyRed
ItemList needs to check against the number of items available when the user moves the selection via "ui_right" action.
2018-04-13Add popup_closed signal for ColorPickerButtonPeter Folkins
Fixes #17688
2018-04-13Merge pull request #17502 from groud/2Deditor_rectJuan Linietsky
Remove the rect surrounding 2D nodes in 2D editor when it's not pertinent
2018-04-13Prevent visibility notification been called twice in object creationChaosus
2018-04-11Use internal physics processing for Nodes' internal logicRémi Verschelde
2018-04-11Update classref and docs, fix missing parameters' namePoommetee Ketson
2018-04-10Fixed color region calculation for the first linePaulb23
2018-04-10Implement Input.set_default_cursor_shape to change the default shapeGuilherme Felipe
Closes #18043
2018-04-10Merge pull request #18095 from robfram/fix-lineedit-17113Rémi Verschelde
LineEdit placeholder alignment, content margins, and overflow bugs
2018-04-10Merge pull request #18091 from RandomShaper/icon-radio-itemRémi Verschelde
Add support for radio-looking items with icon
2018-04-10Merge pull request #17081 from endragor/no-press-when-scrollRémi Verschelde
Make Button not emit press when container is scrolled
2018-04-10Merge pull request #17080 from simedis/pretty_print_treeRémi Verschelde
Made Node.print_tree() print prettily
2018-04-09LineEdit placeholder alignment, content margins, and overflow bugsrobfram
LineEdit doesn't correctly uses style margins nor use placeholders width correctly, causing multiple rendering bugs.
2018-04-09Merge pull request #18080 from Alexander-Alekseev/fix_rigidbody_config_warningRémi Verschelde
Fix of RigidBody's configuration warning for Z axis
2018-04-09Merge pull request #16473 from ianb96/move_tabRémi Verschelde
Drag to Rearrange Editor Docks
2018-04-09Add support for radio-looking items with iconPedro J. Estébanez
Letting users of `PopupMenu` use them. `OptionButton` was one of those interested and is updated in this commit. Fixes #18063.
2018-04-09Merge pull request #18040 from Paulb23/color_region_cacheRémi Verschelde
Fixed colour regions and added local colour region cache
2018-04-09Make BaseButton not emit press when container is scrolledRuslan Mustakov
This fixes the problem described in #13996 in a proper way. This also adds "deadzone" property to ScrollContainer. It can be used on mobile, where taps are not as precise as mouse clicks. Player could slightly move their finger when tapping, in which case we still want the button to be pressed rather than the container to be scrolled.
2018-04-09Made print_tree_pretty() function which displays scene tree graphicallyGeoffrey
2018-04-09Fix RigidBody's configuration warning for Z axisAlexander Alekseev
2018-04-08Merge pull request #18072 from AlexHolly/masterGeorge Marques
expose Tileset TileMode to GDScript
2018-04-08Drag to rearrange Tabs and TabContainerianb96
2018-04-08expose Tileset TileMode to GDScriptAlexander Holland
2018-04-08Merge pull request #16705 from Chaosus/generate_normals_flipJuan Linietsky
Add flip switch to SurfaceTool.generate_normals
2018-04-08Merge pull request #16707 from Web-eWorks/atlasfixesJuan Linietsky
Fix Sprite3D's incorrect behavior when using AtlasTextures.
2018-04-08Merge pull request #16574 from isaacremnant/better_grow_directionJuan Linietsky
Added GROW_DIRECTION_BOTH for controls
2018-04-08Merge pull request #17150 from robfram/check-animation-playing-backwardsJuan Linietsky
Added `get_playing_speed` method to AnimationPlayer, returning the actual playing speed of the animation being played
2018-04-08Merge pull request #17227 from Faless/multiplayer_apiJuan Linietsky
[RFC] MultiplayerAPI refactor
2018-04-08Merge pull request #17382 from bojidar-bg/13971-path-array-unsavedJuan Linietsky
Duplicate Arrays and Dictionaries when instancing scene in editor
2018-04-08Merge pull request #17443 from Noshyaar/tilesetcrashJuan Linietsky
Fix converting to tileset crashes Godot if existing file is not tileset
2018-04-07Removed strange custom world2d in CanvasLayer, been there since always and ↵Juan Linietsky
not sure why. Fixes #17524, fixes #17523.
2018-04-07Document condition to avoid mistakes (like #17690)Juan Linietsky
2018-04-07Merge pull request #17602 from ivodopiviz/tscn-issuesJuan Linietsky
Removed unnecessary newlines from tscn
2018-04-07Merge pull request #17642 from brendor/masterJuan Linietsky
Particles 2D and 3D - fix hue variation not working
2018-04-07Merge pull request #17730 from RandomShaper/radio-buttons-in-menusJuan Linietsky
Radio buttons in menus
2018-04-07Merge pull request #17744 from robfram/fix-rtl-tableJuan Linietsky
Fix `RichTextLabel` column size growing beyond its calculated `max_width`
2018-04-07Merge pull request #17752 from nikibobi/texture-progress-tintJuan Linietsky
Add tint property to TextureProgress
2018-04-07Merge pull request #17809 from RandomShaper/menu-item-on-releaseJuan Linietsky
Improve popup menus usability
2018-04-07Fixed color regions and added local color region cachePaulb23
2018-04-07Improve popup menus usabilityPedro J. Estébanez
It seems that popups were intended to "grab" the mouse click that triggered them, but their intent was being lost. This commit does the necessary changes to let it happen and updates items that were trying to get advantage of it, because the semantics of `Control::grab_click_focus()` have changed a bit. Namely, it must be called **before** showing the modal. This allows to popup a menu and activate an item in it in a single click-point-release cycle, instead of having to click once to open the menu and once more to pick an item. This ability is extended even to context menus activated with the RMB (or any other mouse button, for that matter). The editor benefits from this in the context menu of the tree dock, which has been patched to opt-in for this feature. This improves UX a bit by saving unnecessary clicks. From now on, `PopupMenu` always grabs the click and also invalidates the first button release unless the mouse has moved (that's what `set_invalidate_click_until_motion()` was doing and now it's removed), so there is no longer the need of doing both things at every point a pop-up menu is shown.