Commit graph

2095 commits

Author SHA1 Message Date
Mateusz Adamczyk
ce5200b30e Option for detaching script from node (#6934). 2016-11-01 22:49:01 +01:00
volzhs
fd9aebd4fa Fix to focus or rename node by double click 2016-11-01 22:26:29 +09:00
Rémi Verschelde
f34151ff0f style: Various other PEP8 fixes in Python files
Done with `autopep8 --select=E7`, fixes:

- E701 - Put colon-separated compound statement on separate lines.
- E702 - Put semicolon-separated compound statement on separate lines.
- E703 - Put semicolon-separated compound statement on separate lines.
- E711 - Fix comparison with None.
- E712 - Fix (trivial case of) comparison with boolean.
- E713 - Fix (trivial case of) non-membership check.
- E721 - Fix various deprecated code (via lib2to3).
2016-11-01 00:35:16 +01:00
Rémi Verschelde
817dd7ccbb style: Fix PEP8 blank lines issues in Python files
Done with `autopep8 --select=E3,W3`, fixes:

- E301 - Add missing blank line.
- E302 - Add missing 2 blank lines.
- E303 - Remove extra blank lines.
- E304 - Remove blank line following function decorator.
- E309 - Add missing blank line.
- W391 - Remove trailing blank lines.
2016-11-01 00:35:16 +01:00
Rémi Verschelde
d4c17700aa style: Fix PEP8 whitespace issues in Python files
Done with `autopep8 --select=E2,W2`, fixes:

- E201 - Remove extraneous whitespace.
- E202 - Remove extraneous whitespace.
- E203 - Remove extraneous whitespace.
- E211 - Remove extraneous whitespace.
- E221 - Fix extraneous whitespace around keywords.
- E222 - Fix extraneous whitespace around keywords.
- E223 - Fix extraneous whitespace around keywords.
- E224 - Remove extraneous whitespace around operator.
- E225 - Fix missing whitespace around operator.
- E226 - Fix missing whitespace around operator.
- E227 - Fix missing whitespace around operator.
- E228 - Fix missing whitespace around operator.
- E231 - Add missing whitespace.
- E231 - Fix various deprecated code (via lib2to3).
- E241 - Fix extraneous whitespace around keywords.
- E242 - Remove extraneous whitespace around operator.
- E251 - Remove whitespace around parameter '=' sign.
- E261 - Fix spacing after comment hash.
- E262 - Fix spacing after comment hash.
- E265 - Format block comments.
- E271 - Fix extraneous whitespace around keywords.
- E272 - Fix extraneous whitespace around keywords.
- E273 - Fix extraneous whitespace around keywords.
- E274 - Fix extraneous whitespace around keywords.
- W291 - Remove trailing whitespace.
- W293 - Remove trailing whitespace.
2016-11-01 00:35:16 +01:00
Rémi Verschelde
97c8508f5e style: Start applying PEP8 to Python files, indentation issues
Done with `autopep8 --select=E1`, fixes:

- E101 - Reindent all lines.
- E112 - Fix under-indented comments.
- E113 - Fix over-indented comments.
- E115 - Fix under-indented comments.
- E116 - Fix over-indented comments.
- E121 - Fix a badly indented line.
- E122 - Fix a badly indented line.
- E123 - Fix a badly indented line.
- E124 - Fix a badly indented line.
- E125 - Fix indentation undistinguish from the next logical line.
- E126 - Fix a badly indented line.
- E127 - Fix a badly indented line.
- E128 - Fix a badly indented line.
- E129 - Fix a badly indented line.
2016-11-01 00:33:51 +01:00
volzhs
70cce6152d Fix resetting to default value in EditorSettings 2016-11-01 01:51:34 +09:00
eska
d6f2862429 Add option 'wasm' to compile to WebAssembly in web export
WebAssembly is still experimental, so disabled by default.

The HTML shell file now uses $GODOT_BASE, a placeholder for the
base filename, instead of $GODOT_JS, $GODOT_MEM and $GODOT_FS.
2016-10-31 01:28:01 +01:00
volzhs
a7d492eb53 Fix memory leak with drag & drop on 2D viewport 2016-10-31 11:50:34 +09:00
volzhs
707185d9d8 Fix p_index out of size error when closing script 2016-10-31 06:20:54 +09:00
volzhs
513820ab27 Fix 2 search menus are shown 2016-10-31 00:07:16 +09:00
volzhs
696c47d9ab Fix bug with saving last select language and remove warning 2016-10-30 23:21:59 +09:00
Juan Linietsky
ab4126f510 Merge branch 'master' of https://github.com/godotengine/godot 2016-10-30 09:00:45 -03:00
Rémi Verschelde
914015f3b6 Merge pull request #6962 from henriquelalves/external_editor_focus_bug
Won't change editor tabs when using External Editor.
2016-10-30 12:17:28 +01:00
Rémi Verschelde
1ee1a959ab Merge pull request #6945 from Hinsbart/script_dnd
Ability to drag script files from Filesystem dock to SceneTree dock.
2016-10-30 12:10:45 +01:00
Rémi Verschelde
644e810cef Merge pull request #6920 from volzhs/dragndrop-2d
Improve drag and drop on 2D viewport
2016-10-30 12:06:19 +01:00
Rémi Verschelde
4ed2f98730 Merge pull request #6874 from mateka/issue-6839
Option to load script for node (#6839)
2016-10-30 11:57:56 +01:00
Rémi Verschelde
426ff9e7ac Merge pull request #6614 from TheKK/issue5989
Make FileDialog directory selection less misleading
2016-10-30 10:46:01 +01:00
Juan Linietsky
d6567010bf -Many many fixes
-Gizmos work again
2016-10-29 20:48:09 -03:00
Henrique L. Alves
13c92099e6 Won't change editor tabs when using External Editor.
Fixes issue #3046.
2016-10-29 11:44:57 -02:00
Juan Linietsky
53d8f2b1ec PBR more or less working, still working on bringing gizmos back 2016-10-27 11:50:26 -03:00
Andreas Haas
a3944e66da
Ability to drag script files from Filesystem dock to SceneTree dock.
Allows to attach scripts by dragging them onto the target Node.
2016-10-27 16:32:41 +02:00
volzhs
eed9179ea3 Improve drag and drop on 2D viewport 2016-10-26 21:21:01 +09:00
Bojidar Marinov
713f1451b9
Allow typing hints for Array class (in GDScript and Inspector/ArrayPropertyEdit)
Closes #3586, by implementing the `1b` variation mentioned there.
2016-10-26 14:38:41 +03:00
volzhs
9605a1d0da Remove dead code in FileSystemDock 2016-10-23 23:38:49 +09:00
Henrique Lacreta Alves
853d1ce9f3 Prevent unwanted script editor input on game crash
Fixes #6530.
2016-10-22 12:54:38 +02:00
Rémi Verschelde
ac765fd518 Merge pull request #6710 from lordadamson/master
fix #6031 when creating a script the default language will be what yo…
2016-10-22 12:48:59 +02:00
Adham Zahran
a84a461767 fix #6031 when creating a script the language will be what you selected last time 2016-10-20 23:53:15 +02:00
Mateusz Adamczyk
41329f9750 Option to load script for node (#6839) 2016-10-19 21:26:14 +02:00
Juan Linietsky
4428115916 Everything returning to normal in 3D, still a long way to go
-implemented the scene part of visual server and rasterizer, objects without lighting and material are rendererd only
2016-10-19 11:14:41 -03:00
Rémi Verschelde
e96c49f849 Merge pull request #6850 from akien-mga/pr-scsub-shebang
SCsub: Add python shebang as a hint for syntax highlighting
2016-10-17 20:13:18 +02:00
Rémi Verschelde
fc8ccd5b8c SCsub: Add python shebang as a hint for syntax highlighting
Also switch existing shebangs to "better" /usr/bin/env python.
2016-10-17 20:10:46 +02:00
Rémi Verschelde
c4b7c7d81b Merge pull request #6796 from mateka/issue-3486
Possibility to write node path by hand in exported NodePath variable (#3486)
2016-10-17 11:17:06 +02:00
Rémi Verschelde
1da55f4251 Merge pull request #6825 from volzhs/import-3d-scene-name
Add option for root node name on Import 3D scene window
2016-10-17 10:08:23 +02:00
volzhs
dd04ac7ba9 Add option for root node name on Import 3D scene window 2016-10-15 01:44:19 +09:00
Rémi Verschelde
2f57249c29 Merge pull request #6793 from volzhs/save-branch
Replace a node with saved branch scene instance
2016-10-14 18:09:47 +02:00
Rémi Verschelde
44e0071d0f Merge pull request #6780 from RandomShaper/space-padded-line-numbers
Allow turning off zero-padding for line numbers
2016-10-14 18:09:27 +02:00
George Marques
682c20be46 Merge pull request #6814 from Hinsbart/animplayer
Only show AnimationEditor automatically when an Animplayer is selected.
2016-10-13 13:07:37 -03:00
Rémi Verschelde
05a5d3d9d5 Merge pull request #6782 from pkowal1982/load_icon
New load icon, removed unused open icon
2016-10-13 18:00:07 +02:00
Andreas Haas
86fd40b06c
Only show AnimationEditor automatically when an Animplayer is selected.
Previous behaviour was to show it when an AnimationPlayer has been detected in the scene, now you actually have to select it.
Fixes #6213
2016-10-13 12:31:56 +02:00
Pedro J. Estébanez
00b3af246b Allow turing off zero-padding for line numbers 2016-10-13 11:43:42 +02:00
Mateusz Adamczyk
cf4f3815b3 Possibility to write node path by hand in exported NodePath variable (#3486) 2016-10-11 23:15:01 +02:00
volzhs
cc33c528eb Replace a node with saved branch scene instance 2016-10-11 23:54:46 +09:00
Andreas Haas
094073e4b2
Refresh TextureRegionEditor when region has been changed externally.
Now the TextureRegionEditor updates when you change the region_rect either via the inspector or via
undo/redo.

Fixes #6772
2016-10-11 11:31:25 +02:00
Rémi Verschelde
8b54cfad1d Merge pull request #6776 from RandomShaper/int_property_step
Allow step for integer properties
2016-10-11 09:10:00 +02:00
Rémi Verschelde
f3106cddb3 Merge pull request #6775 from RandomShaper/one-based-col-numbers
Make text column numbers one-based
2016-10-11 09:09:49 +02:00
Rémi Verschelde
346e8a9a6e Merge pull request #6762 from RandomShaper/improve-text-editor
Line length guideline setting plus some tidy-up
2016-10-11 09:09:40 +02:00
Pawel Kowal
ed1e71a77e New load icon, removed unused open icon 2016-10-11 00:28:39 +02:00
Juan Linietsky
1527cf8c0d 2D Shaders are working again using the new syntax, though all is buggy in general 2016-10-10 18:31:01 -03:00
Pedro J. Estébanez
7b293aa4d4 Allow step for integer properties
Small readability improvement
2016-10-10 12:21:31 +02:00
Pedro J. Estébanez
2f80965845 Make text column numbers one-based
Make one-based the column number on the code editor

Make one-based the column number for GDScript error messages

Make one-based the column number for shader code error messages
2016-10-10 11:56:45 +02:00
Pedro J. Estébanez
0159e4f969 Refactor duplicated code 2016-10-10 10:39:58 +02:00
Pedro J. Estébanez
d9c1729a8f Add line length guideline to code editors 2016-10-10 10:39:58 +02:00
Rémi Verschelde
616ddbdf1d i18n: Sync template and translations with current code 2016-10-09 18:12:42 +02:00
Rémi Verschelde
2fb5a00305 i18n: Fix string that broke msgmerge 2016-10-09 18:11:55 +02:00
Rémi Verschelde
0812ad8d27 i18n: Sync translations with Weblate
Adds template for Icelandic translation.
2016-10-09 18:00:17 +02:00
Rémi Verschelde
e0e21984d8 Merge pull request #6747 from RandomShaper/unify-serial-naming
Make node serial naming per-project and universal
2016-10-09 14:55:53 +02:00
Rémi Verschelde
8711523c98 Merge pull request #6722 from Hinsbart/projman_focus
Project manager: grab focus on ok button after path selection.
2016-10-09 14:41:44 +02:00
Rémi Verschelde
afa6f3492c Merge pull request #6711 from Faless/add_go_to_origin_shortcut
Add shortcut to reset cursor position in 3D Editor ( #166 )
2016-10-09 14:38:59 +02:00
Rémi Verschelde
59d92d82a7 Merge pull request #6703 from razvanc-r/fix_node_path
fixes #6695 - MultiNodeEdit edit path in exported NodePath
2016-10-09 14:34:26 +02:00
Rémi Verschelde
a3bac99c1c Merge pull request #6701 from Hinsbart/connect_noscript
ConnectionDialog: Don't allow connecting to a Node without a script if target method is invalid.
2016-10-09 14:15:21 +02:00
Rémi Verschelde
fb856e532e Merge pull request #6673 from J08nY/issue-update-spinner
Fix #6653, add an option to stop the update spinner from spinning
2016-10-09 14:06:59 +02:00
J08nY
4527fbcfa1
editor_node: add an option to stop the update spinner from spinning, fixes #6653 2016-10-08 22:36:54 +02:00
Pedro J. Estébanez
9b2e2935d0 Refactor node naming APIs used by editor
Make 'name_num_separator' a project setting
Make all node operations separator-aware
2016-10-08 21:49:16 +02:00
Pedro J. Estébanez
88a32c11f1 Fix reparent undo not renaming back 2016-10-08 21:49:15 +02:00
Juan Linietsky
850eaf7ed7 -the new shader language seems to work
-shader editor plugin can edit shaders
-code completion in shader editor plugin
2016-10-07 11:31:18 -03:00
Andreas Haas
36d2dd5318
Project manager: grab focus on ok button after path selection.
Slight usability improvement: grabs focus on the Import/Create button after engine.cfg/path selection.
So then I can just press enter to create the project ^^
2016-10-06 12:48:02 +02:00
Răzvan Cosmin Rădulescu
ced8fb4806 fixes #6695 - MultiNodeEdit edit path in exported NodePath 2016-10-05 19:32:51 +02:00
Juan Linietsky
cf5778e51a -Added ViewportContainer, this is the only way to make viewports show up in GUI now
-2D editing now seems to work
-Added some functions and refactoring to Viewport
2016-10-05 01:26:35 -03:00
Fabio Alessandrelli
63abe3dcd0 Add shortcut to reset cursor position in 3D Editor ( #166 )
The shortcut will focus the origin after you moved around with shift + mouse3.
The default shortcut is the letter "O", like "F" for focus.
This can be customized in the editor shortcuts menu.

Closes #166
2016-10-04 21:42:11 +02:00
Andreas Haas
5b7021434f
ConnectionDialog: Don't allow connecting to a Node without a script if target method is invalid.
Shows a warning now.
Fixes #6656
2016-10-04 16:05:25 +02:00
Juan Linietsky
22d83bc9f6 Begining of GLES3 renderer:
-Most 2D drawing is implemented
-Missing shaders
-Missing all 3D
-Editor needs to be set on update always to be used, otherwise it does not refresh
-Large parts of editor not working
2016-10-03 21:35:16 +02:00
Rémi Verschelde
803ccb5c7f Merge pull request #6684 from Hinsbart/save_all
Fix "Save All" option in Script editor.
2016-10-03 12:10:25 +02:00
Rémi Verschelde
b675710b46 Merge pull request #6677 from J08nY/issue-pck-packer
PCKPacker: Move to core from tools, fixes #4129
2016-10-03 12:06:19 +02:00
Rémi Verschelde
735e905c77 Merge pull request #6662 from RandomShaper/export-texture-flags
Respect texture .flags files on export
2016-10-03 12:03:06 +02:00
Rémi Verschelde
ad280e7bfc Merge pull request #6640 from Hinsbart/color_picker
Add inline ColorPicker to Script text editor.
2016-10-03 12:00:10 +02:00
Rémi Verschelde
14fa87ce92 Merge pull request #6592 from Hinsbart/anim_zoom
AnimationEditor: zoom using ctrl+wheel
2016-10-03 11:50:33 +02:00
Rémi Verschelde
de648e552b Merge pull request #6575 from Geequlim/more_themes
More custom theme support for editor
2016-10-03 11:50:18 +02:00
Rémi Verschelde
44b741dd3c Merge pull request #6554 from pkowal1982/propertyeditortooltips
Show True/False tooltip in property editor for bool values
2016-10-03 11:48:08 +02:00
Rémi Verschelde
90f4e76a46 Merge pull request #6479 from RandomShaper/improve-debug-focus
Improve debug focus behavior
2016-10-03 11:36:01 +02:00
Andreas Haas
ac80e68d2f
Fix "Save All" option in Script editor.
Also removes some old code.
fixes #6667
2016-10-02 20:39:15 +02:00
J08nY
b1fba2e013
PCKPacker: moved from tools into core, fixes #4129 2016-10-01 22:07:07 +02:00
Pedro J. Estébanez
11cbbeb17e Respect texture .flags files on export 2016-09-30 17:41:45 +02:00
volzhs
c333659ebc Fix typo for word_wrap 2016-09-30 03:28:05 +09:00
Andreas Haas
f81d009525
Add inline ColorPicker to Script text editor.
Adds an option to the script editor context menu that lets you open
a ColorPicker in order to easily edit `Color()` constructors.
To do this, right click on the word `Color` and select `Pick Color`.

A side effect of this change is that the script editor now has its own
context menu instead of re-using the one from TextEdit.
It's now possible to indent left/right and to toggle comments via this menu.
I also felt free to make it more context-sensitive than before:
Now "Cut" and "Copy" will only be shown if text has actually been selected.

I also added default shortcuts for indent left/right. (alt + left/right)

Closes #6232
2016-09-29 09:12:45 +02:00
Ying-Ruei Liang(KK)
b40265492c Append selected dir when openning dir with Editorfiledialog 2016-09-26 16:05:22 +08:00
Ying-Ruei Liang(KK)
ef1bfd3f2e Show "." in item_list of EditorFiledialog 2016-09-26 16:05:22 +08:00
Andreas Haas
3cce39c2d3
AnimationEditor: zoom using ctrl+wheel
closes #6585
2016-09-23 14:57:54 +02:00
George Marques
0ec2b7baea
Fix crash when disabling main screen plugin 2016-09-21 19:17:55 -03:00
Geequlim
fd236a4b6c More custom theme support for editor 2016-09-20 20:41:57 +08:00
Pawel Kowal
623c483eba Show True/False tooltip in property editor for bool values 2016-09-19 23:41:48 +02:00
Rémi Verschelde
d47e1f11fe Merge pull request #6549 from Hinsbart/default_layout
Make the choosable default editor layout the same as the actual default

[ci skip]
2016-09-19 18:59:53 +02:00
Andreas Haas
a2bff72eee
Make the choosable default editor layout the same as the actual default one.
Fixes #6266
2016-09-19 18:52:08 +02:00
Rémi Verschelde
c284ebfb97 Merge pull request #6534 from djrm/icons
New distraction free mode icon
2016-09-18 20:12:12 +02:00
Rémi Verschelde
cfa868e900 Merge pull request #6525 from vnen/plugin-bottom-show-hide
Expose bottom panel show/hide for plugins
2016-09-18 20:06:10 +02:00
Daniel J. Ramirez
b8ec4a3e02 New distraction free mode icon 2016-09-18 10:19:02 -05:00
Juan Linietsky
8b15b26eed Click the inspected objet name to see all subresources. 2016-09-17 19:01:47 -03:00
Rémi Verschelde
0e962311be Merge pull request #6516 from vnen/plugin-main-screen
Add a function to plugin get the main screen parent
2016-09-17 18:39:56 +02:00
Rémi Verschelde
c47fd20cc6 Merge pull request #6498 from Paulb23/current_script_highlight_fix
Fix highlight current script when script temperature is disabled
2016-09-17 18:36:23 +02:00
Rémi Verschelde
80861b7d59 Merge pull request #6414 from RandomShaper/improve-shader-shadow
Expose additional light/shadow properties to canvas item shaders
2016-09-17 18:34:22 +02:00
George Marques
7904b2b405
Expose bottom panel show/hide for plugins 2016-09-17 12:02:11 -03:00
George Marques
98e7c1edba
Add a function to plugin get the main screen parent
- Fix a bug where the main screen button did not disappear when the plugin
  was deactivated.
2016-09-16 15:02:01 -03:00
Paulb23
fbd0b6f995 Fix highlight current script when script temputure is disabled 2016-09-15 17:34:32 +01:00
Juan Linietsky
08688931a1 Call run callback 2016-09-14 19:44:08 -03:00
Juan Linietsky
a75f5f039e Added API version and hashing to ObjectTypeDB 2016-09-14 19:37:37 -03:00
Pedro J. Estébanez
66dac878ac Improve debug focus behavior
Fix focusing debugged game on Windows
Add re-focusing editor on continue
2016-09-14 04:02:18 +02:00
Juan Linietsky
827a9aa829 Added a generic AStar implementation to Godot.
It's pretty fast, use it for games where Navigation does not cut it.
2016-09-13 18:17:18 -03:00
Juan Linietsky
bfe67a3b87 Make Godot detect if the screen is too small (<1200 pixels wide), and use single dock column like in 1.0 if that's the case. 2016-09-13 11:20:09 -03:00
Juan Linietsky
8bcb6a290c -Added VeryLowDPI and MidDPI modes to Godot editor.
-Improved HiDPI detection (requires resolution of > 2000 in X axis)
2016-09-13 11:05:47 -03:00
Juan Linietsky
08b096ccc2 Distraction free icon was missing 2016-09-13 09:48:12 -03:00
Juan Linietsky
f10d2bd394 -Add a distraction free mode button (so users know it's there)
-Made distaction free not hide the top bar, it's more loss than gain to hide it
-Fix fullscreen toggling and added a menu option for it so it's also visible in settings.
2016-09-13 09:48:12 -03:00
Juan Linietsky
043a7a1e06 Added favorites and recent history to create dialog 2016-09-12 23:23:36 -03:00
Juan Linietsky
f51b202566 Modified resource menu for node scripts so it always goes through the new script wizard. 2016-09-12 19:32:09 -03:00
Rémi Verschelde
dc6eefdbf2 Merge pull request #6465 from Paulb23/script_highlight_color_update
Update current script color on change
2016-09-12 16:33:28 +02:00
Paulb23
a0136838b3 Update current script color on change 2016-09-12 15:19:30 +01:00
Juan Linietsky
37f1e86108 Do ctrl-click on any code identifier to go to definiton or help page. 2016-09-12 10:53:31 -03:00
Juan Linietsky
c40ab446c9 Changed default assignment of shorcut for alt-left/right to history next/prev, which is more standard and useful.
Indent can be done with tab and shift-tab anyway.
If you don't like this, feel free to reassign them manually in the editor settings :P
2016-09-11 12:27:14 -03:00
Juan Linietsky
95eb7466df -Added a ColorFrame control, kind of like Texture but for color.
-Added dropping nodes to text editor for them to become a path
-Fixed issues with font not properly being set in code editor
2016-09-11 11:28:01 -03:00
Juan Linietsky
1bf684cea2 -Cleaned up find/replace bar for replace (made selection only default if selection exists), also made buttons look like buttons
-Fixed a bug related to theme propagation, may be able to solve #6443, #6302 and others. Please test.
2016-09-11 10:05:46 -03:00
Juan Linietsky
2a003d7b4e fix get_selected_nodes() 2016-09-10 17:50:20 -03:00
Juan Linietsky
65b93d177e -Added bindings to the resource filesystem for editor
-Added set_child_rect, which was unavailable for script
2016-09-10 17:34:27 -03:00
Juan Linietsky
491dde2eb4 Made it possible to properly draw over the 2D canvas for 2D objects. Arranged some functions to achieve this. 2016-09-10 16:44:03 -03:00
Juan Linietsky
67d3935eb1 -Added way to generate resource previews from script plugin.
-Updated documentation
2016-09-10 15:32:17 -03:00
Juan Linietsky
75f292f8eb Add API for inspecting objects from EditorPlugin, as requested in one of the comments of #6254 2016-09-10 14:44:28 -03:00
Juan Linietsky
4d664c9289 Merge pull request #5692 from kubecz3k/remoteTransform
Remote transform node (for 3d)
2016-09-10 12:28:47 -03:00
Juan Linietsky
fc61eb37ce Merge pull request #5920 from 29jm/fix-warnings
Fix some more warnings
2016-09-10 12:21:02 -03:00
Juan Linietsky
3c30a3b1aa Merge pull request #6137 from supaiku-o/master
Add a Close All files option to script editor
2016-09-10 12:07:39 -03:00
Juan Linietsky
7a27d5d9e7 Merge pull request #6363 from vnen/winrt
Fix the support for WinRT/UWP
2016-09-10 11:47:42 -03:00
Ralf Hölzemer
991a433cb3 Move hardcoded theme colors from editor_node into editor_themes 2016-09-09 20:16:13 +02:00
Rémi Verschelde
8af99ef1c6 Merge pull request #6436 from djrm/icons
Tweaked some icons, including xform one
2016-09-09 07:46:42 +02:00
Daniel J. Ramirez
56f9adac3b Tweaked some icons, including xform one 2016-09-08 19:22:30 -05:00
Ignacio Etcheverry
7c4f6c654b Merge pull request #6190 from iammangod96/patch-1
Fixed running the game before saving scene
2016-09-08 22:10:50 +02:00
Paulb23
a82ecf6d80 Added customisable grid color, issue 3781 2016-09-08 14:53:39 +01:00
Rémi Verschelde
633f940c96 Merge pull request #6368 from Garmelon/issue-6320
Tilemap editor: Bucket tool - allow deleting and replacing of tiles
2016-09-08 07:58:06 +02:00
George Marques
6aedff7968 Merge pull request #6418 from RandomShaper/canvas-show-hide-bones
Add show bones checkable menu item
2016-09-07 23:53:46 -03:00
Juan Linietsky
828e1c092f Renamed the bind_native functions to bind_vararg, should make it show the documentation more clearly and also make it easier to bind to C# 2016-09-07 19:39:57 -03:00
Rémi Verschelde
19bd661a8f Merge pull request #6421 from Paulb23/highlight_current_script_issue_5450
Added setting to change current script background color, issue 5450
2016-09-07 20:42:36 +02:00
Paulb23
9e92fcaef9 Added setting to change current script background color, issue 5450 2016-09-07 17:54:20 +01:00
Pedro J. Estébanez
17c5fc5955 Add show bones checkable menu item 2016-09-07 11:10:28 +02:00
Geequlim
c1f23bb6af Fix dialogs in ProjectManage don't with editor theme issue 2016-09-07 15:21:15 +08:00
Pedro J. Estébanez
0960887625 Expose light shadow color to canvas item shaders 2016-09-07 01:52:54 +02:00
Juan Linietsky
0094c30938 Do not expose resource/ properties in sectioned property editor, closes #6396 2016-09-06 19:38:31 -03:00
George Marques
15458c8e6a
Add Windows Universal export to editor
- Use OPENSSL_ENABLED definition to the whole source to detect it
  anywhere.
- Add WinRT/UWP template files with manifest and default images.
2016-09-06 13:09:45 -03:00
Rémi Verschelde
78275aad87 Merge pull request #6364 from akien-mga/pr-tools-cleanup
Cleanup of the tools folder
2016-09-06 18:06:29 +02:00
Rémi Verschelde
a66a23fafe Merge pull request #6410 from supaiku-o/issue-6029
Always show output panel when debugging
2016-09-06 07:51:50 +02:00
Rémi Verschelde
d7cf27b507 Merge pull request #6406 from volzhs/create-folder
Select newly created folder on Directory dialog
2016-09-06 07:51:05 +02:00
supaiku
8514eaf34b Always show output panel when debugging 2016-09-06 01:46:50 +02:00
volzhs
28a0ed75ba Select newly created folder on Directory dialog 2016-09-06 07:33:59 +09:00
Rémi Verschelde
3b3502b758 Remove tools/script_plugins, demos of the old plugin API
They are superseded by the official demos in
https://github.com/godotengine/godot-demo-projects/tree/master/plugins
2016-09-05 07:49:22 +02:00
Rémi Verschelde
6a4ba76836 Merge tools/docdump in tools/doc
Reduces clutter in the tools folder.
2016-09-05 07:49:22 +02:00
Rémi Verschelde
ae9729b6df Move various scripts to the "scripts" folder
Thus cleaning up the "tools" folder a bit.
2016-09-05 07:49:22 +02:00
Rémi Verschelde
08e5e8794a Remove obsolete Win32 libraries that everyone had forgotten about 2016-09-05 07:49:22 +02:00
Rémi Verschelde
3efe1231f0 Move templates and distribution stuff to tools/dist
Also removed the obsolete iOS xcode template.
2016-09-05 07:49:10 +02:00
Joscha
acd41d964a Tilemap editor: Bucket tool - allow deleting and replacing of tiles 2016-09-02 12:04:52 +00:00
Rémi Verschelde
3759d378da i18n: Sync template and and merge translations 2016-09-01 19:31:13 +02:00
Rémi Verschelde
a5134e432e i18n: Sync translations from Weblate
Translator credits added manually based on Weblate git log.
Adds Catalan, Danish and Norwegian Bokmål initial translations.
2016-09-01 19:30:18 +02:00
Juan Linietsky
5567350e1b -Reworked constant nodes better
-Added simple switch node, removed InputEventFilter
2016-08-31 12:50:46 -03:00
Rémi Verschelde
ace2ad961c Merge pull request #6228 from manokara/tilemap-someinfo
Add mouse position information in TileMap.
2016-08-31 07:42:14 +02:00
Mark Nokalt
cd71fcb097 editor: Add mouse position information in TileMap 2016-08-30 19:58:17 -03:00
Rémi Verschelde
a69544c45b Merge pull request #6245 from volzhs/issue-6154
Change "Disable Filter" to "Enable Filter" on Font Import window
2016-08-29 19:05:21 +02:00
Rémi Verschelde
79068e348f Merge pull request #6223 from RandomShaper/improve-gridmap-edit
Improve/fix GridMap editor
2016-08-29 19:05:00 +02:00
Rémi Verschelde
e51d59ed98 Merge pull request #6188 from TheHX/undo-redo
Implemented UndoRedo mergeable modes
2016-08-29 19:04:42 +02:00
Rémi Verschelde
91a5c77282 Merge pull request #6185 from TheHX/pr-issue-3496
Better editor settings for the FileSystem dock
2016-08-29 19:04:33 +02:00
Rémi Verschelde
23cb5efe7c Merge pull request #5956 from djrm/tree_behavior
Double click on scene tree element to focus currently selected node
2016-08-29 18:28:05 +02:00
Rémi Verschelde
b3caf72b1d Merge pull request #6319 from djrm/icons
VS icons improvements
2016-08-29 08:09:15 +02:00
Daniel J. Ramirez
9465ce46c6 Colors for VS sockets and icons 2016-08-28 19:57:16 -05:00
Daniel J. Ramirez
372b5f2d04 VS icons improvements 2016-08-28 13:59:56 -05:00
volzhs
85f373691f check "disable_filter" option for backward compatibility 2016-08-28 20:25:35 +09:00
Rémi Verschelde
6c674375e5 Merge pull request #6249 from volzhs/issue-6121
Show last added action on Input Map
2016-08-28 12:02:08 +02:00
volzhs
2e5a4cb5ca Show last added action on Input Map and implement InputEvent "==" 2016-08-28 15:18:13 +09:00
Daniel J. Ramirez
70c9979cce Double click on scene tree element to focus currently selected node
In 3D it will focus in the first viewport
Enable double click for trees
2016-08-27 17:15:49 -05:00
Rémi Verschelde
f3b2c217c6 Merge pull request #6259 from volzhs/issue-6244
Prevent to add node to selection when node is not inside tree
2016-08-27 22:28:40 +02:00
Rémi Verschelde
c29c70275e Merge pull request #6187 from TheHX/pr-pinfo-function
Added add_property_info function to Globals and EditorSettings classes
2016-08-27 22:04:50 +02:00
Rémi Verschelde
1b01246731 Merge pull request #6186 from TheHX/pr-issue-5878
Fix editor glitches when the mesh/material preview is shown
2016-08-27 22:01:20 +02:00
Rémi Verschelde
b6e206e995 Merge pull request #6108 from djrm/vs_type_icons_2
Icons for VScript types
2016-08-27 21:45:06 +02:00
Rémi Verschelde
475b944f9c Merge pull request #6094 from djrm/texure_region_zoom_by_scroll
Zoom texture region using mouse wheel
2016-08-27 21:43:55 +02:00
volzhs
4857eabddb Prevent to add node to selection when node is not inside tree 2016-08-27 23:16:41 +09:00
Juan Linietsky
ec49f41e19 Even more work on visual script editor:
-Added constructor nodes, specialized and conversion ones.
-Cleaned up how unconnected input default values are shown and edited (much cleaner)
-Dragging scene nodes into graph makes a call dialog appear by deault
-Dragging properties into graph is set by default, not get
-fixed dragging internal functions into graph
2016-08-26 17:38:25 -03:00
Ignacio Etcheverry
963ed2d9fa Merge pull request #6036 from neikeq/pr-issue-6030
Device Input dialog now uses containers
2016-08-26 19:54:43 +02:00
Ignacio Etcheverry
4590293186 Merge pull request #6269 from neikeq/pr-doc-null
DocData: Fix null reference not detected correctly
2016-08-26 19:48:42 +02:00
Juan Linietsky
9c6175db11 More visual script work
-Block switches to 2d/3d editor if editing visual script
-Added cast node in flow control
-Added ability to do RPC in visual script
-Comment nodes
-Fix bug with inverted cable in connecting backwards
-Copy and paste nodes, including from different scripts
2016-08-25 17:45:20 -03:00
Ignacio Etcheverry
b81725b203 DocData: Fix null reference not detected correctly 2016-08-24 18:12:42 +02:00
Daniel J. Ramirez
8151da15e1 Icons for VScript types 2016-08-23 22:54:21 -05:00
Juan Linietsky
41a58f7935 tiny bug fix 2016-08-23 23:21:41 -03:00
Juan Linietsky
dc7139c90d Making bits of docs appear in different dialogues is made easier with EditorHelpBit 2016-08-23 23:15:16 -03:00
Juan Linietsky
ad8f208bdb Proper function/property selection in visual script editing for property.
This one has an ordered list, built-in description, search, etc.
2016-08-23 19:29:07 -03:00
volzhs
449ad2b37a Change "Disable Filter" to "Enable Filter" on Font Import window 2016-08-23 05:18:53 +09:00
Pedro J. Estébanez
7d35973486 Improve/fix GridMap editor
Fix cursor/palette update on tile eyedropping
Fix editor not cleaning its state when becoming inactive, which leaves indicators behind among other issues
Fix/improve menu/keyboard shortcuts
Merge 'Gridmap Editor' and 'Grid Map' settings into the latter
2016-08-21 03:41:19 +02:00
Rémi Verschelde
61cb8fd76c Merge pull request #6197 from neikeq/pr-docs-reg-5919
DocData: Fix duplicated parenthesis for default values
2016-08-20 15:02:15 +02:00
Ignacio Etcheverry
9e6b53c8dd DocData: Fix duplicated parenthesis for default values 2016-08-18 17:26:36 +02:00
Manish Sharma
82728b3384 Fixed running the game before saving scene
Closes #6184
2016-08-18 09:49:07 +05:30
Franklin Sobrinho
debf574df3 Implemented UndoRedo mergeable modes 2016-08-17 17:14:51 -03:00
Franklin Sobrinho
9f242ed6e5 Added add_property_info function to Globals and EditorSettings classes 2016-08-16 17:10:53 -03:00
Franklin Sobrinho
f6b39827b1 Better editor settings for the FileSystem dock
* Save the current display mode when changing it from the dock
2016-08-16 15:27:00 -03:00
Franklin Sobrinho
a4c3d2dc89 Fix editor glitches when the mesh/material preview is shown 2016-08-16 12:10:44 -03:00
Rémi Verschelde
56fa741b7a Merge pull request #6165 from TheHX/pr-tile-palette
Small usability improvements on the TileMap editor tile palette.
2016-08-16 11:32:33 +02:00
Franklin Sobrinho
0fa26cd850 Small usability improvements on the TileMap editor tile palette.
* The column width changes with the zoom, now the icons don't overlap.
  * Added a tile hsepation setting.
  * Added a setting to show/hide tile names.
2016-08-16 06:00:47 -03:00
Rémi Verschelde
d11ca175c7 Merge pull request #6161 from djrm/icons
2d collision shape icons now uses the color for shape icons
2016-08-16 09:21:01 +02:00
Franklin Sobrinho
104653f9eb Expose additional functions for the EditorPlugin class 2016-08-15 14:49:58 -03:00
Daniel J. Ramirez
cbad6b3fae 2d collision shape icons now uses the color for shape icons 2016-08-15 12:40:57 -05:00
Johan Manuel
cec1c48a7e Fix various warnings
The warnings fixed were about things like unused variables, misleading
indentation, missing default cases in switches and better grouping of
conditions in if statements.
2016-08-13 13:21:35 +02:00
supaiku
3d84849e03 Added CLOSE_ALL files option to script editor 2016-08-13 02:56:38 +02:00
Rémi Verschelde
408cc9dc9f i18n: Merge PO files with current template 2016-08-10 21:17:15 +02:00
Rémi Verschelde
29d443be37 i18n: Sync template with current source 2016-08-10 21:17:02 +02:00
Rémi Verschelde
221d81a26d i18n: Sync translations from Weblate
Translator credits added manually based on Weblate git log.
2016-08-10 21:13:44 +02:00
Rémi Verschelde
807c615148 i18n: Add a README file to point to the Weblate repo 2016-08-10 15:26:32 +02:00
Daniel J. Ramirez
1e7d0c6ac1 Zoom texture region via mouse wheel 2016-08-09 17:28:40 -05:00
Daniel J. Ramirez
287b6d0e04 Some new icons for visual script and graphs 2016-08-08 17:23:31 -05:00
Rémi Verschelde
a22d1f21e1 Merge pull request #6050 from Hinsbart/remove_pm_file_import
Remove unused function in Project Manager.
2016-08-08 11:13:42 +02:00
Rémi Verschelde
a6643cf578 Merge pull request #6051 from neikeq/pr-imp-5882
Project Manager: Fix and improve unhandled input
2016-08-08 11:12:44 +02:00
Juan Linietsky
9865650b43 Added a simpler way to do sub-functions in both visual and gdscript with the subcall node.
With this, visual script is almost done (missing registering custom nodes from addon).
All this is probably pretty broken, too and needs a lot of testing.
2016-08-08 01:21:22 -03:00
Juan Linietsky
b77200728e -Added yield nodes to visual script
-Added input selection nodes to visual script
-Added script create icon for those who miss it, will only appear when it can be used.
2016-08-07 19:22:33 -03:00
Juan Linietsky
0ed5dbb24d removed extra print 2016-08-06 20:30:13 -03:00
Juan Linietsky
9714a36e65 Reverted printable null object, seems to cause bugs around and not sure why.
Will have to check better, likely for 3.0
2016-08-06 20:13:27 -03:00
Juan Linietsky
9890c1d2ca Likely with bugs and with some features are missing, as well as profiler support, but VisualScript should be more or less done! 2016-08-06 19:00:54 -03:00
Juan Linietsky
259418f827 VisualScript can now execute visual scripts, but there is no debugger or profiler yet. 2016-08-05 22:48:00 -03:00
Ignacio Etcheverry
f3a75a42dd Project Manager: Fix and improve unhandled input 2016-08-05 16:06:16 +02:00
Andreas Haas
0df40cc29b
Remove unused function in Project Manager.
This has been deprecated by #5993
2016-08-05 16:01:45 +02:00
Saracen
b578cf4da8 TextureRegionEditor snap_mode fix. 2016-08-04 19:49:11 +01:00
Ignacio Etcheverry
9483d3cbf9 Device Input dialog now uses containers 2016-08-04 16:51:58 +02:00
Juan Linietsky
cd25624667 More work on visual scripting.. 2016-08-03 22:07:03 -03:00
Rémi Verschelde
c439a6188c Bump version to 2.2-alpha
There are now new developments that will not be in 2.1-stable
2016-08-03 17:59:01 +02:00
Paulb23
e8780d9d32 Added missing license and quotation typo 2016-08-03 16:16:20 +01:00
Juan Linietsky
d8af6330e5 More progress on visual script editing 2016-08-03 11:28:43 -03:00
Juan Linietsky
3d1d190dcd Merge branch 'master' of https://github.com/godotengine/godot 2016-08-02 19:11:47 -03:00
Juan Linietsky
ad313097eb WIP visual scripting, not working yet but you can check out stuff 2016-08-02 19:11:05 -03:00
Rémi Verschelde
3eb3752a59 Merge pull request #5993 from profelis/PR-scan-dragged-folder-2
Improved drad&drop files on project manager
2016-08-01 23:41:02 +02:00
Dima Granetchi
bee2091056
Auto import project folder, confirm scan multiple folders or non-project folder 2016-08-01 22:59:12 +03:00
Paulb23
d7910f44d8 Added Scene tree dock shortcuts 2016-08-01 17:02:40 +01:00
Rémi Verschelde
87e8444499 Merge pull request #5996 from hurikhan/editor_help_indentation
Fix help page title indentation
2016-08-01 10:56:56 +02:00
Mario Schlack
ae1267d41c Fix help page title indentation 2016-08-01 16:30:09 +08:00
Rémi Verschelde
0b595f94c4 Improve dialog title when scanning for projects 2016-07-31 20:46:00 +02:00
Rémi Verschelde
c788284b5c Merge pull request #5981 from profelis/PR-scan-dragged-folder
Drag open scan window if engine.cfg not found
2016-07-31 20:16:12 +02:00
Dima Granetchi
5e011dcd0e
dnd folder open scan window if engine.cfg not found 2016-07-31 01:10:13 +03:00
Dima Granetchi
a1c0fdac9a
fix run button availability check 2016-07-31 01:06:12 +03:00
Rémi Verschelde
38286670ac Merge pull request #5966 from neikeq/pr-issue-5935
Fix infinite loop when replacing text
2016-07-30 09:11:59 +02:00
Ignacio Etcheverry
6e137c02d2 Fix infinite loop when replacing text 2016-07-30 01:11:02 +02:00
Andreas Haas
9720e73e04
Project Manager: Import projects using filesystem drag'n'drop.
Can drop an engine.cfg file over the window to import it ;)
2016-07-29 17:07:05 +02:00
Saracen
5035edb7fd Explicitly initialize 'pending_auto_reload' to false. 2016-07-29 13:51:26 +01:00
Rémi Verschelde
2dd83e28b9 Merge pull request #5957 from djrm/new_icons
New http request and tutorials icon
2016-07-29 07:27:54 +02:00
Rémi Verschelde
829d89631e Merge pull request #5955 from profelis/PR-update-selected-list
Keep ProjectManager.selected_list up to date
2016-07-29 07:24:01 +02:00
Daniel J. Ramirez
12ddc87032 New http request and tutorials icon
Remove garbage in group icon
2016-07-28 21:09:10 -05:00
Dima Granetchi
283530a70b
keep selected_list up to date 2016-07-29 03:41:21 +03:00
George Marques
3cdb5e0d1f
Fix editor icons source file generation
Also removes the unused make_icons.py file.
2016-07-28 21:26:21 -03:00
Rémi Verschelde
1dae31f554 Merge pull request #5925 from profelis/shortcut-filter-project
Command-f focus filter input field in project manager
2016-07-28 08:38:23 +02:00
Rémi Verschelde
ea17094c4f Merge pull request #5939 from neikeq/pr-imp-about
AboutDialog: Popup respecting its minimum size
2016-07-27 18:44:20 +02:00
Ignacio Etcheverry
cf851f7ed4 AboutDialog: Popup respecting its minimum size 2016-07-27 18:11:55 +02:00
Ignacio Etcheverry
9df192d8ec Project Settings: Use containers for the Input Map tab content 2016-07-27 17:32:24 +02:00
Dima Granetchi
759e20aac6
Command-F focus filter input field in project manager 2016-07-27 00:48:00 +03:00
Daniel J. Ramirez
213a57ccaf Stop baking process if there is no geometry in the BakedLightInstance.
moved missing baked light warning to BakedLightInstance configuration warning
2016-07-25 21:45:20 -05:00