Rémi Verschelde
b7f4dcbdd1
Merge pull request #10096 from toger5/label_stylebox
...
fixed Import LineEdit to label + label stylebox
2017-08-31 13:58:52 +02:00
Juan Linietsky
4d4c1dfc1b
Do not error flood if removing default environment. Closes #9945
2017-08-31 08:56:15 -03:00
Rémi Verschelde
c109a6e5a4
Merge pull request #10401 from maxim-sheronov/fix_particles_spritesheet
...
Fix UV calculation for spritesheet in particles
2017-08-31 13:42:37 +02:00
Rémi Verschelde
6611dfbd6c
Merge pull request #10378 from RandomShaper/nav-keep-start-end
...
Guarantee start & end points are returned by Navigation2D
2017-08-30 16:12:12 +02:00
Rémi Verschelde
348eb4e4c5
Merge pull request #10361 from RandomShaper/tilemap-global-mtl
...
Let TileMap apply its material
2017-08-30 16:02:12 +02:00
Juan Linietsky
a1d7c496b9
Improved default directional shadow params, added bias split scale, closes #9828
2017-08-30 08:08:44 -03:00
Rémi Verschelde
7609efe757
Merge pull request #10746 from cryptonaut/issue9187-3.0
...
Cleaned up logic in Tween::_tween_process(), fixes #9187 (3.0)
2017-08-30 12:46:20 +02:00
Ferenc Arn
a0bbf5c9af
Remove Basis::set_scale and Basis::set_rotation_* functions.
...
Those functions were added in #8277 but they did more harm than good. They're subtle, don't do what people think and requires users to understand the non-uniqueness of polar decomposition. They ended up confusing people.
Until we store additional information enough to make a unique polar decomposition, these functions shouldn't be a part of Basis.
2017-08-29 21:47:59 -04:00
Juan Linietsky
9c3bddfac2
Merge pull request #10745 from neikeq/fix-docdata-and-stuff
...
DocData and virtual method type hints fixes
2017-08-29 20:11:07 -03:00
Ignacio Etcheverry
c16d00591b
DocData and type hints fixes
...
- 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 19:40:21 +02:00
Juan Linietsky
e8b05ca996
-Fixed screen edge SSAO filter, fixes #9678
...
-Raised the SSAO limits, making the effect a lot more useful
-Still pending to enable tresholding to avoid some hollow places
2017-08-29 11:46:02 -03:00
Juan Linietsky
a2027cfa49
-Fixes to how collada generates tangents (use SurfaceTool), closes #9562
...
-Fix to gridmap cell size (wrong property type)
2017-08-29 08:48:39 -03:00
cryptonaut
023b68542f
Cleaned up logic in Tween::_tween_process(), fixes #9187
2017-08-29 00:08:59 -07:00
Rémi Verschelde
2353c65a1f
Merge pull request #10622 from letheed/patch-1
...
Allow to disable shadow gradients in Light2D
2017-08-28 23:46:42 +02:00
Juan Linietsky
8fce79aaee
-Some fixes to code completion.
...
-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-28 00:04:24 -03:00
Rémi Verschelde
213887f209
Merge pull request #10693 from Paulb23/offset_view_when_removing_issue_10529
...
Fixed offset view when removing text, issue 10529
2017-08-28 00:07:02 +02:00
Rémi Verschelde
7ad14e7a3e
Dead code tells no tales
2017-08-27 22:13:45 +02:00
Juan Linietsky
37da8155a4
-Largely rewrote gridmap to simplify it
...
-Got editor working again
-Added a current-floor marker on selection
2017-08-27 16:02:00 -03:00
Paulb23
ae26f8e015
Fixed offset view when removing text, issue 10529
2017-08-27 18:29:15 +01:00
Rémi Verschelde
bd282ff43f
Use HTTPS URL for Godot's website in the headers
2017-08-27 14:16:55 +02:00
Rémi Verschelde
5f18b56a7e
Merge pull request #10680 from Noshyaar/pr-viewport
...
Viewport: fix 'size' binding from Rect2 to Vector2
2017-08-27 09:46:28 +02:00
Rémi Verschelde
1f011035d7
Merge pull request #10678 from Zylann/bind_array_max
...
Bind missing ArrayMesh.ARRAY_MAX
2017-08-27 09:41:06 +02:00
Poommetee Ketson
87917e769f
Viewport: fix 'size' binding from Rect2 to Vector2
2017-08-27 12:03:19 +07:00
Marc Gilleron
46cee03ad4
Bind missing ArrayMesh.ARRAY_MAX
2017-08-27 04:18:02 +02:00
Rémi Verschelde
a6e37ae2bf
Merge pull request #10600 from MasonAsh/fix-10596
...
Script editor: fixed no key repeat for CTRL+Y
2017-08-27 02:11:58 +02:00
Rémi Verschelde
6e7f0190ee
Merge pull request #10579 from quinnyo/rpc-sender-id
...
Method to get ID of RPC calling peer
2017-08-27 02:11:30 +02:00
Rémi Verschelde
612099e377
Merge pull request #10591 from Rubonnek/possible-null-ptr-dereference
...
Added/Fixed null pointer checks
2017-08-27 02:10:56 +02:00
Rémi Verschelde
fe26bcd8c6
Merge pull request #10653 from tuga3d/indent-glitch
...
Added a cursor column check.
2017-08-27 02:09:57 +02:00
Rémi Verschelde
0fc2b3aa69
Merge pull request #10660 from Noshyaar/pr-tree
...
Tree: fix RMB click collapses next item
2017-08-27 02:09:10 +02:00
Hein-Pieter van Braam
3e25cf9e05
Add two missing Null checks
...
These Null checks were removed in #10581 but actually changed the
logic of the functions in this case.
This fixes #10654
2017-08-26 23:40:45 +02:00
Wilson E. Alvarez
7a07895920
Added/Fixed null pointer checks
2017-08-26 16:58:47 -04:00
Paulo Gomes
056b0976bc
Added a cursor column check.
...
Fixes glich, when cursor is on column 0 of and indented line and you
press return an extra indent is added.
2017-08-26 19:22:05 +01:00
Poommetee Ketson
5e889cce4f
Tree: fix RMB click collapses next item
2017-08-26 23:55:43 +07:00
Rémi Verschelde
2a1a1f05fe
Merge pull request #10656 from akien-mga/cleanup-commented-out-code
...
Cleanup tons of obsolete commented out code
2017-08-26 18:21:08 +02:00
Rémi Verschelde
3c5ce736e6
Node: Add debug info to add_child reparenting check
...
Use it to remove buggy add_child in EditorAudioBus
2017-08-26 18:14:42 +02:00
Rémi Verschelde
565600e844
Cleanup tons of obsolete commented out code
...
Mostly in EditorNode, dropping some obsolete editor plugins and also a
cleanup of ProjectSettings/EditorSettings.
2017-08-26 17:47:57 +02:00
Juan Linietsky
1894157c9f
-Massive clean up to gizmos
...
-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-26 00:47:28 -03:00
Juan Linietsky
a1c03a69d2
added finished signals to audio stream players, fixes #9928
2017-08-25 11:58:21 -03:00
Juan Linietsky
3061eca190
Removed old fp_adjust code that conflicts with clipped rects, fixes #9925
2017-08-25 10:40:29 -03:00
Letheed
61d3fb36e8
Allow to disable shadow gradients in Light2D
...
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](8fc6bb8f77/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-24 23:35:19 +02:00
Hein-Pieter van Braam
cacced7e50
Convert Object::cast_to() to the static version
...
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-24 23:08:24 +02:00
Mason Ashbridge
9def31120c
Script editor: fixed no key repeat for CTRL+Y
2017-08-24 01:28:08 -04:00
Juan Linietsky
36e0a72c77
-Code completion for enumerations
...
-Disabled GDNative and GDNativeScript so build compiles again
2017-08-24 00:06:56 -03:00
Maxim Sheronov
e41656c345
Fix UV calculation for spritesheet in particles
...
Fix names of uniforms and make correct uv offset calculation
2017-08-23 20:57:31 +03:00
Quinn Schwab
7c802837a3
add SceneTree method to get ID of rpc calling peer
2017-08-23 18:43:25 +10:00
Rémi Verschelde
916fd47343
Merge pull request #10561 from Paulb23/smooth_scroll_input_override
...
Stops scrolling when the user issues another command
2017-08-23 08:09:13 +02:00
Rémi Verschelde
eb238a04da
Merge pull request #10556 from marcelofg55/master
...
Add missing NULL check for the new show_about() call
2017-08-23 00:07:02 +02:00
Rémi Verschelde
bc3c9a3c2a
Merge pull request #10555 from Rubonnek/removed-unnecessary-returns-and-breaks
...
Removed unnecessary returns and break statements
[ci skip]
2017-08-23 00:06:29 +02:00
toger5
aff293a2fd
fixed crash styleBoxTexture binding issue
2017-08-22 22:11:41 +02:00
Paulb23
24c6c097f3
Stops scrolling when the user issues another command
2017-08-22 20:04:19 +01:00