summaryrefslogtreecommitdiffstats
path: root/scene
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #10745 from neikeq/fix-docdata-and-stuffJuan Linietsky2017-08-293-3/+3
|\ | | | | DocData and virtual method type hints fixes
| * DocData and type hints fixesIgnacio Etcheverry2017-08-293-3/+3
| | | | | | | | | | | | | | - 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.
* | -Fixed screen edge SSAO filter, fixes #9678Juan Linietsky2017-08-291-4/+4
| | | | | | | | | | -Raised the SSAO limits, making the effect a lot more useful -Still pending to enable tresholding to avoid some hollow places
* | -Fixes to how collada generates tangents (use SurfaceTool), closes #9562Juan Linietsky2017-08-292-2/+15
| | | | | | | | -Fix to gridmap cell size (wrong property type)
* | Merge pull request #10622 from letheed/patch-1Rémi Verschelde2017-08-281-1/+1
|\ \ | | | | | | Allow to disable shadow gradients in Light2D
| * | Allow to disable shadow gradients in Light2D Letheed2017-08-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | -Some fixes to code completion.Juan Linietsky2017-08-281-0/+2
| | | | | | | | | | | | | | | -Fix getter in code completion being displayed when it shouldn't -Clean up preview generation for editors and exposed it as editor plugin
* | | Merge pull request #10693 from Paulb23/offset_view_when_removing_issue_10529Rémi Verschelde2017-08-281-2/+7
|\ \ \ | |_|/ |/| | Fixed offset view when removing text, issue 10529
| * | Fixed offset view when removing text, issue 10529Paulb232017-08-271-2/+7
| | |
* | | Dead code tells no talesRémi Verschelde2017-08-2754-4319/+79
| | |
* | | -Largely rewrote gridmap to simplify itJuan Linietsky2017-08-272-16/+59
| | | | | | | | | | | | | | | -Got editor working again -Added a current-floor marker on selection
* | | Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-27373-373/+373
|/ /
* | Merge pull request #10680 from Noshyaar/pr-viewportRémi Verschelde2017-08-271-1/+1
|\ \ | | | | | | Viewport: fix 'size' binding from Rect2 to Vector2
| * | Viewport: fix 'size' binding from Rect2 to Vector2Poommetee Ketson2017-08-271-1/+1
| | |
* | | Merge pull request #10678 from Zylann/bind_array_maxRémi Verschelde2017-08-271-0/+1
|\ \ \ | |/ / |/| | Bind missing ArrayMesh.ARRAY_MAX
| * | Bind missing ArrayMesh.ARRAY_MAXMarc Gilleron2017-08-271-0/+1
| | |
* | | Merge pull request #10600 from MasonAsh/fix-10596Rémi Verschelde2017-08-271-0/+9
|\ \ \ | | | | | | | | Script editor: fixed no key repeat for CTRL+Y
| * | | Script editor: fixed no key repeat for CTRL+YMason Ashbridge2017-08-241-0/+9
| | |/ | |/|
* | | Merge pull request #10579 from quinnyo/rpc-sender-idRémi Verschelde2017-08-272-0/+12
|\ \ \ | | | | | | | | Method to get ID of RPC calling peer
| * | | add SceneTree method to get ID of rpc calling peerQuinn Schwab2017-08-232-0/+12
| | | |
* | | | Merge pull request #10591 from Rubonnek/possible-null-ptr-dereferenceRémi Verschelde2017-08-272-3/+3
|\ \ \ \ | | | | | | | | | | Added/Fixed null pointer checks
| * | | | Added/Fixed null pointer checksWilson E. Alvarez2017-08-262-3/+3
| | |_|/ | |/| |
* | | | Merge pull request #10653 from tuga3d/indent-glitchRémi Verschelde2017-08-271-2/+2
|\ \ \ \ | | | | | | | | | | Added a cursor column check.
| * | | | Added a cursor column check.Paulo Gomes2017-08-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Fixes glich, when cursor is on column 0 of and indented line and you press return an extra indent is added.
* | | | | Merge pull request #10660 from Noshyaar/pr-treeRémi Verschelde2017-08-271-13/+15
|\ \ \ \ \ | | | | | | | | | | | | Tree: fix RMB click collapses next item
| * | | | | Tree: fix RMB click collapses next itemPoommetee Ketson2017-08-261-13/+15
| |/ / / /
* | / / / Add two missing Null checksHein-Pieter van Braam2017-08-261-1/+4
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | These Null checks were removed in #10581 but actually changed the logic of the functions in this case. This fixes #10654
* | | | Merge pull request #10656 from akien-mga/cleanup-commented-out-codeRémi Verschelde2017-08-264-602/+80
|\ \ \ \ | | | | | | | | | | Cleanup tons of obsolete commented out code
| * | | | Cleanup tons of obsolete commented out codeRémi Verschelde2017-08-264-602/+80
| |/ / / | | | | | | | | | | | | | | | | Mostly in EditorNode, dropping some obsolete editor plugins and also a cleanup of ProjectSettings/EditorSettings.
* / / / Node: Add debug info to add_child reparenting checkRémi Verschelde2017-08-261-7/+11
|/ / / | | | | | | | | | Use it to remove buggy add_child in EditorAudioBus
* | | -Massive clean up to gizmosJuan Linietsky2017-08-2612-42/+39
| | | | | | | | | | | | | | | | | | | | | -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
* | | added finished signals to audio stream players, fixes #9928Juan Linietsky2017-08-253-0/+20
| | |
* | | Removed old fp_adjust code that conflicts with clipped rects, fixes #9925Juan Linietsky2017-08-251-4/+2
| | |
* | | Convert Object::cast_to() to the static versionHein-Pieter van Braam2017-08-2476-444/+394
| |/ |/| | | | | | | | | | | | | | | | | | | | | 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/
* | -Code completion for enumerationsJuan Linietsky2017-08-242-4/+15
|/ | | | -Disabled GDNative and GDNativeScript so build compiles again
* Merge pull request #10561 from Paulb23/smooth_scroll_input_overrideRémi Verschelde2017-08-233-2/+21
|\ | | | | Stops scrolling when the user issues another command
| * Stops scrolling when the user issues another commandPaulb232017-08-223-2/+21
| |
* | Merge pull request #10556 from marcelofg55/masterRémi Verschelde2017-08-231-1/+1
|\ \ | | | | | | Add missing NULL check for the new show_about() call
| * | Add missing NULL check for the new show_about() callMarcelo Fernandez2017-08-221-1/+1
| |/
* | Merge pull request #10555 from Rubonnek/removed-unnecessary-returns-and-breaksRémi Verschelde2017-08-231-2/+0
|\ \ | | | | | | | | | | | | Removed unnecessary returns and break statements [ci skip]
| * | Removed unnecessary returns and break statementsWilson E. Alvarez2017-08-221-2/+0
| |/
* | fixed crash styleBoxTexture binding issuetoger52017-08-221-2/+2
| |
* | TextEdit: Copy whole line if not having selection.Andreas Haas2017-08-221-3/+0
|/ | | | | The functionality was already there but hidden behind a bogus return statement. Fixes #10485
* Change order of Null check for ParallaxLayerHein-Pieter van Braam2017-08-221-4/+4
| | | | | | | | | | | 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.
* Merge pull request #10493 from MednauN/masterRémi Verschelde2017-08-222-65/+201
|\ | | | | Add stretching to `TextureProgress`
| * Add stretching to `TextureProgress`Evgeny Zuev2017-08-222-65/+201
| | | | | | | | | | | | | | 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.
* | Merge pull request #10519 from toger5/remove_addition_borderRémi Verschelde2017-08-222-0/+42
|\ \ | | | | | | Remove addition border
| * | added utility funtions for expand margins (in styleBox)toger52017-08-212-0/+42
| | |
* | | Add null check to ParallaxLayer get_parent() callsHein-Pieter van Braam2017-08-221-0/+6
| |/ |/| | | | | This fixes #10515
* | Fix build after merge of #10254Rémi Verschelde2017-08-221-1/+1
| |