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
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
a7d492eb53
Fix memory leak with drag & drop on 2D viewport
2016-10-31 11:50:34 +09:00
707185d9d8
Fix p_index out of size error when closing script
2016-10-31 06:20:54 +09:00
513820ab27
Fix 2 search menus are shown
2016-10-31 00:07:16 +09:00
696c47d9ab
Fix bug with saving last select language and remove warning
2016-10-30 23:21:59 +09:00
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
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
644e810cef
Merge pull request #6920 from volzhs/dragndrop-2d
...
Improve drag and drop on 2D viewport
2016-10-30 12:06:19 +01:00
4ed2f98730
Merge pull request #6874 from mateka/issue-6839
...
Option to load script for node (#6839 )
2016-10-30 11:57:56 +01:00
426ff9e7ac
Merge pull request #6614 from TheKK/issue5989
...
Make FileDialog directory selection less misleading
2016-10-30 10:46:01 +01:00
13c92099e6
Won't change editor tabs when using External Editor.
...
Fixes issue #3046 .
2016-10-29 11:44:57 -02:00
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
eed9179ea3
Improve drag and drop on 2D viewport
2016-10-26 21:21:01 +09:00
9605a1d0da
Remove dead code in FileSystemDock
2016-10-23 23:38:49 +09:00
853d1ce9f3
Prevent unwanted script editor input on game crash
...
Fixes #6530 .
2016-10-22 12:54:38 +02:00
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
a84a461767
fix #6031 when creating a script the language will be what you selected last time
2016-10-20 23:53:15 +02:00
41329f9750
Option to load script for node ( #6839 )
2016-10-19 21:26:14 +02:00
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
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
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
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
dd04ac7ba9
Add option for root node name on Import 3D scene window
2016-10-15 01:44:19 +09:00
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
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
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
05a5d3d9d5
Merge pull request #6782 from pkowal1982/load_icon
...
New load icon, removed unused open icon
2016-10-13 18:00:07 +02:00
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
00b3af246b
Allow turing off zero-padding for line numbers
2016-10-13 11:43:42 +02:00
cf4f3815b3
Possibility to write node path by hand in exported NodePath variable ( #3486 )
2016-10-11 23:15:01 +02:00
cc33c528eb
Replace a node with saved branch scene instance
2016-10-11 23:54:46 +09:00
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
8b54cfad1d
Merge pull request #6776 from RandomShaper/int_property_step
...
Allow step for integer properties
2016-10-11 09:10:00 +02:00
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
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
ed1e71a77e
New load icon, removed unused open icon
2016-10-11 00:28:39 +02:00
7b293aa4d4
Allow step for integer properties
...
Small readability improvement
2016-10-10 12:21:31 +02:00
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
0159e4f969
Refactor duplicated code
2016-10-10 10:39:58 +02:00
d9c1729a8f
Add line length guideline to code editors
2016-10-10 10:39:58 +02:00
616ddbdf1d
i18n: Sync template and translations with current code
2016-10-09 18:12:42 +02:00
2fb5a00305
i18n: Fix string that broke msgmerge
2016-10-09 18:11:55 +02:00
0812ad8d27
i18n: Sync translations with Weblate
...
Adds template for Icelandic translation.
2016-10-09 18:00:17 +02:00
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
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
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
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
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
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