groud
4f998faa2d
Fixes drag & drop in the file list
2018-09-27 13:54:09 +02:00
Rémi Verschelde
d8b30d42f5
Fix warnings for operator precedence disambiguation [-Wparentheses]
...
Fixes the following GCC 5 warnings:
```
core/io/resource_format_binary.cpp:1721:29: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
core/typedefs.h:108:24: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses]
editor/plugins/spatial_editor_plugin.cpp:2202:58: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses]
editor/plugins/spatial_editor_plugin.cpp:5002:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
main/input_default.cpp:346:59: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
main/input_default.cpp:348:60: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
main/input_default.cpp:579:57: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
modules/gridmap/grid_map_editor_plugin.cpp:613:14: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
modules/theora/video_stream_theora.cpp:335:34: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
modules/theora/video_stream_theora.cpp:336:35: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
modules/visual_script/visual_script_property_selector.cpp:215:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
scene/gui/rich_text_label.cpp:424:84: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
scene/gui/rich_text_label.cpp:512:80: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
scene/gui/scroll_container.cpp:173:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
scene/gui/scroll_container.cpp:173:86: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
scene/gui/tree.cpp:1419:98: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
```
2018-09-27 10:29:48 +02:00
Rémi Verschelde
2b084352b9
Fix warnings on non-static data member initializers (C++11 feature)
...
We're not formally using C++11 yet so those trigger compilation warnings
(at least with GCC 5):
./main/input_default.h:122:30: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11
CursorShape default_shape = CURSOR_ARROW;
^
Note: We may allow those eventually (especially for non-int static const),
but most of current occurrences were inconsistent with all other classes.
See also http://www.stroustrup.com/C++11FAQ.html#member-init
2018-09-27 10:29:48 +02:00
Rémi Verschelde
ea63c9a870
Inspector: Enable wrap for multiline text widget
...
Fixes #22458 .
2018-09-27 09:09:47 +02:00
Hugo Locurcio
c4770a5b5d
Tweak some editor texts' capitalization, use "Go to" instead of "Goto"
...
This also fixes a typo in the `debugger/debug_with_external_editor`
shortcut.
2018-09-25 22:51:13 +02:00
Rémi Verschelde
23b2ca75c2
Merge pull request #22423 from Chaosus/fix_tooltip_border
...
Fix incorrect tooltip border
2018-09-25 15:16:57 +02:00
Chaosus
7a3aaa69db
Fix incorrect tooltip border
2018-09-25 14:18:25 +03:00
Rémi Verschelde
298a6ad73c
Merge pull request #22290 from groud/add_2dimensional_scale
...
Add both X and Y scale in the scale editor
2018-09-25 10:25:13 +02:00
groud
bad5ec61b1
Add both X and Y scale in the scale editor
2018-09-25 09:50:25 +02:00
DualMatrix
0e37829031
Added step support when exporting integers.
...
Added step support when exporting integers.
This wasn't possible before and was kinda unclear see #21441
2018-09-24 18:26:39 +02:00
Rémi Verschelde
c432ce4ee1
Merge pull request #22400 from Chaosus/viewport_color
...
Added viewport border color setting for canvas item editor
2018-09-24 15:48:55 +02:00
Rémi Verschelde
1f18a85ea1
Merge pull request #22398 from groud/fix_import_tab_update
...
Fix import tab not updating when selecting in the tree view
2018-09-24 15:26:23 +02:00
Chaosus
943d0a90f5
Added viewport border color setting for canvas item editor
2018-09-24 16:16:40 +03:00
groud
ed516a11ca
Fix import tab not updating when selecting in the tree view
2018-09-24 14:26:26 +02:00
groud
43beed489a
Allow the tree view of FileSystem to take more space
2018-09-24 12:01:20 +02:00
Michael Alexsander Silva Dias
b8f946f118
Make Rect2 EditorProperty obey the horizontal setting
2018-09-23 16:00:48 -03:00
Rémi Verschelde
399910ddd8
Merge pull request #22357 from DualMatrix/no_built_in
...
Prevent built-in-scripts from being made from FileSystem dock
2018-09-23 18:37:45 +02:00
DualMatrix
6dc0120c60
Prevent built-in-scripts from being made from FileSystem dock
...
Prevent built-in-scripts from being made from FileSystem dock
2018-09-23 17:38:59 +02:00
Rémi Verschelde
7e3ce79ea9
Merge pull request #22346 from Paulb23/text_file_icon
...
Icon for TextFiles.
2018-09-23 17:10:57 +02:00
DualMatrix
f483460e38
Removed obsoleted core/helper/value_evaluator.h and moved math_fieldwise to core/math/
...
Removed obsoleted core/helper/value_evaluator.h and moved math_fieldwise to core/math/
2018-09-23 14:58:15 +02:00
Evandro Bitencourt
4065b8dd28
Fix issue #22320 .
...
When a resource item doesn´t define a icon it should not use the theme default icon, the default theme icon is an error msg.
2018-09-22 18:53:34 -03:00
Max Hilbrunner
e863bbb3b0
Merge pull request #22339 from AndreaCatania/fixes2
...
Toward 3.1 - physics fixes
2018-09-22 16:47:57 +02:00
Paulb23
0dd1cb0dcc
Icon for TextFiles
2018-09-22 15:17:17 +01:00
Andrea Catania
a3bdcb901f
Correctly freed PhysicalBoneEditor
2018-09-22 11:27:30 +02:00
Rémi Verschelde
29b093f9e8
Merge pull request #22340 from akien-mga/sort_text_editor_themes
...
Settings: Sort text editor themes alphabetically
2018-09-22 10:52:06 +02:00
Andrea Catania
855a440071
Removed node from physical_bone_plugin
2018-09-22 10:14:52 +02:00
Rémi Verschelde
f0051394da
Settings: Sort text editor themes alphabetically
2018-09-22 10:02:20 +02:00
Michael Alexsander Silva Dias
622bae393b
Make EditorFileDialog be able to pick a folder when entering it
2018-09-21 19:42:06 -03:00
groud
f19dfc1aa8
Remove auto disabling of the split-view in the FileSystem dock
2018-09-21 12:19:50 +02:00
Rémi Verschelde
534b7ef292
Merge pull request #22174 from cyclopsian/obj-paths
...
Check for absolute paths in OBJ loader
2018-09-21 10:32:18 +02:00
Rémi Verschelde
f22f83f2df
Merge pull request #22308 from groud/fix_filesystem_setting
...
Fixes filesystem display mode not updating at startup
2018-09-21 10:28:05 +02:00
groud
77a6a467b3
Fixes filesystem display mode not updating at startup
2018-09-21 09:42:41 +02:00
Michael Alexsander Silva Dias
ab2eac8e3f
Make filesystem dock's path bar start with said path written
2018-09-21 04:05:50 -03:00
Juan Linietsky
d9e88bccbe
Merge pull request #22295 from groud/fix_2D_IK
...
Fixes 2D Inverse Kinematic
2018-09-20 17:55:37 -03:00
groud
de01b7941d
Fixes 2D IK
2018-09-20 22:33:49 +02:00
Rémi Verschelde
76ca46d1f4
Merge pull request #22225 from groud/fix_draw_on_viewport
...
Fixes drawing of the 2D plugins on the 3D view
2018-09-20 21:45:16 +02:00
Rémi Verschelde
f93a69cb6e
Merge pull request #22287 from Chaosus/fix_warning
...
Fix "This control can't grab focus." warning spam
2018-09-20 21:41:53 +02:00
Rémi Verschelde
0b705d5583
Merge pull request #22068 from akien-mga/default-editor-layout
...
EditorNode: New default dock layout
2018-09-20 19:57:30 +02:00
Rémi Verschelde
46d8a28314
Merge pull request #22094 from elasota/fix-visual-shader
...
Fix VisualShader code overwrites and save failures
2018-09-20 18:46:20 +02:00
Rémi Verschelde
14632cf88f
Merge pull request #22239 from Chaosus/fix_vs_connection
...
Disconnects previous visual shader node before making a new connection
2018-09-20 18:46:02 +02:00
Rémi Verschelde
8e0dfe5501
EditorNode: New default dock layout
...
As discussed with @reduz, now that the FileSystem dock is getting
files display in tree view (#21426 ), we can change the docks layout
again to give more height to the new inspector.
The new layout is thus:
- Top left: Scene and Import docks
- Bottom left: FileSystem
- Right (full height): Inspector and Node docks
The 2nd left (LEFT_R) and 1st right (RIGHT_L) VSplitContainers (the
ones in use) also get an additional 40px of width compared to their
previous size (which was the minimum size).
Fixes #21480 .
2018-09-20 18:35:38 +02:00
Rémi Verschelde
c884b55ff0
EditorNode: Reorder and cleanup initial dock setup
2018-09-20 18:35:38 +02:00
Rémi Verschelde
69ee33896a
Merge pull request #21426 from groud/add_files_to_tree_view
...
Add files to tree view
2018-09-20 18:32:13 +02:00
Rémi Verschelde
9136f1287e
Merge pull request #22282 from ibrahn/spatial_editor_origin_init
...
fix branch on uninit in spatial_editor_plugin
2018-09-20 15:50:41 +02:00
Rémi Verschelde
da48a599a4
Merge pull request #22131 from DualMatrix/unique_res
...
Make inspector select the correct resource after making them unique
2018-09-20 15:35:23 +02:00
Rémi Verschelde
9f0ea24920
Merge pull request #22163 from DualMatrix/create_extra
...
Automatically add extra args to function when creating it from create signal window
2018-09-20 15:12:12 +02:00
Rémi Verschelde
48ace81d7b
Merge pull request #22171 from DualMatrix/empty_boi_WTF_WHY
...
Fixed empty item slipping into Search Classes dialog
2018-09-20 15:03:13 +02:00
Rémi Verschelde
c19dc39630
Merge pull request #22201 from DualMatrix/error_spam_2_electric_boogaloo
...
Fixed error spam in remote debugger
2018-09-20 14:45:21 +02:00
Rémi Verschelde
7235f48690
Merge pull request #22244 from DualMatrix/debuging_the_debugger
...
Fixed Objects no longer showing ID in debugger.
2018-09-20 14:42:36 +02:00
Chaosus
e4c8efd051
Fix "This control can't grab focus." warning spam
2018-09-20 15:29:38 +03:00
Ibrahn Sahir
ce15cf8ebc
fix branch on uninit in spatial_editor_plugin
...
Moved the initialisation of origin_enabled up a bit, to be inited before
it's accessed in _init_grid. A step towards cleaner valgrind output and
removes an opportunity for a random occurance of the origin/grid
z-fighting issue.
Also removed unused variable last_grid_snap to avoid later confusion.
2018-09-20 13:06:13 +01:00
Rémi Verschelde
0a6626a5d1
Merge pull request #22268 from DualMatrix/highlight_no_save
...
Fixed syntax highlighting setting not being saved
2018-09-20 13:51:33 +02:00
Rémi Verschelde
d357b45fda
Merge pull request #22270 from DualMatrix/locks_toggle_visible
...
Added ability to hide edit locks and groups in editor view
2018-09-20 13:33:29 +02:00
DualMatrix
494354c835
Added ability to hide edit lock and groups in editor view
...
Added ability to hide edit lock and groups in editor view
2018-09-20 11:35:26 +02:00
DualMatrix
4efcf9c943
Fixed syntax highlighting setting not being saved
...
Fixed syntax highlighting setting not being saved
2018-09-20 11:31:53 +02:00
JFonS
a100b320c2
Change viewport type after using create root menu
...
Change viewport type (2D/3D) according to the type of node just created
from the "Create Root Node" menu.
2018-09-20 10:44:58 +02:00
Rémi Verschelde
4fca3fe180
Merge pull request #22267 from YeldhamDev/dict_array_type_fix
...
Properly setup EditorProperties in arrays and dictionaries
2018-09-20 08:54:44 +02:00
Rémi Verschelde
89a38b1b22
Merge pull request #22269 from willnationsdev/fix-draw-call-editor-setting-saves
...
Fix EditorSettings saving on draw calls
2018-09-20 08:53:22 +02:00
Rémi Verschelde
1800439997
Merge pull request #22234 from DualMatrix/favorites_not_saved
...
Fixed favorite nodes list not being saved
2018-09-20 08:51:20 +02:00
willnationsdev
fa271e4870
Fix EditorSettings saving on draw calls
2018-09-19 21:37:55 -05:00
Michael Alexsander Silva Dias
c0c567add7
Properly setup EditorProperties in arrays and dictionaries
2018-09-19 20:23:09 -03:00
groud
c3e66536cc
Fixes polygon editor blocking other editor actions (move, scale...)
2018-09-19 14:26:04 +02:00
DualMatrix
aa32a9f22d
Fixed Objects no longer showing ID in debugger.
...
Fixed Objects no longer showing ID in debugger.
2018-09-19 12:06:34 +02:00
DualMatrix
54286e1711
Fixed error spam in remote debugger
...
Fixed error spam in remote debugger.
2018-09-19 11:32:11 +02:00
groud
e1c92e32e6
Fixes selection of toplevel CanvasItems in the editor
2018-09-19 11:05:24 +02:00
Chaosus
a3fdaa4f21
Disconnect previous visual shader node connection before new connect
2018-09-19 10:30:45 +03:00
Rémi Verschelde
d3e24581b9
Merge pull request #22150 from Calinou/editor-theme-improved-checkboxes
...
Improve checkboxes in the default editor theme
2018-09-19 09:23:44 +02:00
Rémi Verschelde
58c8c05012
Merge pull request #22096 from elasota/fix-visual-shader-colors
...
Fix visual shader color constants not retaining edits
2018-09-19 08:40:49 +02:00
DualMatrix
edd93b7608
Fixed favorite nodes list not being saved
...
Fixed favorite nodes list not being saved
2018-09-19 00:30:01 +02:00
groud
5172642c32
Fixes drawing of the 2D plugins on the 3D view
2018-09-18 20:00:07 +02:00
Poommetee Ketson
e74876028e
Fix find-in-files and go-to-line dialog (partially)
2018-09-18 22:07:13 +07:00
groud
76b2ae8dc6
Fixes favorites not updating and rename favorite_dirs to favorites
2018-09-18 14:02:59 +02:00
DualMatrix
e10ca7b824
Fixed clicking on Find/Replace doesn't set the focus on the text field
...
Fixed clicking on Find/Replace doesn't set the focus on the text field
2018-09-18 00:10:23 +02:00
DualMatrix
0d09f80e43
Added warning when disabling editable_instance
...
Added warning when disabling editable_instance to prevent data loss.
2018-09-17 15:18:03 +02:00
DualMatrix
c1674f1068
Fixed empty item slipping into Search Classes dialog
...
Fixed empty item slipping into Search Classes dialog.
Phew tracking this down was weird.
2018-09-17 12:41:47 +02:00
cyclopsian
45ba58c123
Check for absolute paths in OBJ loader
2018-09-16 22:23:40 -04:00
DualMatrix
1775c796a4
Automatically add extra args to func when creating it from create signal window
...
Automatically add extra arguments to function when creating it from create signal window. They will be called extra_arg_1, extra_arg_2,...
2018-09-16 21:01:17 +02:00
Hugo Locurcio
7533778760
Improve checkboxes in the default editor theme
2018-09-16 15:12:28 +02:00
Michael Alexsander Silva Dias
75d5d81b8a
Remove unnecessary "OK"s text settings
2018-09-15 21:40:50 -03:00
DualMatrix
2996c85c46
Make inspector select the correct resource after making them unique
...
Make inspector select the correct resource after making them unique
2018-09-16 01:50:20 +02:00
Rémi Verschelde
787be50f17
Merge pull request #22117 from Paulb23/colour_theme_crash_issue_21715
...
Fix crash on colour theme change, issue 21715
2018-09-16 01:41:13 +02:00
Rémi Verschelde
437af1450e
Merge pull request #22111 from Chaosus/unification
...
Few unification fixes for canvas_item and spatial editor toolbars
2018-09-16 01:26:36 +02:00
Rémi Verschelde
7f5e653a22
Merge pull request #22066 from Faless/bundle_certs
...
Bundle SSL certs with the templates
2018-09-16 01:22:47 +02:00
Paulb23
df2af46a41
Fix crash on colour theme change, issue 21715
2018-09-15 19:22:20 +01:00
Chaosus
2fe0365661
Few unifications between canvas_item and spatial editors
2018-09-15 18:44:26 +03:00
Rémi Verschelde
2cf024ed91
Merge pull request #22069 from scayze/fix_reload_scripts
...
Fix scripts not reloading when edited externally
2018-09-15 15:10:56 +02:00
Fabio Alessandrelli
0e56377e96
Allow system certs file to be used by Editor.
...
Note, it will only used by the Editor, not when running the game.
This allows package maintainer to compile Godot to use system installed
certificates when accessing the AssetLib.
2018-09-15 14:45:54 +02:00
Fabio Alessandrelli
d2b38aabec
Bundle SSL certs with the templates.
...
If this is undesired it can be avoided by specifying builtin_certs=no .
Bundled SSL certs will be used unless you specify an override in:
Project Settings -> SSL -> Certificates .
2018-09-15 10:54:00 +02:00
elasota
37595e183d
Fix visual shader color constants not retaining edits
2018-09-15 02:47:38 -04:00
elasota
f5c7d64492
Don't open VisualShaders in the text shader editor, and don't support saving them with the "shader" extension.
2018-09-14 22:30:48 -04:00
Rémi Verschelde
d3527834f3
Fix video toggle UX issue
...
It was still functional but showing duplicate entries and thus
"GLES2" for both GLES2 and GLES3 choices.
Fixes #22089 .
2018-09-15 01:49:59 +02:00
Rémi Verschelde
d934cbcbc9
Set default CanvasItemEditor zoom shortcut to KEY_EQUAL
...
At least on en_US QWERTY (and various QWERTY-derived variants)
and fr_FR AZERTY, "+" is an indirect key obtained by pressing
"Shift" + "=", so using "=" in the binding makes it easier to
access.
It doesn't work this way on other layouts like de_DE QWERTZ though,
but since 'script_editor/zoom_in' also uses KEY_EQUAL, setting
the same for consistency.
Fixes #22067 .
2018-09-14 21:42:47 +02:00
Rémi Verschelde
1eed12f6d8
Merge pull request #22074 from willnationsdev/plugin-description
...
Add EditorPlugin descriptions to their tooltip
2018-09-14 20:44:52 +02:00
Will Nations
d26de79f4e
Add EditorPlugin descriptions to their tooltip
2018-09-14 12:21:09 -05:00
Rémi Verschelde
8f33542ac3
ProjectSettings: Fix InputMap editor on HiDPI
...
Fixes #20898 .
2018-09-14 18:11:55 +02:00
Rémi Verschelde
67477f1a06
Merge pull request #22051 from fire/vs_expression_20885
...
Update visual scripting to use new expression class #20885
2018-09-14 18:03:48 +02:00
Manuel Strey
ebd518c9c9
fix scripts not reloading when edited externally
2018-09-14 17:24:12 +02:00
willnationsdev
5436abefe4
Refactor editor icon retrieval
2018-09-14 09:27:56 -05:00
groud
59536b98b9
Bugfixes on the filesystem dock
2018-09-14 13:59:19 +02:00
groud
028813fb9c
Add a display mode toggle button
2018-09-14 10:22:13 +02:00