Hein-Pieter van Braam
f9467ec1ea
Fix signed and unsigned comparisons
...
The first in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-01 08:13:12 +02:00
Juan Linietsky
d39e79e7ec
Fix issues regarding reload of resources in imported scenes. Closes #10017
2017-08-31 18:57:44 -03:00
Rémi Verschelde
a717083235
Merge pull request #10791 from tuga3d/indent-glitch-attempt-2
...
second attempt on fixing the indent glitch.
2017-08-31 19:26:07 +02:00
Rémi Verschelde
4722593448
Merge pull request #10816 from toger5/style_box_texture_set_fill
...
unified draw_center naming for (9patch,StyleBoxes)
2017-08-31 19:16:07 +02:00
Rémi Verschelde
c12a1dc53e
Merge pull request #10823 from toger5/fix_VSlider_focus_non_existent
...
changed-"HSlider" -> "VSlider" for focus style fixes #728
2017-08-31 18:19:45 +02:00
toger5
afc66f2f90
changed-"HSlider" -> "VSlider" for focus style fixes #728
2017-08-31 18:02:38 +02:00
Matthias Hoelzl
1bafc3c6cf
Fix inconsistent toggle button behavior
2017-08-31 17:07:32 +02:00
Rémi Verschelde
5fac1406fd
Merge pull request #10818 from Jellonator/master
...
Fixed incorrect KinematicBody::_move normal return
2017-08-31 16:59:01 +02:00
James Beedie
6fc5d1cd37
Fixed return of KinematicBody::_move
...
Fixed incorrect normal
Added missing collider velocity
2017-08-31 10:46:21 -04:00
Juan Linietsky
5653477a30
Exposed new ClearMode function to Viewport clases, closes #9995
2017-08-31 11:15:10 -03:00
toger5
2aa735757a
unified draw_center naming for (9patch,StyleBoxes)
...
- filled -> draw_center
- is_draw_center -> is_draw_center_enabled
- get_draw_center -> is_draw_center_enabled
2017-08-31 15:25:24 +02:00
Juan Linietsky
9ff19951e2
Fixed problem with non triplanar UV2 mode as described in issue. Closes #9979
2017-08-31 09:44:37 -03:00
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
Paulo Gomes
2eb46801cb
second attempt on fixing the indent glitch.
...
I've reverted the first attempt (https://github.com/godotengine/godot/pull/10653 ).
I was very naive and didn't consider that the glitch happens also if you're not in the first column, ex. if you have 2 tabs and press return in between them.
Hope this will solve the problem without messing anything else.
2017-08-30 19:35:38 +01: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
Andreas Haas
5d25f6397f
TextEdit: Copy whole line if not having selection.
...
The functionality was already there but hidden behind a bogus return statement.
Fixes #10485
2017-08-22 20:05:52 +02:00
Marcelo Fernandez
1b6c9f7076
Add missing NULL check for the new show_about() call
2017-08-22 14:21:18 -03:00
Wilson E. Alvarez
baa94a3758
Removed unnecessary returns and break statements
2017-08-22 13:01:57 -04:00
Hein-Pieter van Braam
0a14e78a60
Change order of Null check for ParallaxLayer
...
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-22 15:13:31 +02:00
Rémi Verschelde
19e12424fc
Merge pull request #10493 from MednauN/master
...
Add stretching to `TextureProgress`
2017-08-22 11:37:00 +02:00
Evgeny Zuev
1a2622d344
Add stretching to TextureProgress
...
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-22 13:46:59 +07:00
Rémi Verschelde
4fc0a2d776
Merge pull request #10519 from toger5/remove_addition_border
...
Remove addition border
2017-08-22 08:10:15 +02:00
Hein-Pieter van Braam
99617ae8dc
Add null check to ParallaxLayer get_parent() calls
...
This fixes #10515
2017-08-22 01:48:24 +02:00
Rémi Verschelde
b3ff7ca62e
Fix build after merge of #10254
2017-08-22 01:16:33 +02:00
Rémi Verschelde
df590fc2d3
Merge pull request #10340 from Rubonnek/remove-unnecessary-assignments
...
Removed unnecessary assignments
2017-08-22 00:58:12 +02:00
Rémi Verschelde
13f879587d
Merge pull request #10254 from marcelofg55/master
...
Added notification const NOTIFICATION_WM_ABOUT
2017-08-22 00:56:31 +02:00
Juan Linietsky
2cc8309249
Merge pull request #10351 from neikeq/enums-are-for-the-weak
...
ClassDB: Provide the enum name of integer constants
2017-08-21 19:56:08 -03:00
Rémi Verschelde
9dd8d73482
Merge pull request #10427 from Hinsbart/fix_padding
...
TextEdit: Fix line padding triggering too early.
2017-08-22 00:04:11 +02:00
Rémi Verschelde
d37bd15cb9
Merge pull request #10443 from karroffel/propagate_call
...
add "propagate_call" method to Node
2017-08-21 23:21:47 +02:00
toger5
32f4918f02
added utility funtions for expand margins (in styleBox)
2017-08-21 23:07:08 +02:00
Rémi Verschelde
bb41e1427e
Merge pull request #10506 from hpvb/fix-10501
...
Fix color_ramp indexing negative elements
2017-08-21 22:27:34 +02:00
Rémi Verschelde
328452e028
Merge pull request #10508 from Paulb23/increase_smooth_scroll_speed
...
Increased smooth scroll speed and added user setting
2017-08-21 22:19:18 +02:00
Gilles Roudiere
f730846fe9
Fix spinboxes bad look
2017-08-21 21:48:05 +02:00
Wilson E. Alvarez
738d2ab969
Removed unnecessary assignments
2017-08-21 15:15:55 -04:00
Paulb23
d6599fde0a
Increased smooth scroll speed and added user setting
2017-08-21 19:20:11 +01:00
Hein-Pieter van Braam
67b9d6eef2
Fix color_ramp indexing negative elements
...
The 'pos' variable passed to get_color() and get_offset() can be
negative if the color ramp itself is empty. This causes a lookup in an
empty position in the color Vector which leads to a crash.
We add a check so we never do a lookup in the color Vector if the
gradient is empty.
This fixes #10501
2017-08-21 19:36:40 +02:00
Wilson E. Alvarez
0017e21521
Fixed segfault when hovering over scene tree elements and showing tooltips.
2017-08-20 22:28:07 -04:00
Ignacio Etcheverry
32dd9a9f66
ClassDB: Provide the enum name of integer constants
2017-08-20 22:07:43 +02:00
Juan Linietsky
541fdffc0a
Merge pull request #10319 from neikeq/pr-engine-editor-hint
...
Adds Engine::is_editor_hint() method
2017-08-20 12:55:46 -03:00
Rémi Verschelde
9720e94dce
Merge pull request #10479 from Paulb23/fix_not_scrolling_eof
...
Fixed not being able to scroll to eof
2017-08-20 15:25:46 +02:00
Rémi Verschelde
5627047c32
Merge pull request #10455 from groud/control_margin_fixes
...
Some control fixes and removed other useless lines
2017-08-20 15:24:00 +02:00
Paulb23
a0457341fc
Fixed not being able to scroll to eof
2017-08-20 14:07:54 +01:00
Juan Linietsky
7e5890d23d
-Fix all shadow and culling related issues, fixes #9330
2017-08-19 20:07:21 -03:00
Gilles Roudiere
06256cd778
Some control fixes and removed useless lines
2017-08-19 19:10:00 +02:00
Juan Linietsky
8fc6bb8f77
Added polygon antialiasing, but it does not work on nvidia. Will have to try something else..
2017-08-19 13:14:38 -03:00
Rémi Verschelde
395544b4d0
Merge pull request #10447 from Paulb23/smooth_scrolling
...
Added smooth scrolling to TextEdit
2017-08-19 18:01:33 +02:00
Rémi Verschelde
aef7a3178f
Merge pull request #10444 from toger5/styleBoxFlat_corner_detail_value_limitation
...
styleBoxFlat: clamp corner_detail + aa_size
2017-08-19 17:56:48 +02:00
Rémi Verschelde
23950cec35
Merge pull request #10442 from toger5/stylebox_corner_detail
...
Performance improvement for new styleBoxFlat.
2017-08-19 17:56:34 +02:00
Paulb23
a142c9a2f0
Added smooth scrolling to TextEdit
2017-08-19 15:23:45 +01:00
Juan Linietsky
bacfe7a557
Fixes to label and code editor to make editing code hopefully fast again.
2017-08-19 10:51:56 -03:00
Karroffel
390f7def39
add "propagate_call" method to Node
...
It is possible to propagate a notification down the Node tree by
using `propagate_notification`, but there was no such method for
doing the same but with method calls.
This commit adds the `propagate_call` method, which calls a method
on a node and all child nodes. An optional paramter `parent_first`
determines whether the parent node gets called before or after the
children have been visited. It defaults to false, so the parent
gets called last.
2017-08-19 15:22:37 +02:00
toger5
69c039ffab
styleBoxFlat: clamp corner_detail + aa_size
2017-08-19 15:12:46 +02:00
toger5
ad5b0674f6
Performance styleBoxFlat:
...
- style box flat was always drawn with 8 verts per corner in case it
was a rounded corner... now it uses only one vert if it has no
rounded corner.
2017-08-19 14:46:04 +02:00
Rémi Verschelde
43d91faa2e
Merge pull request #10439 from Paulb23/blinking_text_issue_10432
...
Fixed blinking text, issue 10432
2017-08-19 12:32:13 +02:00
Paulb23
fb0e7f8f1c
Fixed blinking text, issue 10432
2017-08-19 09:55:42 +01:00
Ignacio Etcheverry
18938d3c0e
Removes extra argument from StyleBoxFlat::get_border_color()
2017-08-19 08:59:45 +02:00
Juan Linietsky
bf1f83ed29
Small fix that makes overal UI (including dragging spliiters) much, much faster.
...
Flushing messages meant that for every event, UI was reaccomodating everything. This is relly slow.
Messages will have to happen sometime later, during iteration most likely.
I still can't fix the overall code editor slowness on Mesa+Radeon, I suspect it's a driver issue.
2017-08-18 23:01:27 -03:00
Ignacio Etcheverry
90b8a5b71e
Removes editor_hint from SceneTree
2017-08-19 01:29:45 +02:00
Juan Linietsky
3f8efdef49
ProceduralSky now regenerates in a thread (the second time, first does not), closes #9138
2017-08-18 19:16:32 -03:00
Juan Linietsky
cbcf40bd31
-Volume sliders, mute, solo and fx bypass are functional, closes #9021
...
-Fixed tree reselect, makes reselecting an audio bux FX work
2017-08-18 18:21:53 -03:00
Rémi Verschelde
18a7315381
Rename localization method to tr
again
...
Partial revert of #10380 based on contributor ~~bullying~~ feedback.
2017-08-18 22:38:38 +02:00
Andreas Haas
58b2f441a7
TextEdit: Fix line padding.
...
off-by-one error in the line count calculation.
Fixes #10411
2017-08-18 22:12:07 +02:00
Andreas Haas
3f2d806b02
TextEdit: Moving between words now works across lines.
...
Fixes #10403
2017-08-18 20:53:27 +02:00
Juan Linietsky
e61d547ed0
Make sure local to scene resources are initialized after loading all nodes, fixes #9438
2017-08-18 08:26:41 -03:00
Rémi Verschelde
1a92906b68
Merge pull request #10406 from marcelofg55/closest_power_of_2
...
Add closest_power_of_2 func and implement mix_rate/latency on OS X
2017-08-18 08:12:56 +02:00
Marcelo Fernandez
eab850524e
Add closest_power_of_2 func and implement mix_rate/latency on OS X
2017-08-17 19:51:13 -03:00
Juan Linietsky
3a4ff3402d
Oops, fixed wrong color masking problem. Closes #10149
2017-08-17 18:33:59 -03:00
Rémi Verschelde
ee59e627de
Merge pull request #10380 from akien-mga/XL_MESSAGE
...
Rename `XL_MESSAGE`/`tr` to `localize`
2017-08-17 22:41:55 +02:00
Rémi Verschelde
c72529baf0
Rename XL_MESSAGE
aka tr
to localize
...
Also renames `set_message_translation` to `set_message_localization`
for consistency.
2017-08-17 18:10:22 +02:00
Marcelo Fernandez
aae29c7a0e
Added notification const NOTIFICATION_WM_ABOUT
2017-08-17 11:28:45 -03:00
Pedro J. Estébanez
ef6e1252ae
Guarantee start & end points are returned by Navigation2D
...
So start and end points are unconditionally added to the returned point list, but first and last middle points are checked against them to avoid duplicates.
`CMP_EPSILON` was already providing a guarantee, but knowing you will get exactly the endpoints you provided is even better.
2017-08-17 01:27:30 +02:00
toger5
9fdc4874b2
fixed Import LineEdit to label + label stylebox
...
- added a normal stylebox to label. default is StyleBoxEmpty
- changed drawing so that it draws correct with styleboxes with margins
- changed the LineEdit in the import to use a label with the lineEdit
stylebox
2017-08-17 00:15:11 +02:00
Rémi Verschelde
0dd51fc722
Merge pull request #10252 from neikeq/pr-fix-some-stuff-<3
...
Some method fixes
2017-08-16 18:16:47 +02:00
Rémi Verschelde
a21ca962a4
Merge pull request #10265 from leezh/patchnine_stylebox
...
Added Tile and TileFit to StyleBoxes
2017-08-16 18:16:23 +02:00
Rémi Verschelde
a8a6082dc0
Merge pull request #8899 from toger5/BetterFlatStylebox
...
Better flat stylebox with rounded corners
2017-08-16 18:15:04 +02:00
TwistedTwigleg
00f6c85928
Synchronize parameter names in definition and declaration
...
Fixes #10244 .
2017-08-16 17:22:23 +02:00
Rémi Verschelde
ae78a13f59
Merge pull request #10309 from H4kor/particles
...
Fixing blinking particles at 0 initial velocity.
2017-08-16 17:16:45 +02:00
Rémi Verschelde
f98418f093
Merge pull request #10312 from kbake/pressed-scroll-bar-style
...
Scroll bars now look different on press
2017-08-16 17:16:03 +02:00
Rémi Verschelde
40f70d80ac
Merge pull request #10322 from TwistedTwigleg/Navmesh_expose_create_from_mesh
...
Exposed create_from_mesh in Navmesh
2017-08-16 17:14:10 +02:00
Rémi Verschelde
a8ceb54abf
Merge pull request #10376 from RandomShaper/fix-nav-double-point
...
Fix double point in Navigation2D
2017-08-16 17:08:06 +02:00
Pedro J. Estébanez
71a496803c
Fix double point in Navigation2D
...
Fixes #10324 .
2017-08-16 13:46:10 +02:00
Niko Abeler
6c398b5830
Checking vecs before normalization. Fixes #10183
2017-08-16 08:09:45 +02:00
Pedro J. Estébanez
213ad45ccf
Allow zero-padded serial naming
...
Thereby, the editor will acknowledge node namings such as _Thing003_ so that a duplicate, for instance, will be named _Thing004_, instead of _Thing4_, that was the case formerly.
Closes #7758 .
2017-08-16 03:26:47 +02:00
Juan Linietsky
603b262d9b
Merge pull request #10365 from RandomShaper/fix-10074
...
Keep shapes bound to out-of-tree 3D physics objects
2017-08-15 21:22:08 -03:00
Pedro J. Estébanez
22daecfbe9
Keep shapes bound to out-of-tree 3D physics objects
...
Now the shape in the physics server is unbound only when it's unparented from its body, because if it's unbound when just exiting the tree, a later readd would have the body shapeless in the server.
It's the same currently being done in 2D physics.
Fixes #10074 .
2017-08-16 02:00:03 +02:00
Juan Linietsky
1ecb48b8c2
Changed anchor constants to enum, removed ANCHOR_CENTER, fixes #9889
2017-08-15 19:49:28 -03:00
Juan Linietsky
f0b19137f9
Merge pull request #10170 from ISylvox/trail-divisor__editor-glitch
...
Trail Divisor: Fixed Editor Glitch
2017-08-15 19:31:00 -03:00
Pedro J. Estébanez
3bb5abbc35
Let TileMap apply its material
...
So when a material is set, every tile will be rendered with that. Quadrants will not be recreated, so a `CanvasItem` will exist per material per quadrant regardless a global material is set.
This makes also __Use parent material__ work for `TileMap`s.
Closes #9996 .
2017-08-15 23:41:23 +02:00
kubecz3k
a6c4e0105c
Merge pull request #10333 from HummusSamurai/fix-console-error
...
Fix console warning: Condition !env is true
2017-08-15 23:21:08 +02:00
kubecz3k
129ebca41d
Merge pull request #9889 from groud/control_enhancements
...
Control node enhancements
2017-08-15 22:55:49 +02:00
Juan Linietsky
860816f3d3
Fix debug materials, closes #8607
2017-08-15 17:21:05 -03:00
toger5
701fb55a10
styleBoxFlat removed light, dark color entirely
2017-08-15 20:11:36 +02:00
toger5
015494ba56
new StyleBoxFlat removed multiBorderColor
...
- removed only the bindings because the drawing code is not done yet
- kept c++ functions for setting individual border color for future implementation
2017-08-15 19:49:24 +02:00
toger5
d637cbb289
new StyleBoxFlat limits for drawing
...
- corner and border are decreased if necassary to achoieve clean stylboxes
- prohibits wired drawing artifacts when using wrong values
- corner radius are relative to the partner corner when they would result in glitches
2017-08-15 19:49:24 +02:00
toger5
356eb47fea
new StyleBoxFlat added more drawing features
...
- corner radius bindings
- shadow
- antiAliasing
- CornerDetail
2017-08-15 19:47:51 +02:00
toger5
059a0496da
Adapted godot to the new StyleBoxFlat
2017-08-15 19:36:34 +02:00
toger5
f05e61ed09
NEW Style Box Flat Implementation
...
- now use polygons!
- renamed blend -> blend_border
- draw_center -> filled
- GDScript biding
2017-08-15 19:36:34 +02:00
Juan Linietsky
fdc2cdef0b
Ensure nothing is found outside modal stack, but keep logic going. Fixes #7622
2017-08-15 07:32:15 -03:00
Ignacio Etcheverry
7fc3c51169
Merge pull request #10339 from bojidar-bg/x-fix-scale-conflict
...
Rename Light2D::scale to texture_scale, so it doesn't conflict
2017-08-14 22:16:39 +02:00
Bojidar Marinov
4b0990bf8d
Rename Light2D::scale to texture_scale, so it doesn't conflict
2017-08-14 18:53:42 +03:00
M.H. Alkotob
92e74ed250
Fix console warning: Condition !env is true
...
The trivial yet astute fix was suggested by @bojidar-bg in IRC.
Compiling confirms it does the job, so thought I'd push a PR.
2017-08-14 14:48:35 +03:00
Gilles Roudiere
0041e08f74
Avoids inverted anchors
...
Add a push_opposite_anchor argument pushing the opposite anchor if
needed
2017-08-13 21:20:14 +02:00