summaryrefslogtreecommitdiff
path: root/scene
AgeCommit message (Collapse)Author
2018-05-02Merge pull request #18566 from robfram/fix-lineedit-18184Rémi Verschelde
Fix placeholders position in `LineEdit` when editing inside the Editor
2018-05-02Merge pull request #18451 from volzhs/node-nameRémi Verschelde
Check invalid node name
2018-05-02Fix placeholders position in `LineEdit` when editing inside the Editorrobfram
Editing the `Text` property through the editor causes a wrong placement of the placeholder, as it calls `LineEdit::clear_internal`, which was wrongly reseting the cached placeholder width. Fix #18184.
2018-05-03Check invalid node namevolzhs
2018-05-02WIP Polygon2D weight editingJuan Linietsky
2018-05-02Merge pull request #17196 from RandomShaper/improve-gui-touchRémi Verschelde
Implement universal translation of touch to mouse (3.1)
2018-05-01Merge pull request #18291 from akien-mga/coverity-uninitialized-scalar-varRémi Verschelde
Fix Coverity reports of uninitialized scalar variable
2018-05-01Adds z-index properties to TileSets.Pieter-Jan Briers
2018-05-01Merge pull request #16977 from SASUPERNOVA/masterRémi Verschelde
Created a new function named get_element in GridContainer. This funct…
2018-05-01Fix Node2D::global_scale's PropertyInfo typeRémi Verschelde
Was missed in #18391.
2018-05-01Merge pull request #18348 from rfht/masterRémi Verschelde
fix clang6 assignment error
2018-05-01Merge pull request #18382 from groud/fix_gridcontainer_children_visibilityRémi Verschelde
Fix GridContainer's children visibility breaking the layout
2018-05-01Merge pull request #18321 from Crazy-P/Fixes-logically-dead-codeRémi Verschelde
Fixes logically dead code (Coverity)
2018-04-30Implement universal translation of touch to mousePedro J. Estébanez
Now generating mouse events from touch is optional (on by default) and it's performed by `InputDefault` instead of having each OS abstraction doing it. (*) The translation algorithm waits for a touch index to be pressed and tracks it translating its events to mouse events until it is raised, while ignoring other pointers. Furthermore, to avoid an stuck "touch mouse", since not all platforms may report touches raised when the window is unfocused, it checks if touches are still down by the time it's focused again and if so it resets the state of the emulated mouse. *: In the case of Windows, since it already provides touch-to-mouse translation by itself, "echo" mouse events are filtered out to have it working like the rest. On X11 a little hack has been needed to avoid a case of a spurious mouse motion event that is generated during touch interaction. Plus: Improve/fix tracking of current mouse position. ** Summary of changes to settings: ** - `display/window/handheld/emulate_touchscreen` becomes `input/pointing_devices/emulate_touch_from_mouse` - New setting: `input/pointing_devices/emulate_mouse_from_touch`
2018-04-30Merge pull request #18370 from KidRigger/masterMax Hilbrunner
Adds support for CMD+Left and CMD+Right on MacOS
2018-04-30Merge pull request #18489 from Calinou/tweak-property-hint-rangesMax Hilbrunner
Tweak the property hint ranges of caret blink and line length guideline
2018-04-30Make the LineEdit "secret" character customizableHugo Locurcio
2018-04-28Tweak the property hint ranges of caret blink and line length guidelineHugo Locurcio
This allows for more precise adjustments.
2018-04-27CSG Support for Godot!Juan Linietsky
-Missing Icons -Missing freezing option (for baking light and faster load) -Missing a way to export from Godot (GLTF2?) -Probably buggy (may freeze editor, can be worked around easily, but let me know if this happens so it's easier to catch bugs) Happy testing!
2018-04-27Fixed stylebox crashsersoong
2018-04-24Fix Node2D::global_position to have Vector2 typeRuslan Mustakov
2018-04-23Fix GridContainer's children visibility breaking the layoutgroud
2018-04-23Adds support for CMD+Left and CMD+Right on MacOSAnish
CMD+Left and CMD+Right are hotkeys used on MacOS for moving cursor to start and end of the text, respectively. They are now supported, alongside ALT+key. Fixes: #17631
2018-04-22Change ".." punctuation for "..." in editor strings (#16507)Hugo Locurcio
2018-04-21fix clang6 assignment errorthfrwn
2018-04-21Fixes logically dead code (Coverity)Crazy-P
Fixes reported logically dead codes by Coverity * image.cpp: Doesn't really need any modification. But to remove the bug report then we have to move the MAX call away from the for loop statement. * rasterizer_gles3.cpp: Removes unnecessary elif condition since it is checked earlier in the function * collada.cpp: If stamement never reached due to macro ERR_CONTINUE does the same. * navigation_mesh.cpp: Variables should always be null - however, also checked for the very same condition in their function call. Leaving this for review (whether the function call is necessary or not) * path_editor_plugin.cpp: If cancel is true, then it should restore the edited value to the original provided. http://docs.godotengine.org/en/3.0/classes/class_editorspatialgizmo.html#class-editorspatialgizmo-commit-handle * spatial_editor_gizmos.cpp: the very condition of i >= 3 is predetermined in the if case right before it. Thus case 1 is always '1' and case 2 is always '-1' * grid_map_editor.cpp: Same as above in spatial_editor_gizmos.cpp * voxel_light_baker.cpp: Same as above in spatial_editor_gizmos.cpp * visual_server.cpp: Same as above in spatial_editor_gizmos.cpp * visual_script_expression.cpp: char '-' is already true in the switch case mechanism. Thus it can never reach to default case. * particles.cpp: Case 'PARAM_MAX' is unreachable due to index checking right before the switch execution. * shader_language.cpp: Invalid index is handled in switch default case. `type < TYPE_FLOAT && type > TYPE_VEC4` -> `(type < TYPE_FLOAT || type > TYPE_VEC4`) Fixes the "always false problem" in TODO comment.
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-15Updated fork to match current version of Godot.SASUPERNOVA
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.