summaryrefslogtreecommitdiff
path: root/scene
AgeCommit message (Collapse)Author
2017-08-29Merge pull request #10745 from neikeq/fix-docdata-and-stuffJuan Linietsky
DocData and virtual method type hints fixes
2017-08-29DocData and type hints fixesIgnacio Etcheverry
- Makes vararg methods automatically use PROPERTY_USAGE_NIL_IS_VARIANT on return types - Completely removes the ":type" suffix for method names. Virtual methods must use the MethodInfo constructors that takes Variant::Type or PropertyHint as the first parameter for the return type (with CLASS_INFO as a helper to get the PropertyInfo). Parameters must use PROPERTY_HINT_RESOURCE_TYPE and hint string. - PROPERTY_USAGE_NIL_IS_VARIANT is no longer needed for parameters, because parameters cannot be void. - Adds missing PROPERTY_USAGE_NIL_IS_VARIANT to virtual and built-in methods that return Variant.
2017-08-29-Fixed screen edge SSAO filter, fixes #9678Juan Linietsky
-Raised the SSAO limits, making the effect a lot more useful -Still pending to enable tresholding to avoid some hollow places
2017-08-29-Fixes to how collada generates tangents (use SurfaceTool), closes #9562Juan Linietsky
-Fix to gridmap cell size (wrong property type)
2017-08-28Merge pull request #10622 from letheed/patch-1Rémi Verschelde
Allow to disable shadow gradients in Light2D
2017-08-28-Some fixes to code completion.Juan Linietsky
-Fix getter in code completion being displayed when it shouldn't -Clean up preview generation for editors and exposed it as editor plugin
2017-08-28Merge pull request #10693 from Paulb23/offset_view_when_removing_issue_10529Rémi Verschelde
Fixed offset view when removing text, issue 10529
2017-08-27Dead code tells no talesRémi Verschelde
2017-08-27-Largely rewrote gridmap to simplify itJuan Linietsky
-Got editor working again -Added a current-floor marker on selection
2017-08-27Fixed offset view when removing text, issue 10529Paulb23
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-08-27Merge pull request #10680 from Noshyaar/pr-viewportRémi Verschelde
Viewport: fix 'size' binding from Rect2 to Vector2
2017-08-27Merge pull request #10678 from Zylann/bind_array_maxRémi Verschelde
Bind missing ArrayMesh.ARRAY_MAX
2017-08-27Viewport: fix 'size' binding from Rect2 to Vector2Poommetee Ketson
2017-08-27Bind missing ArrayMesh.ARRAY_MAXMarc Gilleron
2017-08-27Merge pull request #10600 from MasonAsh/fix-10596Rémi Verschelde
Script editor: fixed no key repeat for CTRL+Y
2017-08-27Merge pull request #10579 from quinnyo/rpc-sender-idRémi Verschelde
Method to get ID of RPC calling peer
2017-08-27Merge pull request #10591 from Rubonnek/possible-null-ptr-dereferenceRémi Verschelde
Added/Fixed null pointer checks
2017-08-27Merge pull request #10653 from tuga3d/indent-glitchRémi Verschelde
Added a cursor column check.
2017-08-27Merge pull request #10660 from Noshyaar/pr-treeRémi Verschelde
Tree: fix RMB click collapses next item
2017-08-26Add two missing Null checksHein-Pieter van Braam
These Null checks were removed in #10581 but actually changed the logic of the functions in this case. This fixes #10654
2017-08-26Added/Fixed null pointer checksWilson E. Alvarez
2017-08-26Added a cursor column check.Paulo Gomes
Fixes glich, when cursor is on column 0 of and indented line and you press return an extra indent is added.
2017-08-26Tree: fix RMB click collapses next itemPoommetee Ketson
2017-08-26Merge pull request #10656 from akien-mga/cleanup-commented-out-codeRémi Verschelde
Cleanup tons of obsolete commented out code
2017-08-26Node: Add debug info to add_child reparenting checkRémi Verschelde
Use it to remove buggy add_child in EditorAudioBus
2017-08-26Cleanup tons of obsolete commented out codeRémi Verschelde
Mostly in EditorNode, dropping some obsolete editor plugins and also a cleanup of ProjectSettings/EditorSettings.
2017-08-26-Massive clean up to gizmosJuan Linietsky
-Make sure handles are always visible (on top) -Fixed instanced scene selection (should work properly now) -Added interpolated camera -Customizable gizmo colors in editor settings
2017-08-25added finished signals to audio stream players, fixes #9928Juan Linietsky
2017-08-25Removed old fp_adjust code that conflicts with clipped rects, fixes #9925Juan Linietsky
2017-08-24Allow to disable shadow gradients in Light2D Letheed
Currently the shadow gradient can't be disabled and always has a minimum value of 1. I'm not sure why though, the default value seems to be 0 and the rasterizer checks for 0 [here](https://github.com/godotengine/godot/blob/8fc6bb8f771c520c15320c3b4be561abc648d65d/drivers/gles3/rasterizer_canvas_gles3.cpp#L1284) before enabling it. Feels like a bug to me, but if there's a reason for that let me know. As a side effect, this edit effectively changes the default value from 1 to 0 for new projects.
2017-08-24Convert Object::cast_to() to the static versionHein-Pieter van Braam
Currently we rely on some undefined behavior when Object->cast_to() gets called with a Null pointer. This used to work fine with GCC < 6 but newer versions of GCC remove all codepaths in which the this pointer is Null. However, the non-static cast_to() was supposed to be null safe. This patch makes cast_to() Null safe and removes the now redundant Null checks where they existed. It is explained in this article: https://www.viva64.com/en/b/0226/
2017-08-24Script editor: fixed no key repeat for CTRL+YMason Ashbridge
2017-08-24-Code completion for enumerationsJuan Linietsky
-Disabled GDNative and GDNativeScript so build compiles again
2017-08-23add SceneTree method to get ID of rpc calling peerQuinn Schwab
2017-08-23Merge pull request #10561 from Paulb23/smooth_scroll_input_overrideRémi Verschelde
Stops scrolling when the user issues another command
2017-08-23Merge pull request #10556 from marcelofg55/masterRémi Verschelde
Add missing NULL check for the new show_about() call
2017-08-23Merge pull request #10555 from Rubonnek/removed-unnecessary-returns-and-breaksRémi Verschelde
Removed unnecessary returns and break statements [ci skip]
2017-08-22fixed crash styleBoxTexture binding issuetoger5
2017-08-22Stops scrolling when the user issues another commandPaulb23
2017-08-22TextEdit: Copy whole line if not having selection.Andreas Haas
The functionality was already there but hidden behind a bogus return statement. Fixes #10485
2017-08-22Add missing NULL check for the new show_about() callMarcelo Fernandez
2017-08-22Removed unnecessary returns and break statementsWilson E. Alvarez
2017-08-22Change order of Null check for ParallaxLayerHein-Pieter van Braam
The change in #10524 subtly changes the behavior of set_motion_scale() and set_motion_offset() if the ParallaxLayer does not have a parent node. Previously it would still set the corresponding property, but after this change the property change would be discarded. I'm not entirely sure if this actually matters as there doesn't appear to be any code that picks up this change if the ParallaxLayer gets re-parented later, but it's better to not change behavior regardless.
2017-08-22Merge pull request #10493 from MednauN/masterRémi Verschelde
Add stretching to `TextureProgress`
2017-08-22Add stretching to `TextureProgress`Evgeny Zuev
Now `TextureProgress` has `nine_patch_stretch` flag. With this flag enabled, it's being rendered as 9-path using `stretch_margin_*` properties as texture margins. Stretching doesn't support `FILL_CLOCKWISE` and `FILL_COUNTER_CLOCKWISE` fill modes.
2017-08-22Merge pull request #10519 from toger5/remove_addition_borderRémi Verschelde
Remove addition border
2017-08-22Add null check to ParallaxLayer get_parent() callsHein-Pieter van Braam
This fixes #10515
2017-08-22Fix build after merge of #10254Rémi Verschelde
2017-08-22Merge pull request #10340 from Rubonnek/remove-unnecessary-assignmentsRémi Verschelde
Removed unnecessary assignments