marxin
8d51618949
Add -Wshadow=local to warnings and fix reported issues.
...
Fixes #25316 .
2019-02-20 19:44:12 +01:00
Rémi Verschelde
b16c309f82
Update copyright statements to 2019
...
Happy new year to the wonderful Godot community!
2019-01-01 12:58:10 +01:00
Michael Alexsander Silva Dias
f3835282c4
Small capitalization fixes across the editor
2018-10-26 16:11:36 -03:00
Ignacio Etcheverry
57f46f7fcd
Fix enum values in the editor and hide enum numeric values in the Inspector
...
- Hide numeric value of enum constants in the inspector (EditorPropertyEnum)
- EditorPropertyEnum, CustomPropertyEditor: Calculate values of enum constants correctly when only some of these constants have explicit values.
2018-10-15 23:48:54 +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
K. S. Ernest (iFire) Lee
e8f993677d
Update visual scripting to use new expression class #20885
2018-09-13 12:53:14 -07:00
Rémi Verschelde
ed8b75a3e1
Drop obsolete PropertyEditor and SectionedPropertyEditor code
...
Replaced by EditorInspector.
2018-09-11 16:16:11 +02:00
Rémi Verschelde
52466d57e9
Make some debug prints verbose-only, remove others
2018-08-24 14:59:01 +02:00
Will Nations
6d9cc032e7
Add custom icons to script classes.
2018-08-14 14:18:05 -05:00
Hein-Pieter van Braam
0e29f7974b
Reduce unnecessary COW on Vector by make writing explicit
...
This commit makes operator[] on Vector const and adds a write proxy to it. From
now on writes to Vectors need to happen through the .write proxy. So for
instance:
Vector<int> vec;
vec.push_back(10);
std::cout << vec[0] << std::endl;
vec.write[0] = 20;
Failing to use the .write proxy will cause a compilation error.
In addition COWable datatypes can now embed a CowData pointer to their data.
This means that String, CharString, and VMap no longer use or derive from
Vector.
_ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug
builds. This is a lot faster for Vector in the editor and while running tests.
The reason why this difference used to exist is because force-inlined methods
used to give a bad debugging experience. After extensive testing with modern
compilers this is no longer the case.
2018-07-26 00:54:16 +02:00
Chaosus
982c4d7d5c
Few fixes for editor tab in editor settings
2018-07-20 13:22:22 +03:00
Chaosus
cf38270ef7
Increase settings apply speed and added deferred color apply
2018-05-31 11:33:36 +03:00
Juan Linietsky
005b69cf6e
-New inspector.
...
-Changed UI resizing code, gained huge amount of speed.
-Reorganized timer sync to clean up behavior (sorry forgot commit this before)
-
2018-05-15 17:14:31 -03:00
Rémi Verschelde
460e551ddf
Merge pull request #16418 from bojidar-bg/15961-gdscript-array-export
...
Allow exporting arrays of resources in GDScript
2018-05-03 21:19:15 +02:00
Hugo Locurcio
1c419531a0
Change ".." punctuation for "..." in editor strings ( #16507 )
2018-04-22 19:36:01 +02:00
Chaosus
56a6d90f36
Fix #18058 regression
2018-04-08 20:01:38 +03:00
Juan Linietsky
2f4f8de459
Merge pull request #16995 from mrcdk/custom_resources_inspector
...
The inspector will show the custom resources added via plugin
2018-04-08 11:49:34 -03:00
Bojidar Marinov
9f6c0c6eae
Duplicate Arrays and Dictionaries when instancing scene in editor
...
Also, add deep (=false) parameter to Array.duplicate and Dictionary.duplicate
Fixes #13971
2018-03-13 17:18:08 +02:00
MrCdK
97e77688bb
Now the inspector will show the custom resources added via plugin
2018-02-25 01:41:26 +01:00
Rémi Verschelde
a2a216ac56
Merge pull request #15505 from YeldhamDev/type_icons
...
Re-enabled type icons
2018-02-14 16:58:22 +01:00
Bojidar Marinov
d855fdb451
Allow exporting arrays of resources in GDScript
...
Fixes #15961
2018-02-05 16:41:13 +02:00
Andreas Haas
122837e73a
PropertyEditor: Add missing MAKE_PROPSELECT.
...
Fixes #15745
2018-01-15 19:43:32 +01:00
Michael Alexsander Silva Dias
f7547a7f28
Re-enabled type icons.
2018-01-08 18:46:59 -02:00
Rémi Verschelde
e4213e66b2
Add missing copyright headers and fix formatting
...
Using `misc/scripts/fix_headers.py` on all Godot files.
Some missing header guards were added, and the header inclusion order
was fixed in the Bullet module.
2018-01-05 01:22:23 +01:00
volzhs
1876999b3a
Fix get_edited_scene_root error at starting editor
...
Fix #15300
2018-01-05 03:55:43 +09:00
Rémi Verschelde
b50a9114b1
Update copyright statements to 2018
...
Happy new year to the wonderful Godot community!
2018-01-01 14:40:47 +01:00
Noshyaar
e6b6683694
Merge pull request #14991 from djrm/pr_fixes
...
Show Options Dialog for NodePath and File in clicked button position.
2017-12-27 10:29:25 +07:00
volzhs
cc1d56e3ff
Fix popup menu size in Inspector dock
2017-12-25 19:31:53 +09:00
Daniel J. Ramirez
07fd5456c8
Show Options Dialog for NodePath and File in clicked button position.
...
Auto select newly created nodes.
2017-12-23 15:15:48 -06:00
Michael Alexsander Silva Dias
e86454fb38
Fixes and modifications for some dialogs.
2017-12-21 15:26:46 -02:00
Ray Koopa
0d04f212a3
Clean up setting dialogues a bit.
2017-12-17 18:39:36 +01:00
Rémi Verschelde
3adae8599c
Merge pull request #14698 from carlosfvieira/6382-Properties_in_the_inspector_lacking_tooltips
...
Proposed change to close issue "#6382 - Properties in the inspector lacking tooltips"
2017-12-16 15:05:09 +01:00
Michael Alexsander Silva Dias
e73486aed4
Made multiline property editor deselect text when opening.
2017-12-15 22:46:36 -02:00
carlosfvieira
30acd5f834
closes godotengine/godot#6382 - traverse classes docs so that all properties from inherited classes have tooltips accordingly
2017-12-16 00:24:39 +00:00
Poommetee Ketson
24df9f3707
Enhance undoredo action name, TTR, cleanup
2017-12-12 23:04:37 +07:00
Ray Koopa
d0ebcb61c8
Highlight Editor Settings categories
2017-12-11 13:13:17 +01:00
Rémi Verschelde
2b41afb30e
Fix wrong return value in some virtual method bindings
2017-12-10 15:34:08 +01:00
Rémi Verschelde
7d735da6aa
Merge pull request #13351 from poke1024/fix12451_2
...
Make click on arrow properly open and close property editor modals
2017-12-10 11:58:36 +01:00
Bernhard Liebl
efc3ffb816
fix certain popup close clicks with popup buttons
2017-12-10 10:55:48 +01:00
Rémi Verschelde
028f959fb1
PropertyEditor: Filter out resource_local_to_scene
...
This lets the empty "Global" category disappear again.
Also silence a debug print.
2017-12-10 00:18:10 +01:00
Rémi Verschelde
626eebdec4
PropertyEditor: Fix display of property doc in tooltip
2017-12-09 22:54:12 +01:00
Ray Koopa
cae50c7f1d
Remove layer flyout label.
2017-12-09 17:42:24 +01:00
Rémi Verschelde
13c2ff9320
Style: Apply new clang-format 5.0 style to all files
2017-12-07 08:02:00 +01:00
Rémi Verschelde
e3155071bc
Merge pull request #13958 from jjjuande/fix_revert_button
...
Fix the revert button issue with instanced nodes
2017-12-07 00:30:07 +01:00
Juan Linietsky
86fcc39fa9
Fix and rewrite folding logic, closes #14005 , closes #13421
2017-12-06 19:07:17 -03:00
Juande
0a5cf37a75
Fix the revert button issue with instanced nodes
...
The method "check_reload_status" on the file "property_editor.cpp" didn't take into account if the field is a property of an instanced node just like the "update_tree" does. The code that checks this in "update_tree" has been extracted into the method "_is_instanced_node_with_original_property_different" to be also used in "check_reload_status".
Fixes #13415
2017-12-04 14:17:58 +01:00
Unknown
1d26c51856
Some untranslated UI strings
2017-12-02 16:59:45 +07:00
Dmitry Koteroff
45c5a865c2
Small fixes to #13233
2017-11-28 16:53:40 +03:00
Rémi Verschelde
03a2cf2f94
Merge pull request #13240 from Krakean/fix_interpretcomma_as_decimalpoint
...
Makes possible to interpret comma as decimal point in editor
2017-11-27 00:55:40 +01:00
Dmitry Koteroff
a4109200aa
Makes possible to interpret comma as decimal point in editor
2017-11-26 23:08:16 +03:00
Dmitry Koteroff
aa20a84aa9
Implemented a collapse/expand all feature request for Inspector (issue #9427 ) via popup of "Object properties" button.
...
Editor Settings->Interface->Editor: added "Expand All Properties" option. Off by default.
Cosmetics fixes due to @Reduz notes.
2017-11-24 14:08:44 +03:00
Rémi Verschelde
6065b2d177
Merge pull request #11940 from GodotExplorer/debugger
...
Enhanced debugger for godot 3.0
2017-11-20 22:55:49 +01:00
Rémi Verschelde
7b5c447301
Merge pull request #12952 from bojidar-bg/12392-export-enums
...
Allow exporting enums from GDScript
2017-11-20 09:11:46 +01:00
Ferenc Arn
d28763a4c1
Rename Rect3 to AABB.
...
Fixes #12973 .
2017-11-17 11:01:41 -05:00
Bojidar Marinov
e4a36d0eda
Allow exporting enums from GDScript
...
Use as `export(E) ...`
Closes #12392
2017-11-17 14:33:36 +02: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
Daniel J. Ramirez
01512efbe6
Removed show type icons option
2017-11-09 19:45:21 -06:00
Jake Larson
5e641153a6
Fixed interface scaling issues with editor action button and value editor popovers
2017-10-27 19:22:52 -05:00
Rémi Verschelde
ad85224ebc
Merge pull request #12432 from larsonjj/fix/property_editor_action_buttons
...
Fix editor action button layout
2017-10-27 13:24:43 +02:00
Jake Larson
6c889a3ab5
Fix editor action button layout
2017-10-27 05:55:56 -05:00
Robin Arys
ae11255710
Fix text margins in value editor pop-up.
2017-10-25 12:47:52 +02:00
Suchaaver Chahal
02c7566b50
keep display int if int range
2017-10-14 12:20:04 -07:00
Suchaaver Chahal
e29931b22a
change step to .01 for float
2017-10-09 22:34:29 -07:00
Andreas Haas
dfb6602da0
VisualScript: Fix crash with get_node().
2017-10-06 21:24:21 +02:00
Andreas Haas
5303efb2fa
Merge pull request #11659 from AndreaCatania/prephysics
...
Renamed fixed_process to physics_process
2017-10-02 23:10:36 +02:00
Poommetee Ketson
34ea271380
Merge pull request #11646 from djrm/pr_visual_improvements
...
Several visual improvements.
2017-10-02 23:49:44 +07:00
AndreaCatania
4537977d6d
Renamed fixed_process to physics_process
2017-09-30 16:19:07 +02:00
Andreas Haas
20eb17a685
EditorSettings: Move interface/ properties to interface/editor
...
Fixes inconsistent behaviour where clicking on the "Interface"
in the Editor Settings wouldn't collapse the category as is the
case for all the other categories.
2017-09-29 18:52:56 +02:00
Daniel J. Ramirez
15986ea343
Several visual improvements.
...
Added proper label sizing
Improved text editor status bar
Fixed some issues with ItemList and also some style fixes
Added background to color picker samples (the mrcdk fix)
Fixed slider ticks.
Added VS breakpoint and error styleboxes.
2017-09-28 15:00:43 -05:00
Daniel J. Ramirez
b622c92fad
Removed most of the custom colors from the interface.
2017-09-25 21:43:20 -05:00
Rémi Verschelde
f577efd47e
Merge pull request #11424 from groud/control_node_presets
...
Implements set_margins_preset(...)
2017-09-26 00:11:46 +02:00
Daniel J. Ramirez
5676c42ae0
Added the ability to revert to initial value in editor settings.
2017-09-24 22:29:59 -05:00
Juan Linietsky
3237e05c36
Ability to convert from SpatialMaterial to ShaderMaterial
2017-09-22 09:20:52 -03:00
Gilles Roudiere
05bb8e0c10
Remove set_area_as_parent_rect and replace it by set_anchors_and_margins_preset(PRESET_WIDE)
2017-09-22 11:39:44 +02:00
letheed
5ad9be4c24
Rename pos to position in user facing methods and variables
...
Rename user facing methods and variables as well as the corresponding
C++ methods according to the folloming changes:
* pos -> position
* rot -> rotation
* loc -> location
C++ variables are left as is.
2017-09-20 13:11:10 +02:00
sersoong
433da3ef23
fix editor/property_editor.cpp missing TTR
2017-09-15 10:36:48 +08:00
Hein-Pieter van Braam
b2a38854fd
Fix unused variable warnings
...
The forth in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-08 15:03:53 +02:00
Daniel J. Ramirez
e3e5dfdaf4
Improved and added some icons
2017-08-29 17:02:55 -05:00
Rémi Verschelde
bd282ff43f
Use HTTPS URL for Godot's website in the headers
2017-08-27 14:16:55 +02:00
Rémi Verschelde
565600e844
Cleanup tons of obsolete commented out code
...
Mostly in EditorNode, dropping some obsolete editor plugins and also a
cleanup of ProjectSettings/EditorSettings.
2017-08-26 17:47:57 +02:00
Andreas Haas
6134d8741d
Editor: Add some more translatable strings.
2017-08-25 18:49:45 +02:00
Hein-Pieter van Braam
cacced7e50
Convert Object::cast_to() to the static version
...
Currently we rely on some undefined behavior when Object->cast_to() gets
called with a Null pointer. This used to work fine with GCC < 6 but
newer versions of GCC remove all codepaths in which the this pointer is
Null. However, the non-static cast_to() was supposed to be null safe.
This patch makes cast_to() Null safe and removes the now redundant Null
checks where they existed.
It is explained in this article: https://www.viva64.com/en/b/0226/
2017-08-24 23:08:24 +02:00
Rémi Verschelde
5627047c32
Merge pull request #10455 from groud/control_margin_fixes
...
Some control fixes and removed other useless lines
2017-08-20 15:24:00 +02:00
Gilles Roudiere
06256cd778
Some control fixes and removed useless lines
2017-08-19 19:10:00 +02:00
Juan Linietsky
dc62389739
-Properly check limits to objects sent (regarding to size), fixes #9034
...
-Changed the way objects are marshalled and sent to the debugger
-Editing debugged objects happens in the remote inspector now
2017-08-18 10:59:31 -03:00
Pedro J. Estébanez
fcf52303c5
Fix/improve property evaluator
...
Evolution of #10366 based on what has been discussed there.
Now you can refer to the relevant object either by `self` or `s`.
No conflicts with a potential `tool` script attached to the object.
Proper cleanup since a dummy object is used to have an instance and the temporary script dies with it.
2017-08-17 02:17:18 +02:00
Rémi Verschelde
b1ecaaa22b
Merge pull request #10307 from Rubonnek/update-argument-names
...
Updated function argument names
2017-08-16 17:17:56 +02:00
Pedro J. Estébanez
ae2d449047
Revive inspector property evaluation
...
GDScript was restricted to parse only scripts beginning with __res://__ or __user://__ to avoid templates from being parsed. I've made that a bit less inclusive by allowing scripts with an empty path to be parsed too, which doesn't conflict and is needed for this to work.
Also I've removed the `this` variable of the generated script and made the relevant object to be the one the script instance refers to, so you can use `self` instead.
Now, with the shorter 3.0-style syntax, you can write things like: `self.position.x + 10`
Closes #9500 .
2017-08-16 03:01:41 +02:00
kubecz3k
129ebca41d
Merge pull request #9889 from groud/control_enhancements
...
Control node enhancements
2017-08-15 22:55:49 +02:00
Juan Linietsky
a4f9c95169
Small fix for problem of nodes losing type, this is not good enough to solve a core reimport problem, but so far fixes #8116
2017-08-15 16:28:34 -03:00
Gilles Roudiere
0d35d4d53b
Replace GUI anchor type by a float between 0 and 1
2017-08-13 21:20:13 +02:00
Wilson E. Alvarez
428f03cf06
Updated function argument names
2017-08-12 15:12:49 -04:00
Rémi Verschelde
066fb4d5f9
Merge pull request #10238 from Hinsbart/resource_rmb
...
Inspector: Right click on resource opens sub-menu.
2017-08-11 10:42:29 +02:00
Rémi Verschelde
afecc6ae0b
Merge pull request #10114 from kubecz3k/nodepath-click
...
NodePath option to find target in editor node tree
2017-08-11 10:34:17 +02:00
Andreas Haas
9d593481f6
Inspector: Right click on resource opens sub-menu.
...
Fixes #9052
2017-08-10 21:02:31 +02:00
Daniel J. Ramirez
273d2ab9d4
Several ui improvements (mostly margins)
...
Improved colors
Added some missing icons
2017-08-08 11:44:37 -05:00
Jakub Grzesik
87b881c6fd
NodePath option to find target in editor node tree
2017-08-08 13:06:24 +02:00
Indah Sylvia
5ae78fdf6a
Makes all Godot API's methods Lower Case
2017-08-07 18:24:35 +07:00
Juan Linietsky
475e8b28b2
keep default exported script values unless overriden, closes #8127
2017-08-06 09:33:59 -03:00
Rémi Verschelde
3a3915b726
Merge pull request #9990 from GodotExplorer/pr-fix-stretch-ratio
...
Fix errors with stretch ratio
2017-07-31 14:05:56 +02:00