toger5
1c07d0e9aa
rtl uses styleBoxEmpty as defualt
2017-09-06 16:29:22 +02:00
Rémi Verschelde
0b8fa1e010
Remove dead ButtonGroup code
2017-09-06 14:41:34 +02:00
Juan Linietsky
308a6f4f99
hide next pass for material types that make it pointless, closes #10686
2017-09-05 20:40:50 -03:00
David Saltares
0549484c77
Renames _add_child_below_node() to add_child_below_node(). Closes #9988 .
2017-09-05 22:43:28 +01:00
Nathan Warden
8370f22b4c
Added a warning message when a VehicleWheel is not a child of a VehicleBody.
2017-09-05 12:32:48 -05:00
Geequlim
f248f06d45
Add custom minumus height to TreeItem
...
And expose the method `get_drop_section_at_pos` of Tree
2017-09-05 21:02:13 +08:00
Juan Linietsky
2802dced84
Automatically redraw when shaders using TIME are visible, fixes #10554
2017-09-05 00:30:39 -03:00
Rémi Verschelde
45800413d8
Merge pull request #10978 from Noshyaar/pr-meshlib
...
MeshLibrary: remove duplicated line
[ci skip]
2017-09-05 00:33:00 +02:00
Rémi Verschelde
0f63b68336
Merge pull request #10822 from hoelzl/toggle-button
...
Fix inconsistent toggle button behavior
2017-09-05 00:14:05 +02:00
Rémi Verschelde
c9593a285b
Merge pull request #10902 from toger5/rtl_copy_and_selection_color
...
fixed copy on osx + help selection color
2017-09-04 23:11:12 +02:00
Poommetee Ketson
9301ab5a57
MeshLibrary: remove duplicated line
2017-09-05 04:02:24 +07:00
Rémi Verschelde
6960f8a3b8
Merge pull request #10916 from volzhs/vertical-align-tree-lineedit
...
LineEdit in Tree is aligned vertical center
2017-09-04 22:58:32 +02:00
Rémi Verschelde
bba365fab7
Merge pull request #10931 from djrm/pr_style_fixes
...
Improved color temperature in script editor
2017-09-04 22:50:54 +02:00
Saracen
92e77d5ff2
Recast integration.
2017-09-04 21:41:57 +01:00
toger5
07d5911c40
fixed copy on osx + help selection color
2017-09-04 18:57:52 +02:00
Juan Linietsky
6d233c651b
-Changed KinematicBody API yet again to make it friendlier
...
-Fixed get_scale functions (and added set_scale) to make it more coherent when decomposing and composing (fixes bugs in transform interpolation)
2017-09-04 07:49:42 -03:00
Rémi Verschelde
df11de72c9
Merge pull request #10932 from djrm/pr_fix_metrics
...
Fixed some metrics (some issues caused by the new Noto Sans font).
2017-09-04 08:10:04 +02:00
Rémi Verschelde
fb263b73aa
Merge pull request #10901 from toger5/script_background_cleanup
...
StyleBoxSupport for RichTextLabel and cleanup for script+docs backgrounds fixes #10685
2017-09-04 08:05:17 +02:00
Rémi Verschelde
fe3b8b48dd
Merge pull request #10894 from Paulb23/brace_auto_indent
...
Added support for brace auto indent and fixed indent above.
2017-09-04 07:59:51 +02:00
Rémi Verschelde
7040a390ad
Merge pull request #10937 from djrm/pr_fix_typo
...
Fix. resizeable -> resizable.
2017-09-04 07:37:59 +02:00
Daniel J. Ramirez
d6b664f671
Fix. resizeable -> resizable.
...
(not actually a typo, but the rest of the API uses resizable)
2017-09-03 13:12:52 -05:00
Juan Linietsky
adde89e8b1
-Added an optimization so physics shapes are configured later, speeds up grid map loading and editing
2017-09-03 14:54:15 -03:00
Juan Linietsky
281fb4e4fb
Added transmission shader parameter.
2017-09-03 10:30:37 -03:00
Daniel J. Ramirez
215b110cd3
Improved color temperature in script editor
2017-09-03 02:44:59 -05:00
Daniel J. Ramirez
e298f931a6
Fixed some metrics (some issues caused by the new Noto Sans font).
...
plus other minor fixes
2017-09-03 01:49:31 -05:00
volzhs
c1b31aeb94
LineEdit in Tree is aligned vertical center
2017-09-03 12:56:25 +09:00
toger5
b606285219
Unified script panel backgrounds.
...
- simplefied it with using the new rtl.
- removed ("ScriptPanel", "EditorStyles") for since rtl now can be used
- unified backgrounds when script editor color is set to transparent => option to set background color adapt to theme is deprecated.
2017-09-02 18:28:35 +02:00
toger5
0f62db23ac
richTextLable implemented stylebox support
...
- also fixed issue with total_chars ignoring first line
2017-09-02 18:20:04 +02:00
Paulb23
cfa5f37ee7
Added support for brace auto indent and fixed indent above
2017-09-02 15:59:30 +01:00
Rémi Verschelde
0fc342c296
Merge pull request #10887 from Paulb23/fix_scrolling_up_jitter
...
Fixed jitter when scrolling up
2017-09-02 16:45:20 +02:00
Poommetee Ketson
459f526119
Fix typos 'a' and 'an'
2017-09-02 21:19:06 +07:00
Juan Linietsky
b4efb832a7
Made triplanar local space by default, world space optionally, closes #10159
2017-09-02 09:57:08 -03:00
Paulb23
93f6fbd7b2
Fixed jitter when scrolling up
2017-09-02 13:45:21 +01:00
Rémi Verschelde
8e75e7311b
Merge pull request #10858 from letheed/add-shadow_filter-variant
...
add shadow_filter variant PCF7
2017-09-02 12:13:01 +02:00
Hein-Pieter van Braam
9c63ab99f0
Fix use of unitialized variables
...
The second in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-02 01:59:26 +02:00
Rémi Verschelde
dac150108a
Merge pull request #10846 from hpvb/fix-sign-compare
...
Fix signed and unsigned comparisons
2017-09-01 21:52:55 +02:00
Juan Linietsky
42659b0d9f
Fix freeze on exit on audiostreamplayers when setting invalid stream, closes #10093
2017-09-01 16:43:46 -03:00
Rémi Verschelde
39621bf681
Fix AnimationTreePlayer bogus argument name
...
Regression from 6fa6149517
.
2017-09-01 21:29:00 +02:00
Juan Linietsky
6fa6149517
Fix some argument ordering, closes #10010
2017-09-01 15:01:17 -03:00
Juan Linietsky
8f30c52a37
Removed ontop property, added a material rendering priority system. Fixes #9935 , closes #10135
2017-09-01 13:01:08 -03:00
Poommetee Ketson
ed606ded52
Fix files header
2017-09-01 21:07:55 +07:00
letheed
3a188015be
add shadow_filter variant PCF7
2017-09-01 15:01:24 +02:00
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
Pedro J. Estébanez
d8584682f0
Fix joints collision exceptions
...
Fix 3D joint handling of collision exceptions, so that they lose effect when the joint is not valid in every case; also some redundant code removed.
Also avoid trying to create the joint when not neither body A nor body B are set.
Make 2D joints be handled like their 3D counterparts, which adds the fixes to them while also removing duplicated code.
(adapted from commit 4a98a59aa6
)
2017-08-29 23:46:44 +02: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
Gilles Roudiere
c26af6f2b7
Adds a function to set Anchors with a layout preset
2017-08-13 21:20:14 +02:00
Gilles Roudiere
e76b535a1a
Handle undo/redo of anchor positioning
2017-08-13 21:20:13 +02:00
Gilles Roudiere
bd0384a9e9
Add anchor visualization
2017-08-13 21:20:13 +02:00
Gilles Roudiere
0d35d4d53b
Replace GUI anchor type by a float between 0 and 1
2017-08-13 21:20:13 +02:00
TwistedTwigleg
deaf095dcf
Exposed create_from_mesh in Navmesh
2017-08-13 14:13:48 -04:00
Rémi Verschelde
9575dbdf78
Merge pull request #10298 from nhold/kinematic-body-2d-_move-fixes-#10107
...
Fix missing and incorrect values in return value of _move method
2017-08-13 17:26:59 +02:00
kbake
a72d17cf11
Scroll bars now look different on press
2017-08-12 17:46:26 -04:00
Zher Huei Lee
a625d7edfc
Disabling Particles::one_shot restarts emission
...
Fixes #10181
2017-08-12 18:37:01 +08:00
Nathan Hold
fb40846dca
Fix missing and incorrect values in return value of _move method
2017-08-12 19:59:39 +10:00
Zher Huei Lee
b6ec3f02f0
Added Tile and TileFit to StyleBoxes
...
Was already implemented for Patch9 boxes, but wasn't exposed here.
Allows for use in other GUI elements like panels and buttons.
2017-08-12 09:57:56 +08:00
Rémi Verschelde
23f6d3fa69
Merge pull request #10198 from jjay/f/stretch_aspect_expand
...
Add "expand" option for stretch aspect, no more black bars
2017-08-11 15:55:22 +02:00
Ignacio Etcheverry
1a04917fea
Fixes ItemList::is_same_column_width() return type
2017-08-11 13:34:06 +02:00
Rémi Verschelde
ff2cb35b90
Merge pull request #10247 from djrm/pr_bus_fixes
...
Fixes to buses editor
2017-08-11 10:43:30 +02:00
Rémi Verschelde
066fb4d5f9
Merge pull request #10238 from Hinsbart/resource_rmb
...
Inspector: Right click on resource opens sub-menu.
2017-08-11 10:42:29 +02:00
Rémi Verschelde
b47e6c0dba
Merge pull request #10194 from Keetz/update-default-values
...
Updated default values in SpatialMaterial and Environment
2017-08-11 10:39:12 +02:00
Rémi Verschelde
f67a8d715c
Merge pull request #10193 from kubecz3k/tab-click-signal
...
tab_clicked signal for Tabs
2017-08-11 10:39:04 +02:00
Rémi Verschelde
5cb09d31d8
Merge pull request #10142 from bruvzg/3.0-osx-ime
...
Add IME support (macOS)
2017-08-11 10:35:10 +02:00
Rémi Verschelde
306c0471f7
Merge pull request #9987 from Rubonnek/move-members-to-initilization-list
...
Moved member variables from constructor to initialization list
2017-08-11 10:31:04 +02:00
Rémi Verschelde
8e6768c963
Merge pull request #10202 from neikeq/how-do-you-turn-this-on
...
Improves method bind's detecting of signarute types
2017-08-11 10:29:41 +02:00
Daniel J. Ramirez
9b41333340
Fixes to buses editor
...
Fixed unselectable bus
Added bus options button
2017-08-10 18:07:24 -05:00
Andreas Haas
9d593481f6
Inspector: Right click on resource opens sub-menu.
...
Fixes #9052
2017-08-10 21:02:31 +02:00
Ignacio Etcheverry
78619a5866
Fixes method definitions with extra number of arguments
2017-08-10 07:17:51 +02:00
Ignacio Etcheverry
2f290038d6
Removes type information from method binds
2017-08-10 07:17:50 +02:00
Ignacio Etcheverry
1e74f27f8f
Adds missing type information to virtual method binds
2017-08-10 07:17:50 +02:00
bruvzg
8aa86cb9bc
Implement NSTextInputClient protocol for IME
2017-08-09 19:09:33 +03:00
Juan Linietsky
df5d01f259
Gizmos properly follow the edited object, closes #7837
2017-08-09 08:19:53 -03:00
Yakov Borevich
b2ca500545
Add expand stretch/ascpect - no more black bars
2017-08-09 12:26:33 +03:00
Rasmus Ketelsen
141aac48ff
Updated default values in SpatialMaterial and Environment
2017-08-09 10:11:36 +02:00
Jakub Grzesik
7e82ff1d70
tab_clicked signal for Tabs
2017-08-09 09:41:26 +02:00
Wilson E. Alvarez
6d112a68b6
Moved member variables from constructor to initialization list
2017-08-08 21:43:19 -04:00
Juan Linietsky
df573f5c3a
-Restored Sprite3D to working function, fixes #2061 , fixes #9738
...
-Restored an alpha scissor property in Material
2017-08-08 17:23:44 -03:00
Indah Sylvia
394007ebe5
trail divisor is now works properly
2017-08-08 22:16:26 +07:00
Juan Linietsky
db7f491833
Fixes node selection, and properly ignore mouse on inner comment node body, closes #6298
2017-08-08 10:59:45 -03:00
Juan Linietsky
2a6cdfaf91
-Fixed BoneAttachment delay, closes #3966
...
-Fixed skeleton crash, probably fixes other issues
2017-08-07 22:18:12 -03:00
Juan Linietsky
bb47bca1f6
Ability to pause particles, closes #3675
2017-08-07 19:02:25 -03:00
Thomas Herzog
5ada918d9f
Merge pull request #10136 from MednauN/master
...
Add handling of touch events in _gui_input_event
2017-08-07 22:23:30 +02:00
Rémi Verschelde
3121b3a4f4
Merge pull request #10141 from ISylvox/lower_case_godot_api
...
Makes all Godot API's Methods lower_case
2017-08-07 14:59:39 +02:00
Rémi Verschelde
309c0cb01b
Merge pull request #10113 from kubecz3k/tab-signal
...
'tab_changed' signal after using 'set_current_tab'
2017-08-07 14:53:29 +02:00
Rémi Verschelde
9244ea6d54
Merge pull request #10109 from eska014/init-particles2d-draw-order
...
Initialize Particles2D draw order property
2017-08-07 14:50:59 +02:00
Indah Sylvia
5ae78fdf6a
Makes all Godot API's methods Lower Case
2017-08-07 18:24:35 +07:00
Rémi Verschelde
06df0fdbc2
Merge pull request #10140 from neikeq/Texture-not-ImageTexture-ok-thx
...
Texture: Fix wrong method bind instance type
2017-08-07 12:59:10 +02:00
Ignacio Etcheverry
640a3c46c3
Texture: Fix wrong method bind instance type
2017-08-07 12:01:13 +02:00
Rémi Verschelde
a2cedd81d4
Merge pull request #9394 from supagu/sync-rpc-fix
...
Queue RPC packet before calling method locally to ensure correct RPC …
2017-08-07 11:01:26 +02:00
Evgeny Zuev
60230675d9
Add handling of touch events in _gui_input_event
...
Fixes #10039
2017-08-07 15:14:50 +07:00
Juan Linietsky
7e4970214c
Fixed some string names and animation playback options, closes #9446
2017-08-06 22:51:56 -03:00
Juan Linietsky
134b3edf5a
Merge pull request #10123 from bojidar-bg/7695-key-kp-enter
...
Rename KEY_RETURN to KEY_ENTER and KEY_ENTER to KEY_KP_ENTER
2017-08-06 21:04:11 -03:00
Juan Linietsky
8e51c70374
Added missing binding to ImageTexture, closes #8371
2017-08-06 11:38:27 -03:00
Bojidar Marinov
7b7c7c8dc0
Rename KEY_RETURN to KEY_ENTER and KEY_ENTER to KEY_KP_ENTER
...
Closes #7695
2017-08-06 16:26:07 +03:00
Juan Linietsky
475e8b28b2
keep default exported script values unless overriden, closes #8127
2017-08-06 09:33:59 -03:00
Juan Linietsky
37adf936ab
few bugs fixed thanks to explicit bool constructor and clang.
...
explicit bool constructor has thus now been removed, as it served it's mission!
2017-08-05 21:43:10 -03:00
Juan Linietsky
a3a7fb83e6
Made bool constructor explicit in Variant to avoid bugs, fixes #7843
2017-08-05 19:50:53 -03:00
Juan Linietsky
435bedd9ef
Merge pull request #10116 from neikeq/prop_method_ambiguities
...
Renames properties and methods to avoid ambiguities
2017-08-05 17:55:43 -03:00
Ignacio Etcheverry
e82270e8d0
Renames properties and methods to avoid ambiguities
...
- Method Node2D.scale(Vector2) renamed to Node2D.apply_scale(Vector2)
- Property BaseButton.is_pressed renamed to BaseButton.pressed
2017-08-05 22:52:58 +02:00
Juan Linietsky
52649f1038
emit signal properly when frame has changed in autoplay, fixes #7730
2017-08-05 16:32:34 -03:00
Juan Linietsky
e47ecc63ef
Properly update frame range after modifying the vframe/hframes, closes #7624
2017-08-05 16:19:36 -03:00
Juan Linietsky
de9fb90dbf
Warn about resizing a rigidbody (2D or 3D), covers the most common cases, closes #7615
2017-08-05 16:06:15 -03:00
Jakub Grzesik
63ddad98f5
'tab_changed' signal after using 'set_current_tab'
...
closes #10051
2017-08-05 17:56:00 +02:00
Juan Linietsky
cfe4b30941
renamed node path, closes #5691
2017-08-05 09:13:59 -03:00
L. Krause
4d26b14576
Initialize Particles2D draw order property
2017-08-05 12:46:49 +02:00
Rémi Verschelde
c936e9946e
Merge pull request #10046 from Hinsbart/script_open_resource
...
ScriptEditor: ctrl+click can open scenes & resources.
2017-08-03 13:37:25 +02:00
Rémi Verschelde
c51354f504
Merge pull request #10062 from BastiaanOlij/arvr_add_anchor
...
Added ARVRAnchor support and a few small enhancements
2017-08-03 13:34:14 +02:00
BastiaanOlij
e7aed24add
Added ARVRAnchor support and a few small enhancements
2017-08-03 18:58:05 +10:00
Rémi Verschelde
0257ced05b
Merge pull request #10040 from Hassan-A/getCells3.0
...
Added get_used_cells_by_id method 3.0
2017-08-03 10:33:49 +02:00
Hassan A
74587a4927
Added get_used_cells_by_id method 3.0
2017-08-02 18:02:00 -04:00
Andreas Haas
aef974e7a8
ItemList: Remove redundant Vector2 initializations.
2017-08-02 21:49:06 +02:00
Juan Linietsky
5c361485db
-Added GLTF scene support (still missing animations and .glb extension)
...
-Fixed bugs regarding tangent generation in SurfaceTool
2017-08-02 15:43:49 -03:00
Andreas Haas
708ddb05af
ScriptEditor: ctrl+click can open scenes/resources.
...
Closes #9654
2017-08-02 19:23:57 +02:00
Rémi Verschelde
6dd1cdc9db
Merge pull request #10027 from Noshyaar/pr-tree
...
Tree: fix index error with expanded column
2017-08-01 22:28:56 +02:00
Rémi Verschelde
64b47574af
Merge pull request #10021 from Noshyaar/pr-mb
...
MenuButton: defer grab_click_focus until button_up
2017-08-01 22:28:28 +02:00
Rémi Verschelde
7aa802e770
Merge pull request #10019 from Paulb23/ctrl_backspace_issue_6546
...
Made delete next and prev consistent to other editors, issue 6546
2017-08-01 22:27:35 +02:00
Poommetee Ketson
bff9518483
Tree: fix index error with expanded column
2017-08-02 03:12:02 +07:00
Poommetee Ketson
49ec6c4380
MenuButton: defer grab_click_focus until button_up
2017-08-02 00:43:25 +07:00
Paulb23
0018894456
made delete next and prev consistent to other editors,issue 6546
2017-08-01 18:40:43 +01:00
Rémi Verschelde
85088275c5
Merge pull request #8209 from robertdhernandez/Texture-Region-Editor-Sync
...
Texture region now updates when changing an Atlas region rect
2017-08-01 00:15:37 +02:00
Rémi Verschelde
8d3932a74c
Merge pull request #9993 from Xrayez/surface-tool-bind
...
Bind some useful methods in SurfaceTool to GDScript
2017-07-31 22:21:26 +02:00
Andrii Doroshenko (Xrayez)
aa1165a3f5
Bind some useful methods in SurfaceTool to GDScript
...
These include:
* generate_tangents()
* add_to_format()
* create_from()
* append_from()
Reordered and grouped the bindings to match the header for improved readability.
Removed commented out `generate_flat_normals()` method which wasn't present
in the header.
Fixes #9946
2017-07-31 15:50:37 +03:00
Rémi Verschelde
3a3915b726
Merge pull request #9990 from GodotExplorer/pr-fix-stretch-ratio
...
Fix errors with stretch ratio
2017-07-31 14:05:56 +02:00
Rémi Verschelde
62464839ad
Merge pull request #8567 from BastiaanOlij/ar_vr_server
...
AR/VR base classes and position tracker support
2017-07-31 13:29:18 +02:00
Geequlim
0b11062d93
Fix property type expose of Control.stretch_ratio.
...
Fix set integer value from inspector to round instead of floor.
2017-07-31 14:15:38 +08:00
Rémi Verschelde
76005a8e75
Style: Apply clang-format on all files
...
Thus fixing some invalid changes that had still made it to the master branch.
2017-07-30 22:53:40 +02:00
Juan Linietsky
b276d92c8a
Few small GI Probe fixes
2017-07-29 00:04:29 -03:00
Rémi Verschelde
1b5a6a800c
Merge pull request #9937 from AlexHolly/tabs-add-tab-defaults
...
fix missing DEFVAL
2017-07-28 11:16:08 +02:00
AlexHolly
4062456c41
fix missing DEFVAL
2017-07-28 04:00:03 +02:00
BastiaanOlij
d2ba2d0873
Adding base classes and structures for ARVR support
...
Added ArVrScriptInterface
Added ARVRCamera, ARVRController and ARVROrigin helper objects
2017-07-28 10:39:15 +10:00
Daniel J. Ramirez
707bb96fa8
Do not allow multiple data connections to the same data input slot, fixes #6357.Improved curve rendering when nodes are close.
2017-07-27 16:39:53 -05:00
ISylvox
cefc02a4f9
tagents --> tangents
2017-07-26 15:14:52 +07:00
Geequlim
407c082810
Fix the resize mode of TextureButton cannot be saved into resource files.
2017-07-26 13:39:14 +08:00
Juan Linietsky
f5277e347d
Fixes to glow and auto exposure, closes #9797 , closes #9106
2017-07-26 00:40:32 -03:00
Juan Linietsky
47b2455a62
Good bye chunky fonts, closes #9441
2017-07-25 09:29:27 -03:00
Poommetee Ketson
f471afa4a5
Label: update min size when regenerate wordcache
2017-07-25 17:06:16 +07:00
Pedro J. Estébanez
6c1b7fd899
Fix Node::move_child() crash if moving to the end plus one
...
Fixes #9820 .
2017-07-25 05:20:30 +02:00
Rémi Verschelde
bf8119f966
Merge pull request #9746 from Noshyaar/label
...
Label: add auto_height
2017-07-24 23:05:05 +02:00
Rémi Verschelde
0a74fb625e
Merge pull request #9791 from bojidar-bg/6087-add-global-local-conv
...
Add .to_local/.to_global methods on Node2D and Spatial
2017-07-24 22:24:34 +02:00
Jakub Grzesik
567cbfcceb
expose missing CollisionShape API for CollisionObject
2017-07-24 20:29:49 +02:00
Rémi Verschelde
374cffaa11
Merge pull request #9764 from Noshyaar/pr-fix2
...
Add object type hint for docs
2017-07-24 08:07:32 +02:00
Juan Linietsky
66009706c9
-Ability to set default import presets for type
...
-More presets for scene importer
-Option in scene importer to export root nodes as separate scenes
-Fixed MeshInstance preview
2017-07-23 18:50:25 -03:00
Poommetee Ketson
2777f81d29
Add object type hint for docs
2017-07-23 18:57:03 +07:00
Bojidar Marinov
140f189a65
Add .to_local/.to_global methods on Node2D and Spatial
...
Those are just helpers around get_global_transform().affine_inverse().xform() and get_global_transform().xform().
Closes #6087
2017-07-23 14:37:26 +03:00
Rémi Verschelde
e286782e60
Merge pull request #9776 from Noshyaar/pr-sprite
...
Sprite: fix disconnect nonexistent signal
2017-07-23 13:14:14 +02:00
Rémi Verschelde
537cd79fc8
Merge pull request #9773 from Noshyaar/pr-tabs
...
Tabs: expose tab_close_display_policy property
2017-07-23 13:13:53 +02:00
Rémi Verschelde
e3aa9b5191
Merge pull request #9706 from djrm/theme_fixes
...
Icons can now be added inside line edits (Search icon).
2017-07-23 13:03:53 +02:00
Poommetee Ketson
3ec47b4c6e
Tabs: expose tab_close_display_policy property
2017-07-23 16:12:19 +07:00
Poommetee Ketson
49331fbd63
Sprite: fix disconnect nonexistent signal
2017-07-23 01:02:33 +07:00
Juan Linietsky
772485cdb3
Several changes to better run in mobile.
2017-07-22 14:08:17 -03:00
Rémi Verschelde
f0ab3283c0
Merge pull request #9749 from kubecz3k/animtree-slider-fix
...
AnimationTree nodes sliders fixes
2017-07-22 13:46:36 +02:00
Jakub Grzesik
0fc4b04f51
AnimationTree nodes sliders fixes
2017-07-21 13:57:46 +02:00
Poommetee Ketson
85bade0c85
Label: add auto_height
2017-07-21 17:20:19 +07:00
Poommetee Ketson
47c4777ccf
Enhanched About dialog, Add ItemList auto_height
...
Add set/has_auto_height for ItemList to automatically set minimum
size by content.
Add hash to About dialog.
Resize About dialog so that dev list appears in 3 columns.
2017-07-21 14:18:40 +07:00
George Marques
2a0c0db028
Fix "vertical" property of StyleBoxLine
2017-07-19 23:30:39 -03:00
Juan Linietsky
25678b1876
-Renamed GlobalConfig to ProjectSettings, makes more sense.
...
-Added system for feature overrides, it's pretty cool :)
2017-07-19 17:06:03 -03:00
Daniel J. Ramirez
95f55c8f0d
Icons can now be added inside line edits (Search icon).
...
Fixed window title bar margins.
fixed compilation error
2017-07-19 13:23:16 -05:00
Rémi Verschelde
c5ba9d9b7c
Merge pull request #9703 from Noshyaar/docs
...
Add object type hint for docs
2017-07-19 10:00:20 +02:00
Poommetee Ketson
49c7620326
Add object type hint for docs
2017-07-19 02:03:34 +07:00
Rémi Verschelde
9cf72d0ae1
Merge pull request #9700 from djrm/button_fixes
...
Fixed button flat behavior when not in normal state.
2017-07-18 18:14:23 +02:00
Rémi Verschelde
1bed4c6783
Merge pull request #9629 from kubecz3k/tabs-addons
...
Tabs enhancements: get_tab_rect(), move_tab()
2017-07-18 18:12:26 +02:00
Daniel J. Ramirez
337c1238b9
Fixed button flat behavior when not in normal state.
...
Also changed some buttons to flat mode
2017-07-18 11:03:06 -05:00
Jakub Grzesik
b5de36b29d
Tabs enhancements: get_tab_rect(), move_tab_from_to()
...
exposed: get_tab_rect(tab_idx)
new and exposed: move_tab_from_to(idx_from, idx_to)
2017-07-18 17:57:02 +02:00
Rémi Verschelde
0afa77a8a2
Merge pull request #9689 from djrm/theme_fixes
...
Added separators using StyleBoxLine, some theme style fixes
2017-07-18 14:06:04 +02:00
Rémi Verschelde
e21ea393ea
Merge pull request #9688 from djrm/slider_fix
...
Fixed slider centering when using SIZE_EXPAND_FILL.
2017-07-18 14:05:54 +02:00
Daniel J. Ramirez
79d85b7ff6
Fixed slider centering when using SIZE_EXPAND_FILL.
2017-07-18 01:50:01 -05:00
Daniel J. Ramirez
17c3422431
Added separators using StyleBoxLine, some theme style fixes, added variant icon
2017-07-18 01:09:19 -05:00
Rémi Verschelde
5a42bbaace
Merge pull request #9482 from Noshyaar/pr-ramp
...
Fix shrunk ColorPickers
2017-07-18 07:52:32 +02:00
Poommetee Ketson
668d00ff2d
Fix ColorPicker to use theme constants
2017-07-18 09:43:16 +07:00
Juan Linietsky
69a4ea34c4
Change label so they appear vertically alligned on fill
2017-07-17 22:47:00 -03:00
Juan Linietsky
bbada82f80
-Reorganized all properties of project settings (Sorry, Again).
...
(Lot's of bloat accumulated, so it was time for clean up.)
-Made EditorSettings and ProjectSettings search more useful (search in sections too)
2017-07-17 22:18:58 -03:00
Rémi Verschelde
f36cd77feb
Merge pull request #9639 from rminderhoud/primitives
...
Moved binds of PRIMITIVE_* contants from ArrayMesh to Mesh
2017-07-18 00:44:57 +02:00
Rémi Verschelde
2b8342e308
Merge pull request #9652 from djrm/theme_fixes
...
Improvements and fixes for the default theme.
2017-07-17 22:36:00 +02:00
Poommetee Ketson
9be034a8cd
LineEdit: don't undo uneditable LineEdit
2017-07-17 20:00:01 +07:00
Rémi Verschelde
4fe63ed7a3
Merge pull request #9642 from kubecz3k/checkbox-fix
...
Fix uncheckable checkboxes in RMB menu. closes #9625
2017-07-17 12:05:29 +02:00
Daniel J. Ramirez
a3c2d9a6bd
Improvements and fixes for the default theme.
...
Added customizable border size and window highlight.
2017-07-16 13:23:59 -05:00
Juan Linietsky
3da3a36034
Many fixes to improve GI Probe quality
2017-07-15 23:24:37 -03:00
Juan Linietsky
741145febd
-Fix for multiple reflection probes causing issues.
...
-Fix for positional sound corruption to avoid making people deaf.
2017-07-15 18:42:06 -03:00
Juan Linietsky
5e361ba2ea
Script editor usability fixes
2017-07-15 09:35:29 -03:00
Juan Linietsky
2e73be99d8
Lots of work on Audio & Physics engine:
...
-Added new 3D stream player node
-Added ability for Area to capture sound from streams
-Added small features in physics to be able to properly guess distance to areas for sound
-Fixed 3D CollisionObject so shapes are added the same as in 2D, directly from children
-Fixed KinematicBody API to make it the same as 2D.
2017-07-15 08:32:34 -03:00
Ralph Minderhoud
bf18c35dd7
Moved binds of PRIMITIVE_* contants from ArrayMesh to Mesh
2017-07-14 08:46:21 -05:00
Jakub Grzesik
7f31cbda4f
Fix uncheckable checkboxes in RMB menu. closes #9625
2017-07-14 10:59:11 +02:00
Rémi Verschelde
0ee47fefbe
Merge pull request #9627 from Noshyaar/dialog
...
AcceptDialog: fix child w/ ANCHOR_END sized wrong until resized
2017-07-13 11:51:46 +02:00
Poommetee Ketson
b5b4abb56d
AcceptDialog: fix child w/ ANCHOR_END sized wrong until resized
2017-07-13 15:57:24 +07:00
Poommetee Ketson
e2dd495ff2
Control: save SIZE_FILL size flag property
2017-07-13 13:50:15 +07:00
Rémi Verschelde
a5bb77d523
Merge pull request #9366 from GodotExplorer/pr-ime-position-flow-cursor
...
IME window follow the input cursor.
2017-07-11 17:07:14 +02:00
ducdetronquito
074801e7a9
[ #7212 ] Fixed missing 'Variant' return values in documentation.
2017-07-11 13:25:51 +02:00
geequlim
7358766ff6
IME window follow the input cursor.
...
Abstruct set_ime_position to OS class.
Update ime position for LineEdit and TextEdit.
2017-07-11 18:36:20 +08:00
Rémi Verschelde
738d6c0afc
Merge pull request #9355 from TwistedTwigleg/Remote_node_enhancement
...
RemoteTransform and RemoteTransform2D enhancements
2017-07-11 11:11:29 +02:00
Thomas Herzog
34edac54e3
Merge pull request #9510 from kubecz3k/tab-reposition
...
ability to reposition scene tabs with drag & drop
2017-07-11 00:11:03 +02:00
Thomas Herzog
e5334fdd29
Merge pull request #9586 from Noshyaar/slider
...
Slider: add set/is_editable
2017-07-11 00:08:54 +02:00
Thomas Herzog
e2e6c2ba43
Merge pull request #9521 from AlexHolly/control-posi-to-posr
...
removed floor so that global pos works with scale in control
2017-07-11 00:00:43 +02:00
Thomas Herzog
f9c99486b0
Merge pull request #9592 from RandomShaper/remove-warns
...
Remove warnings about benign situations
2017-07-10 22:23:11 +02:00
Thomas Herzog
f345fbe4d3
Merge pull request #9594 from RandomShaper/fix-mouse-capture
...
Fix picking list flood while mouse capture enabled
2017-07-10 22:13:46 +02:00
Poommetee Ketson
0c66078bcb
Slider: add set/is_editable
2017-07-11 02:48:55 +07:00
Pedro J. Estébanez
c061044d78
Fix picking list flood while mouse capture enabled
...
Fixes #9575 .
2017-07-10 17:48:57 +02:00
Pedro J. Estébanez
7d308797ad
Remove warnings about benign situations
2017-07-10 16:20:56 +02:00
Jakub Grzesik
29c2aabdaf
ability to reposition scene tabs with drag & drop
2017-07-10 10:31:15 +02:00
Rémi Verschelde
0bf88e4b38
Merge pull request #9489 from TwistedTwigleg/Additional_functions_for_Label_and_RichTextLabel
...
Added additional functions to RichTextLabel
2017-07-08 23:53:25 +02:00
Rémi Verschelde
d23fc16b2d
Merge pull request #9564 from Noshyaar/pr-threshold
...
Refactor 'treshold' to 'threshold'
2017-07-08 23:51:53 +02:00
alexholly
3b5ac579a9
removed floor so that global pos works with scale
2017-07-08 21:04:04 +02:00
TwistedTwigleg
d649140b9b
Added additional functions to RichTextLabel:
...
* Added set_text function to RichTextLabel
* Added percent_visible attributes and functions to RichTextLabel
This should make switching from Label to RichTextLabel easier.
2017-07-08 14:05:18 -04:00
Juan Linietsky
e577c5b070
Some adjustments to toon material to make it more flexible
...
Ability to also disable specular
2017-07-08 14:01:56 -03:00
Juan Linietsky
f4c8c552f9
Added triplanar mapping, toon mode, and more specular modes for materials. Added multipass support for materials.
2017-07-08 12:36:15 -03:00
Poommetee Ketson
2fd204c35e
Refactor 'treshold' to 'threshold'
2017-07-08 22:24:56 +07:00
Juan Linietsky
84de71872f
-Added triplanar mapping modes
...
-Some fixes to shader lang
2017-07-08 08:07:49 -03:00
Juan Linietsky
7c679dd830
More fill modes for containers, closes #9504
2017-07-06 19:06:55 -03:00
Juan Linietsky
bd9d98c172
Ability to set rotation and scaling pivot for controls.
2017-07-06 17:42:44 -03:00
Juan Linietsky
fd9b4ba6e6
-Ability for controls to grow the left/top when anchored. This makes anchoring controls to the right/bottom easier when they are resized.
2017-07-06 13:30:24 -03:00
TwistedTwigleg
3400c42c4d
Added the following features to RemoteTransform and RemoteTransform2D:
...
- Added the ability to toggle changes in position, rotation, and scale
- Added the ability to toggle changes in either local or global coordinates
2017-07-05 16:29:48 -04:00
Johan Manuel
00afca31c6
Use the gravity constant to calculate weights
2017-07-05 15:14:12 +02:00
Rémi Verschelde
f4ff452a58
Merge pull request #9496 from Noshyaar/pr-itemlist
...
ItemList: expose methods, in-editor items editing support
2017-07-05 10:20:44 +02:00
Juan Linietsky
7263137dba
Implemented environment arrays for skybox reflection and roughness, quality increase is enormous.
2017-07-04 23:53:08 -03:00
Poommetee Ketson
3aff102fc3
ItemList: expose methods, in-editor items editing support
2017-07-04 20:12:33 +07:00
Rémi Verschelde
e54c7d5715
Merge pull request #9457 from TwistedTwigleg/Fixed_Vector3_snap
...
Fixed syntax inconsistency in Vector3.snap and Vector3.snapped
2017-07-03 23:43:33 +02:00
Rémi Verschelde
b8ae605603
Merge pull request #9481 from BastiaanOlij/prim_capsule_flat
...
Re-orient capsule to collision shape
2017-07-03 22:47:26 +02:00
TwistedTwigleg
44ecfb028d
Fixed syntax inconsistency in Vector3.snap and Vector3.snapped
2017-07-03 16:29:03 -04:00
TwistedTwigleg
a6feb0943a
Fixed set_global_scale in Node2D.
2017-07-03 13:28:26 -04:00
BastiaanOlij
f02ccffca3
Re-orient capsule to colission shape
2017-07-03 23:53:06 +10:00
Juan Linietsky
e63c64e256
Clean up normalmapping, make sure tangents are imported correctly.
2017-07-03 10:45:34 -03:00
volzhs
6ed2b0eabc
Update visibility icon properly
2017-07-03 00:27:27 +09:00
Bojidar Marinov
88ae942029
Readd shape_offset as an editor-only and backcompat property
2017-07-01 20:58:35 +03:00
Bojidar Marinov
4d2642b666
Readd tilemap's shape_transform and bugfixes
...
This reverts commit a808f53020
.
2017-07-01 20:56:51 +03:00
Juan Linietsky
a808f53020
Revert "Fix Tileset/tilemap issues related to my adding of one-way collisions to them"
2017-07-01 13:02:04 -03:00
Juan Linietsky
2a3e00c8c7
-Many fixes to VisualScript, fixed property names, etc.
...
-Added ability to set/get a field in GetSet, as well as assignment ops
-Added a Select node
-Fixed update bugs related to variable list and exported properties, closes #9458
2017-06-30 21:35:05 -03:00
Bojidar Marinov
80356f925c
Fix #9409 , fixup #9370 ; tileset now has shape transform instead of offset
...
Fix bad return type in CollisionObject2D, Shape -> Shape2D. Was causing unintended null when casting. (9409)
Fix a misplaced ++ operator. (9370)
Fix merging with exiting tileset duplicating shapes. (9370)
2017-06-30 19:01:20 +03:00
Robert Hernandez
f0f407e76e
Texture region now updates when changing an Atlas
...
- Removed atlas_changed signal for AtlasTexture
- Changes are now handled by _notify_change
- Removed unneccesary signal connections
- Texture preview now updates in real-time
Fixed TextureRegionEditor constantly regenerating
2017-06-29 10:49:24 -04:00
Juan Linietsky
db3b05d289
Reworked translation system
...
-Label and Button reload translation on the fly
-Resources are loaded and reload depending on locale
2017-06-28 17:01:35 -03:00
Rémi Verschelde
9e54e1f34f
Merge pull request #7947 from RandomShaper/fix-vis-notifier-2d
...
Fix VisibilityNotifier2D viewport offset issue
2017-06-28 12:25:08 +02:00
Poommetee Ketson
0200507387
Fix build error on master
2017-06-28 10:41:43 +07:00
Marc Gilleron
6c1ab2098f
Fix curve saving, refined undo/redo
2017-06-28 02:43:30 +02:00
Juan Linietsky
51442988b1
Merge pull request #9404 from Zylann/curve_improvement
...
Curve improvement
2017-06-27 07:53:52 -03:00
Juan Linietsky
3ce046ee0c
-Fixed SCREEN_TEXTURE and other related 2D shader parameters.
...
-Fixded BackBuffercopy object
2017-06-26 22:58:46 -03:00
Rémi Verschelde
f1cc3b700a
Merge pull request #9268 from BastiaanOlij/improve_defaults
...
Align primitive defaults to default collision shape sizes
2017-06-26 23:56:57 +02:00
Marc Gilleron
69b8f61f25
Curve features
...
- Ability to set tangents as linear
- Indicative min and max values
- CurveTexture doesn't need min and max anymore
2017-06-26 23:41:37 +02:00
Rémi Verschelde
b0516e0412
Merge pull request #9296 from TwistedTwigleg/Camera2D_enhancements_V2
...
Camera2D enhancements (V2)
2017-06-26 23:37:25 +02:00
Rémi Verschelde
f2bc0cc966
Merge pull request #9370 from bojidar-bg/c-9318-oneway-tilemaps
...
Add one-way collisions and individual shape offsets for tilesets
2017-06-26 22:47:26 +02:00
Rémi Verschelde
f7b77e5b76
Merge pull request #9318 from bojidar-bg/readd-normal-tilemap
...
Add normal map to tilemaps and tilesets
2017-06-26 22:47:11 +02:00
Fabian Mathews
0f0e2240ba
Queue RPC packet before calling method locally to ensure correct RPC packet order
2017-06-26 19:13:54 +09:30
toger5
b941931c95
tree fix drawing order for header +
...
- the collapse arrow gets drawn after the background so its not hidden underneath anymore
- custom_bg_color no offset anymore
2017-06-25 17:12:36 -07:00
Juan Linietsky
d41978eb63
Usability improvements for folding. Unfortunately SpatialMaterial broke compatibility.
2017-06-25 18:57:28 -03:00
Juan Linietsky
760cdbe1a3
-Added folding to property editor, persistent on objects it edits
...
-Some changes to tree to support this properly
2017-06-25 17:31:22 -03:00
TwistedTwigleg
7d77406980
Added some editor enhancements to Camera2D. Added the option to draw Camera2Ds bounds and drag margins. Added options to toggle the drawing of Camera2Ds lines in the editor. When a Camera2D is marked as current, its lines become a little less transparent.
2017-06-25 16:05:44 -04:00
Bojidar Marinov
207feb2f87
Add one-way collisions and individual shape offsets for tilesets
...
As requested in #9318
Accidentially fixes #2231 as well
2017-06-25 21:47:30 +03:00
Ramesh Ravone
c6e295c399
Fixes method bind
2017-06-25 16:35:39 +05:30
Juan Linietsky
83ae9a5e28
Ability to restart particle system with a function call
2017-06-25 08:01:50 -03:00
Poommetee Ketson
e3998528e0
BuildSystem: generated files have .gen.extension
2017-06-25 07:55:01 +07:00
Juan Linietsky
898d8fd557
Merge pull request #9353 from Zylann/gradient_refactor
...
GradientTexture now uses a Gradient
2017-06-24 18:13:56 -03:00
Rémi Verschelde
44c7210387
Merge pull request #9249 from Noshyaar/pr-colorpick
...
ColorPicker: fix DPI, hue & color update issues
2017-06-24 23:02:02 +02:00
Marc Gilleron
2bb1638b0a
GradientTexture now uses a Gradient
...
- Added gradient property
- Deleted duplicate code
2017-06-24 21:50:44 +02:00
George Marques
bd2dd034a7
Merge pull request #9344 from Noshyaar/pr-envi
...
Environment: remove ssr_accel property, fix typo
2017-06-24 12:51:02 -03:00
Juan Linietsky
bc509ac7bd
Simplified 2D Kinematicbody.. 3D will wait a bit.
2017-06-24 12:34:29 -03:00
Andreas Haas
e05621ba35
Merge pull request #9342 from GodotExplorer/pr-rich-text-vscroll-type-3.0
...
Add statements for script types of RichTextLabel
2017-06-24 13:24:42 +00:00