Commit graph

10952 commits

Author SHA1 Message Date
Rémi Verschelde
9f134aa5d1 Cleanup old references to GLES2 renderer
There are still some left in the Android Java code, even stuff to swap between
GLES1 and GLES2 support from early Godot days... would be good to see some cleanup
there too one day.

The "graphics/api" option for Android exports is removed, as only GLES 3.0 is supported.
It can be readded when GLES 2.0 support comes back. Fixes #13004.
2017-11-19 17:52:18 +01:00
AndreaCatania
aa3e740a53 Removed dynamic_cast from Bullet Server 2017-11-19 17:11:47 +01:00
AndreaCatania
e6ba163031 Fixed kinematic movement on concave shape 2017-11-19 17:01:08 +01:00
Rémi Verschelde
bea607d53e
Merge pull request #13015 from hoelzl/pr-vs-no-progress
Suppress progress messages in Visual Studio output pane

[ci skip]
2017-11-19 16:45:55 +01:00
Rémi Verschelde
4a08887950
Merge pull request #13016 from neikeq/issue-13011
Mono: Fix compiler error with Variant::operator AABB()
2017-11-19 16:43:20 +01:00
George Marques
3b596cdbe0
Merge pull request #13024 from omar25h/set_current_tab_fix
fix set_current_tab: Indexp_current=-1 out of size
2017-11-19 13:32:22 -02:00
Rémi Verschelde
992a40a50d
Merge pull request #12961 from eska014/platform-doc
Facilitate documenting platform-exclusive classes
2017-11-19 16:19:47 +01:00
volzhs
30af5e81db Restore post_import function 2017-11-19 23:45:16 +09:00
Leon Krause
35adf718cf Change HTML5 start-up API
Rename engine.start() to startGame(), new start() takes string arguments
handed directly to main(). Rename Engine.loadEngine() to load().

Add setLocale(), setResizeCanvasOnStart(), setExecutableName() and
preloadFile().
2017-11-19 15:39:57 +01:00
Leon Krause
9107357c8d
Merge pull request #13003 from eska014/drop-asmjs
Drop HTML5 asm.js support
2017-11-19 15:07:19 +01:00
Pedro J. Estébanez
803b3934d6 Fix duplication of signals
- Partially revert 6496b53549, adding a comment about why duplications of signals must happen as a second phase.
- Add fallback logic for connections to nodes not in the duplicated hierarchy.
- Remove redundant call to `Node::_duplicate_signals()`.

Fixes #12951.
2017-11-19 15:07:05 +01:00
BenH
09b7a651b8 Fixed issue with animation keys that are on frame 0 being difficult to click 2017-11-19 14:05:33 +00:00
Gilles Roudiere
8d1f2b1857 Rework the canvas_item API for further improves to the canvas item editor 2017-11-19 13:36:31 +01:00
Omar Al Halabi
cb86f6fbf6 fix set_current_tab: Indexp_current=-1 out of size 2017-11-19 13:14:00 +02:00
Poommetee Ketson
0aa4765904
Merge pull request #12989 from capnm/fix_class_makerst
Fix class docs, improve error handling of the rst generator.
2017-11-19 16:25:51 +07:00
Poommetee Ketson
baaafc5829
Merge pull request #12999 from Hinsbart/dnd_import
Editor: Drop files to copy them to project.
2017-11-19 16:22:40 +07:00
Evgeny Zuev
785f364bb0 Add currency code to iOS product details response 2017-11-19 15:47:27 +07:00
Michael Alexsander Silva Dias
fd52555bbe Added a label to the Dock Positioner. 2017-11-19 03:24:55 -02:00
Poommetee Ketson
40574c1fc0
Merge pull request #13026 from kbake/line_edit_ignored_expand_to_len_12447
Allow LineEdit's expand_to_len be set via inspector
2017-11-19 11:58:09 +07:00
Poommetee Ketson
b1fefe2245
Merge pull request #13014 from sketchyfun/animation_editor_button_fix
AnimationEditor keys button fix
2017-11-19 11:48:45 +07:00
Ian
1e59169d2d scrolling fixes 2017-11-18 20:07:53 -05:00
kbake
a5973f4071 change expand_to_len property to add on nonzero...also rename to
expand_to_text_length and shift window on expand to see all text
2017-11-18 18:57:48 -05:00
Ignacio Etcheverry
b51b3dc030 Mono: Fix compiler error with Variant::operator AABB() 2017-11-18 18:13:57 +01:00
Matthias Hoelzl
8354bb4638 Suppress progress messages in Visual Studio output pane 2017-11-18 17:51:24 +01:00
BenH
090a9abf84 Fixed issue where some of the animation editor buttons were difficult to click, mainly the add key button. This was due to an error in the offsets 2017-11-18 16:13:11 +00:00
Leon Krause
ddf21ca016 Remove asm.js support from HTML5 platform
Since WebGL 2.0 is required, requiring WebAssembly support as well has
little impact on compatibility.
2017-11-18 05:52:14 +01:00
Daniel J. Ramirez
59c2e8906a Improved packed scene previews. 2017-11-17 21:42:14 -06:00
Leon Krause
63b1a096eb Facilitate exposing platform-exclusive interfaces to all platforms
This makes the interfaces available, without implementation, in other
platforms and the editor, which facilitates documenting platform-exclusive
classes.

Platform-exclusive APIs must be set up in platform/<platform>/api/api.cpp.
Provide noop method-implementations where necessary.

Also setup and document the HTML5 platform's JavaScript singleton.
2017-11-18 03:54:21 +01:00
Ian
d350f506a0 TextEdit code folding 2017-11-17 21:49:43 -05:00
Rémi Verschelde
63283eca55
Merge pull request #12998 from djrm/pr_fixes
some fixes
2017-11-18 02:24:24 +01:00
Daniel J. Ramirez
62eda56e67 Fixed mesh importing when multiple materials are present 2017-11-17 18:50:19 -06:00
Martin Capitanio
ade4f3084c Fix class docs, improve error handling of the rst generator.
The rst-generator gives you now a hint what's going on:
Bad reference: 'method.RegEx.search_all' in file: ../modules/regex/doc_classes/RegExMatch.xml

grep 'method.RegEx.search_all' ../modules/regex/doc_classes/RegExMatch.xml
	Contains the results of a single regex match returned by [method RegEx.search]
	and [method.RegEx.search_all]. It can be used to find the position and range of the match
	and its capturing groups, and it can extract its sub-string for you.
2017-11-18 01:41:32 +01:00
Juan Linietsky
ca19403306 change low cpu delay to 1 usec, should make editor smoother and not really use
a lot more cpu. Fixes #11030
2017-11-17 21:22:37 -03:00
Andreas Haas
3495190497
Editor: Drop files to copy to project. 2017-11-17 21:52:55 +01:00
Daniel J. Ramirez
7154baa010 Avoid spamming the console for editor settings initial sets. 2017-11-17 14:23:44 -06:00
Rémi Verschelde
ad199c3964 EditorSettings: Rename settings_path to settings_dir
Also to prepare for upcoming refactoring for XDG support.
2017-11-17 20:55:09 +01:00
Rémi Verschelde
73049d115e Rename OS::get_data_dir to OS::get_user_data_dir
Will be needed to avoid confusion with system data path (XDG_DATA_HOME)
and editor data dir in upcoming refactoring.
2017-11-17 20:55:09 +01:00
Juan Linietsky
ebbe2bd572
Merge pull request #12930 from vnen/gdscrit-output-print
Make tool scripts print on the editor Output panel
2017-11-17 16:05:44 -03:00
Rémi Verschelde
0968c8d2f6
Merge pull request #12982 from tagcup/aabb_rename
Rename Rect3 to AABB.
2017-11-17 20:04:29 +01:00
Juan Linietsky
1feeb3e1c8
Merge pull request #12924 from vnen/light-shader
Enable light shaders when light variables are used
2017-11-17 16:02:34 -03:00
Juan Linietsky
0e04316214
Merge pull request #12962 from SaracenOne/gui_focus_next_prev
Add manual overrides for focus_next and focus_previous
2017-11-17 15:03:05 -03:00
Juan Linietsky
cb484d75a3
Merge pull request #12980 from Rycerzyk/dithering-11416
Fix alpha dithering in viewports with TransparentBg=false and Usage=2D, issue #11416
2017-11-17 15:02:35 -03:00
Juan Linietsky
f810d369de
Merge pull request #12987 from vnen/plugin-resource-save
Make resources edited by plugins be sent as reference
2017-11-17 14:56:54 -03:00
Ferenc Arn
d28763a4c1 Rename Rect3 to AABB.
Fixes #12973.
2017-11-17 11:01:41 -05:00
George Marques
e90cfa6f82
Make resources edited by plugins be sent as reference
This ensures that a plugin can save a resource using the ResourceSaver.
2017-11-17 13:48:33 -02:00
Rémi Verschelde
64caa4733c
Merge pull request #12977 from YeldhamDev/create_node_relationships
Enabling relationship lines in the Scene Tree enables them in the Create New Node dialog as well
2017-11-17 09:22:23 +01:00
Daniel J. Ramirez
8eb12806b8 Updated some icons. 2017-11-16 20:15:30 -06:00
andrzej.buczynski
4c0e927ccf Fix alpha dithering in viewports with TransparentBg=false and Usage=2D, issue #11416 2017-11-17 01:40:00 +01:00
George Marques
b96ee28acd
Add a print handler for the editor output panel 2017-11-16 21:57:02 -02:00
George Marques
1d12470a78
Add print_error function, akin to print_line 2017-11-16 21:56:57 -02:00