Commit graph

8691 commits

Author SHA1 Message Date
toger5
aff293a2fd fixed crash styleBoxTexture binding issue 2017-08-22 22:11:41 +02:00
Andreas Haas
927fb9d793
VisualScriptEditor: Remove Node when canceling PropertySelector. 2017-08-22 21:56:18 +02:00
Daniel J. Ramirez
92c63dc9a7 Ability to set script debugger reason text context. 2017-08-22 14:18:41 -05:00
Paulb23
24c6c097f3 Stops scrolling when the user issues another command 2017-08-22 20:04:19 +01:00
Rémi Verschelde
67e6c1b735 minizip: Fix compatibility with Gentoo's unique zlib API
Fixes #10539 in a diplomatic way (as opposed to telling Gentoo users
to just change their distro or rebuild zlib from upstream...).
2017-08-22 20:11:56 +02: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
Pedro J. Estébanez
c2a1f3b814 Add ability to undo auto-indent
Closes #10420.
2017-08-22 19:52:17 +02:00
Pedro J. Estébanez
00c9218b48 Fix crashes in SVG loading
Adding null terminators.
2017-08-22 19:39:13 +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
Wilson E. Alvarez
298a6934b6 Moved member variables to initializer list 2017-08-22 11:47:50 -04:00
Karroffel
57654d4b95 support enums and nested constants in match statement
The initial version of the pattern matcher in GDScript does not
allow matching on nested identifiers, only one identifiers available
in the current scope.

With the introduction of enums to GDScript that's a huge missing
feature. This commit makes the parser accept indexed constants and
variables to properly support enums.
2017-08-22 17:45:05 +02:00
Juan Linietsky
294e912a84 Fade last cascade in directional shadow, closes #9779 2017-08-22 12:17:20 -03:00
Juan Linietsky
8ad7139631 readded ability to set loop offset in seconds, closes #9630 2017-08-22 11:47:24 -03:00
Juan Linietsky
e54c4028ef Invalid materials or shaders will now interrupt the next chain in materials, closes #9570 2017-08-22 11:23:40 -03:00
Rémi Verschelde
260e33178c Merge pull request #10543 from hpvb/fix-10524
Change order of Null check for ParallaxLayer
2017-08-22 15:26:15 +02: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
Juan Linietsky
8a4e05a440 Merge pull request #10520 from RandomShaper/fix-double-parsing
Fix tokenization of doubles
2017-08-22 10:02:42 -03:00
Rémi Verschelde
19e12424fc Merge pull request #10493 from MednauN/master
Add stretching to `TextureProgress`
2017-08-22 11:37:00 +02:00
Rémi Verschelde
b759fc47e6 Merge pull request #10538 from groud/fix_useless_separator
Fix unneeded separator in Script Editor's Debug menu
2017-08-22 08:49:11 +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
Gilles Roudiere
5ea403c0ce Fix uneeded separator 2017-08-22 08:43:23 +02:00
Rémi Verschelde
c2346b92b2 Merge pull request #10507 from toger5/override_code_them_bg
added setting to override the theme background with editor theme color
2017-08-22 08:14:46 +02:00
Rémi Verschelde
7f49e2a7a0 Merge pull request #10487 from marcelofg55/curscr_as_default
p_screen param from get_screen_* funcs now default to the current screen
2017-08-22 08:12:04 +02: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
Rémi Verschelde
dd07a15fc6 Merge pull request #10527 from hpvb/fix-10517
Add null check to ScriptEditor get_current_tab_control() call
2017-08-22 08:08:42 +02:00
Rémi Verschelde
733125b7a5 Merge pull request #10524 from hpvb/fix-10515
Add null check to ParallaxLayer get_parent() calls
2017-08-22 08:08:31 +02:00
Rémi Verschelde
411f0755a8 Fix Reindhart tonemapping, invalid type in signature
Fixes #10533.
2017-08-22 08:06:54 +02:00
Rémi Verschelde
c8d655f239 Merge pull request #10536 from MasonAsh/fix-10532
Fixed build for Visual Studio
2017-08-22 07:29:19 +02:00
Mason Ashbridge
09818581b1 Fixed build for Visual Studio 2017-08-21 23:52:55 -04:00
Daniel J. Ramirez
1f90f5ed4c Do not use old styles for tab buttons 2017-08-21 21:10:12 -05:00
Juan Linietsky
d1308d5c5b Update ISSUE_TEMPLATE.md 2017-08-21 22:34:57 -03:00
Juan Linietsky
00a26f512c Several fixes to subsurface scattering. Closes #9530 2017-08-21 21:38:01 -03:00
Hein-Pieter van Braam
24bc47b179 Add null check to ScriptEditor get_current_tab_control() call
This fixes #10517
2017-08-22 02:35:04 +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
92410df24c Merge pull request #10415 from tagcup/euler_hack
Fix incorrect workaround for pure Y (X) rotations in XYZ (YXZ) conven…
2017-08-22 00:54:39 +02:00
Rémi Verschelde
135027a2f6 Merge pull request #10225 from Noshyaar/map
GDScript Built-in: add inverse_lerp & range_lerp
2017-08-22 00:31:46 +02: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
Pedro J. Estébanez
6759a28050 Fix tokenization of doubles
Fixes #9600.
2017-08-21 23:59:29 +02:00
Rémi Verschelde
e9c43cecbf Merge pull request #10433 from djrm/pr_svg_support
SVG support
2017-08-21 23:49:07 +02:00
Marcelo Fernandez
63f847b306 p_screen param from get_screen_* funcs now default to the current screen 2017-08-21 18:28:29 -03: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
ce4eb30778 added setting to override the theme background with editor theme color 2017-08-21 23:19:27 +02:00
toger5
d0c610d9ba removed additional border function. (not needed with new styleboxes) 2017-08-21 23:07:38 +02:00
toger5
32f4918f02 added utility funtions for expand margins (in styleBox) 2017-08-21 23:07:08 +02:00
Juan Linietsky
c9b0787724 Merge pull request #10518 from godotengine/revert-8144-symlink
Revert "Reworked change_dir to support symlinks"
2017-08-21 18:06:22 -03:00