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
Marcelo Fernandez
c6edf1821e
Fix y axis for set_window_position on OS X
2017-08-21 12:36:04 -03:00
Juan Linietsky
1be30f35a6
Fix binary object marshalling, closes #9472
2017-08-21 11:22:08 -03:00
Rémi Verschelde
93f1fb1c2f
Fixes for new two-dash long command line arguments
...
- Fixes some single-dash leftovers that were missed in the previous commit
- Reorder the help output for clarity, and document missing options
- Drop obsolete options: --noop, --pack, --editor-scene, --level, --import, --import-script, --no-quit
- Improve error message on malformed arguments and do not display help on error
- Always use long form of arguments when starting a new Godot process from C++, for clarity and easy grepping
- Cleanup obsolete code here and there
2017-08-21 08:09:22 +02:00
Hugo Locurcio
1d757c43d7
Tweak command-line arguments to make them more UNIX-like
...
Also improves the command-line help text readability.
2017-08-21 08:08:35 +02:00
Juan Linietsky
d8cd849a43
Merge pull request #10492 from Rubonnek/fix-segfault-on-arch-linux
...
Fixed segfault when hovering over tree elements and showing tooltips.
2017-08-20 23:59:44 -03:00
Juan Linietsky
533014b88c
simplify the way window is allowed to steal focus, no longer relying on project.godot. Closes #9459
2017-08-20 23:42:54 -03:00
Wilson E. Alvarez
0017e21521
Fixed segfault when hovering over scene tree elements and showing tooltips.
2017-08-20 22:28:07 -04:00
Juan Linietsky
0bdbe370bf
Implemented missing opaque prepass render mode, fixes #9452
2017-08-20 21:26:15 -03:00
Rémi Verschelde
35d5724519
Fix mismatched hints for filesystem/import/pvrtc_texture_tool
2017-08-20 22:23:58 +02:00
Ignacio Etcheverry
32dd9a9f66
ClassDB: Provide the enum name of integer constants
2017-08-20 22:07:43 +02:00
Juan Linietsky
834112772b
property validate assignment condition in new variables, fixes #9411
2017-08-20 16:15:46 -03:00
Rémi Verschelde
952db3e676
Merge pull request #10483 from Zylann/orbit_sensitivity
...
Reduced default orbit sensitivity for smoother rotation
2017-08-20 21:05:55 +02:00
Daniel J. Ramirez
0c18009665
Added missing icon and svgs upscaling
2017-08-20 13:53:09 -05:00
Daniel J. Ramirez
c873661c30
Added pure vector theme, with dark icons variation
2017-08-20 13:53:09 -05:00
Daniel J. Ramirez
da8fecf25e
Added support for SVG
2017-08-20 13:53:02 -05:00
Juan Linietsky
ab13d0aeed
Inspector is no longer cleared when game runs, fixes #9408
2017-08-20 15:21:45 -03:00
Sipaha
f6ee4cac39
Move wait_for_flush out of queue lock
2017-08-21 01:10:44 +07:00
Marc Gilleron
ede58e48d8
Reduced default orbit sensitivity for smoother rotation
2017-08-20 18:22:45 +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
Juan Linietsky
831e21e89b
Properly initialize color hinted vec4 uniforms to 0,0,0,1 fixes #9354
2017-08-20 12:35:43 -03:00
Rémi Verschelde
f6c39830cb
Merge pull request #10481 from neikeq/water-store-remark
...
Fixes Ref's GetTypeInfo missing with ptrcall disabled
2017-08-20 16:34:38 +02: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
f4e2baae7f
Merge pull request #10476 from Paulb23/delete_current_line_issue_9643
...
Delete current line, issue 9643
2017-08-20 15:25:28 +02:00
Rémi Verschelde
20ab8c1156
Merge pull request #10473 from akien-mga/run_window_placement_default
...
Rename "Default" window placement mode to "Top Left"
2017-08-20 15:25:14 +02:00
Rémi Verschelde
177583e282
Merge pull request #10466 from n-pigeon/expose_transform
...
Exposed Transform.interpolate_with()
2017-08-20 15:24:57 +02:00
Rémi Verschelde
dca8df47b4
Merge pull request #10460 from Zylann/orbit_sensitivity
...
Added option for mouse orbit sensitivity
2017-08-20 15:24:35 +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
Paulb23
de95e65d10
Delete current line, issue 9643
2017-08-20 13:31:30 +01:00
Ignacio Etcheverry
af4c4397df
Fixes Ref's GetTypeInfo missing with ptrcall disabled
2017-08-20 14:28:22 +02:00
Rémi Verschelde
686294e4f2
Rename "Default" window placement mode to "Top Left"
...
It is no longer the default value ;)
2017-08-20 14:16:31 +02:00
Juan Linietsky
7e5890d23d
-Fix all shadow and culling related issues, fixes #9330
2017-08-19 20:07:21 -03:00
Andreas Haas
a80371ce0a
SceneTreeEditor: Fix node_selected signal emission.
...
Fixes #10131
2017-08-20 00:20:27 +02:00
Przemysław Gołąb (n-pigeon)
6d56c73de7
Exposed Transform.interpolate_with()
...
Additionaly changed values names for 2D version to more descriptive ones.
2017-08-20 00:09:45 +02:00
Juan Linietsky
56d9f9df67
Merge pull request #10464 from godotengine/revert-10445-args-doubledash
...
Revert "Second take at making command-line arguments more UNIX-like + main.cpp and help cleanup"
2017-08-19 17:48:10 -03:00
Juan Linietsky
b9dcebb37c
Revert "Second take at making command-line arguments more UNIX-like + main.cpp and help cleanup"
2017-08-19 17:47:27 -03:00
Marc Gilleron
a88c759ff1
Added option for mouse orbit sensitivity
2017-08-19 21:57:43 +02:00
Juan Linietsky
588ffbc08a
Fixed wrong usage of has_no_area function, closes #10434
2017-08-19 14:54:04 -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
01e447f3df
Merge pull request #10449 from toger5/theme_redundant_border_script_panel_fix
...
Removed style box border for script panel. Fixes #10410
2017-08-19 18:03:59 +02: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
ce85179e5d
Merge pull request #10446 from bojidar-bg/6583-fix-wait-node
...
Fix Condition + Wait nodes freezing the game
2017-08-19 18:00:20 +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
Rémi Verschelde
dc8cfbab46
Merge pull request #10445 from akien-mga/args-doubledash
...
Second take at making command-line arguments more UNIX-like + main.cpp and help cleanup
2017-08-19 17:50:35 +02:00
Thomas Herzog
99d4c105a8
Merge pull request #10448 from touilleMan/correct-gdnative-string-method-name
...
[GDnative] Correct godot_string_chars_to_utf8_with_len function name
2017-08-19 17:45:50 +02:00
toger5
475502e638
Removed style box border for script panel. Fixes #10410
2017-08-19 17:30:48 +02:00
Emmanuel Leblond
00d552b1cd
[GDnative] Correct godot_string_chars_to_utf8_with_len function name
2017-08-19 17:08:33 +02:00