Commit graph

597 commits

Author SHA1 Message Date
toger5
475502e638 Removed style box border for script panel. Fixes #10410 2017-08-19 17:30:48 +02:00
Rémi Verschelde
c57671f0b3 Merge pull request #10435 from endragor/export-quit
Quit after command-line export
2017-08-19 10:36:03 +02:00
Ruslan Mustakov
02670a3806 Quit after command-line export 2017-08-19 11:59:00 +07:00
Juan Linietsky
fc89cf90b2 Inspector re-edits edited object when dock moves, closes #9287 2017-08-18 19:51:17 -03:00
Juan Linietsky
2cb19a53fd Fix primitive mesh selection, closes #9210 2017-08-18 19:25:18 -03:00
Juan Linietsky
cbcf40bd31 -Volume sliders, mute, solo and fx bypass are functional, closes #9021
-Fixed tree reselect, makes reselecting an audio bux FX work
2017-08-18 18:21:53 -03:00
Juan Linietsky
b20952ebff Update script signals in real-time when script changes. Fixes #8980 2017-08-18 16:44:03 -03:00
Juan Linietsky
72be8876ea Properly manage drawing of primitives when they lack an area, fixes #8930 2017-08-18 15:12:48 -03: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
Juan Linietsky
e61d547ed0 Make sure local to scene resources are initialized after loading all nodes, fixes #9438 2017-08-18 08:26:41 -03:00
Marcelo Fernandez
eab850524e Add closest_power_of_2 func and implement mix_rate/latency on OS X 2017-08-17 19:51:13 -03:00
Juan Linietsky
33c1d25517 Several improvements and fixes to import system. Might fix many issues opened, but have to check in detail.. 2017-08-17 17:18:50 -03:00
Gilles Roudiere
dea845b65c Fix progress dialog's bars overflowing. 2017-08-17 10:59:21 +02: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
19aff15a1a Tilemap Editor: Setting to hide tile info in the menu bar
Based on e513ecb7a1.
2017-08-16 19:51:55 +02:00
Rémi Verschelde
0dd51fc722 Merge pull request #10252 from neikeq/pr-fix-some-stuff-<3
Some method fixes
2017-08-16 18:16:47 +02:00
Rémi Verschelde
a8a6082dc0 Merge pull request #8899 from toger5/BetterFlatStylebox
Better flat stylebox with rounded corners
2017-08-16 18:15:04 +02:00
Ignacio Etcheverry
bffe4abb4d EditorPlugin: Renames virtual method hiding inherited method 2017-08-16 18:05:10 +02:00
Rémi Verschelde
5485233549 Merge pull request #10300 from H4kor/anchor
Show Anchor even when Control-Node is hidden
2017-08-16 17:34:33 +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
Rémi Verschelde
f98418f093 Merge pull request #10312 from kbake/pressed-scroll-bar-style
Scroll bars now look different on press
2017-08-16 17:16:03 +02:00
Rémi Verschelde
6345347190 Merge pull request #10326 from kubecz3k/spatial-click-improve
spatial selection if subscene geometry is far from origin
2017-08-16 17:13:27 +02:00
Rémi Verschelde
970cbb4608 Merge pull request #10368 from RandomShaper/rename-layouts-file
Rename layouts file to editor_layouts-3.cfg
2017-08-16 16:34:02 +02:00
Pedro J. Estébanez
8faf04928e Rename layouts file to editor_layouts-3.cfg
To avoid conflicts with 2.x, in the same fashion as editor_settings-3.tres.
2017-08-16 03:42:09 +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
Juan Linietsky
6380975ee2 Merge pull request #10166 from toger5/asset_lib_style_overrides
fixed loading old theme styleboxes.
2017-08-15 20:00:44 -03:00
Juan Linietsky
1ecb48b8c2 Changed anchor constants to enum, removed ANCHOR_CENTER, fixes #9889 2017-08-15 19:49:28 -03:00
Juan Linietsky
cf2fdcb63e Fixes crash related to animatio editor, closes #8687 2017-08-15 19:05:57 -03:00
kubecz3k
41d8ddf7c4 Merge pull request #10336 from endragor/export-filters
Use include/exclude export filters. Fixes #9860
2017-08-15 23:41:46 +02:00
kubecz3k
129ebca41d Merge pull request #9889 from groud/control_enhancements
Control node enhancements
2017-08-15 22:55:49 +02:00
kubecz3k
aa24ddc59f Merge pull request #10337 from endragor/command-line-export
Enable command-line export
2017-08-15 22:46:20 +02:00
Andreas Haas
2d0e7a521f Merge pull request #10345 from Hinsbart/remove_imported
Removing a Resource also deletes imported files.
2017-08-15 22:21:53 +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
Andreas Haas
aaedde4122
Fix Editor dimming.
Fixes #10353
2017-08-15 20:57:30 +02:00
toger5
059a0496da Adapted godot to the new StyleBoxFlat 2017-08-15 19:36:34 +02:00
Juan Linietsky
cb0e357d0b Converting to MeshLibrary works again, fixes #8092 2017-08-15 11:41:17 -03:00
Andreas Haas
155402dc1b
Removing a Resource also deletes imported files. 2017-08-15 01:13:41 +02:00
Ruslan Mustakov
ad457976fc Enable command-line export
The syntax is identical to what it was in 2.1, but now you specify
preset name instead of platform name.
2017-08-14 20:15:06 +07:00
Ruslan Mustakov
571a3a2dcd Use include/exclude export filters. Fixes #9860 2017-08-14 20:13:09 +07:00
Jakub Grzesik
78e72c8e79 spatial selection if subscene geometry is far from origin 2017-08-14 09:53:46 +02:00
Gilles Roudiere
0041e08f74 Avoids inverted anchors
Add a push_opposite_anchor argument pushing the opposite anchor if
needed
2017-08-13 21:20:14 +02:00
Gilles Roudiere
c26af6f2b7 Adds a function to set Anchors with a layout preset 2017-08-13 21:20:14 +02:00
Gilles Roudiere
e8c83b31bd Added the possibility to move all anchors at once when they are clustered 2017-08-13 21:20:13 +02:00
Gilles Roudiere
f5ff7e9fa0 Make anchors snap to each other 2017-08-13 21:20:13 +02:00
Gilles Roudiere
b73613e1eb Displays percentages when dragging anchors 2017-08-13 21:20:13 +02:00
Gilles Roudiere
2032cb2522 Simplifies the canvas editor code 2017-08-13 21:20:13 +02:00
Gilles Roudiere
3264cea7ae Add lines to make understandable when anchors are snapped 2017-08-13 21:20:13 +02:00
Gilles Roudiere
b329cb9c71 Snap anchors when dragged, depending on the zoom level 2017-08-13 21:20:13 +02:00
Gilles Roudiere
fcff42dcb7 Make anchors draggable 2017-08-13 21:20:13 +02:00
Gilles Roudiere
bd0384a9e9 Add anchor visualization 2017-08-13 21:20:13 +02:00