Commit graph

11144 commits

Author SHA1 Message Date
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
Will Nations eaea646648 Adding ability for single meta hovering 2017-11-17 09:37:41 -06:00
Bojidar Marinov e4a36d0eda
Allow exporting enums from GDScript
Use as `export(E) ...`
Closes #12392
2017-11-17 14:33:36 +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
Geequlim fab66af7e9 Move the remote scene tree to the scene tree dock.
Ignore all script constants in the global section of the breakpoint stack.
Check property size before send to avoid too large of data be sent.
Fix crash while clear the remote objects from the debugger.
2017-11-17 12:01:54 +08:00
Daniel J. Ramirez 8eb12806b8 Updated some icons. 2017-11-16 20:15:30 -06:00
geequlim c655fc7cd8 Better supported for remote object editing with the inspector with a simple dictionary editor implement 2017-11-17 09:20:33 +08:00
geequlim ccf76798d5 Send script members, contants and globals to debugger
Remove remote inspector panel
2017-11-17 09:20:32 +08:00
geequlim 475cee9c0f Abstract some method for script system 2017-11-17 09:20:32 +08: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
Rémi Verschelde b44cb4e3b9
Merge pull request #12583 from volzhs/select-multiple-files
Not to be slow when select multiple files
2017-11-17 00:37:01 +01:00
Rémi Verschelde d629fd9a36
Merge pull request #12606 from rraallvv/window_position
Fix window position on macOS (master)
2017-11-17 00:36:16 +01:00
Rémi Verschelde 139a957802
Merge pull request #12763 from remorse107/Code-Complete
Modified code completion for better tabbing with immediate hints.
2017-11-17 00:33:27 +01:00
Rémi Verschelde 852b9691a6
Merge pull request #12940 from willnationsdev/richtextlabel-docs
[DOCS] Adding internal tag stack information and fleshing out descriptions
2017-11-17 00:32:10 +01:00
Rémi Verschelde 219d735eb2
Merge pull request #12932 from willnationsdev/capitalize-enhancement
Fixes a bug where capitalize didn't work with camelCase names
2017-11-17 00:28:18 +01:00
Rémi Verschelde 49cea443a9
Merge pull request #12870 from Nibodhika/master
Fixing tilemap rotation for non top-left tiles.
2017-11-17 00:05:23 +01:00
Rémi Verschelde 7ae8ba2d47
Merge pull request #12976 from Paulb23/scene_tree_add_undo_issue_6125
Fixed scene tree updating when undo/redo root node creation, issue 6125
2017-11-16 23:37:24 +01:00
Michael Alexsander Silva Dias 496e4e0d2f Enabling relationship lines in the Scene Tree enables them in the Create New Node dialog as well. 2017-11-16 20:24:33 -02:00
Paulb23 ad87dac77e Fixed scene tree updating when undoing root node creation, issue 6125 2017-11-16 22:22:51 +00:00
Rémi Verschelde ad61ba7a97
Merge pull request #12974 from karroffel/gdnative-wrapper-fix
[GDNative] fix wrapper code generation
2017-11-16 22:40:25 +01:00
Rémi Verschelde 3330c4b4de
Merge pull request #12971 from Chaosus/saveandrunscenefix
Fix current scene run when scene saved
2017-11-16 22:31:38 +01:00
Rémi Verschelde ab3cd97138
Merge pull request #12969 from akien-mga/refactor-gd-prefix
GDScript: Refactor "GD" class prefix to "GDScript"
2017-11-16 22:12:22 +01:00
Karroffel b13bfac9e3 [GDNative] fix wrapper code generation 2017-11-16 22:05:47 +01:00
Chaosus acc45ccf41 Fix current scene run when scene saved 2017-11-16 21:47:10 +03:00
Rémi Verschelde bb1d1912ea
Merge pull request #12488 from djrm/pr_gridmap_fixes
Several improvements to GridMap.
2017-11-16 19:27:27 +01:00
Rémi Verschelde 763ca3dae1
Merge pull request #12970 from leezh/module_docs
Added modules' doc files to make_doc_header
2017-11-16 19:10:12 +01:00
Zher Huei Lee fbcb2edeeb Added modules' doc files to make_doc_header
They were somehow never included. This fixes that.
2017-11-17 01:57:28 +08:00
Rémi Verschelde 4cfc29611e GDScript: Refactor "GD" class prefix to "GDScript" 2017-11-16 18:54:56 +01:00