Wilson E. Alvarez
a400a65c8a
Renamed 'script_changed' signal in the script editor plugin to 'edited_script_changed'
2017-08-29 10:24:10 -04:00
Juan Linietsky
089cf8176e
removed DISCARD built in variable, replaced by actual discard GLSL instruction, fixes #9677
2017-08-29 10:15:49 -03:00
Juan Linietsky
a2027cfa49
-Fixes to how collada generates tangents (use SurfaceTool), closes #9562
...
-Fix to gridmap cell size (wrong property type)
2017-08-29 08:48:39 -03:00
Rémi Verschelde
28c85922b1
Merge pull request #10716 from Noshyaar/pr-update
...
Change editor update_mode to boolean (update_always)
2017-08-29 07:47:34 +02:00
Rémi Verschelde
61acc0762c
Merge pull request #10704 from Noshyaar/pr-scene
...
EditorNode: enhance open scene error dialog
2017-08-29 07:47:04 +02:00
Rémi Verschelde
13289002dd
Merge pull request #10705 from djrm/pr_gizmo_icons
...
Added missing gizmo icons and fixed ugly looking gizmo icons.
2017-08-29 07:46:47 +02:00
Rémi Verschelde
672ab5dbcb
Merge pull request #10731 from Noshyaar/pr-save
...
EditorNode: fix scene save over others
2017-08-29 07:39:35 +02:00
Daniel J. Ramirez
78c3cf6e68
Better spatial gizmo.
...
Now it is posible to move spatial nodes along a plane.
2017-08-28 20:39:45 -05:00
Poommetee Ketson
f620e19be7
Change editor update_mode to boolean
...
Fix potential issues when MenuOptions enum or the entry in
project metadata file is altered.
2017-08-29 07:50:41 +07:00
Poommetee Ketson
d25ea73822
EditorNode: fix scene save over others
2017-08-29 07:27:18 +07:00
Poommetee Ketson
6bb290f6a7
EditorNode: enhance open scene error dialog
2017-08-29 07:09:47 +07:00
Rémi Verschelde
0f7376921f
Merge pull request #10614 from poke1024/realtime-polygon-2d
...
Adds realtime updates to polygon 2d editing
2017-08-28 23:58:34 +02:00
Daniel J. Ramirez
e5a71e3f95
Added missing gizmo icons and fixed ugly looking gizmo icons.
2017-08-28 15:49:16 -05:00
Rémi Verschelde
9a0ace41b0
Merge pull request #10709 from djrm/pr_gizmos_improvements
...
Highlight currently selected gizmo.
2017-08-28 22:44:29 +02:00
Ferenc Arn
609ef89362
Fix the channels gltf importer uses for metallic and AO textures.
...
Khronos blender gltf exporter uses red channel for occlusion and blue channel for metallic, whereas the current behavior is the opposite.
Fixes #10700 .
2017-08-28 15:09:47 -04:00
Daniel J. Ramirez
07e8d7270e
Improved directional light arrow and gizmo highlighting
2017-08-28 13:32:28 -05:00
Rémi Verschelde
d664469ec7
Fix inability to change project settings
...
Regression from 565600e844
, fixes #10712 .
2017-08-28 18:15:46 +02:00
Daniel J. Ramirez
3003e19ab1
Highlight currently selected gizmo.
...
Work with, GIProbe, ReflectionProbe and Particles.
2017-08-28 01:28:24 -05:00
Juan Linietsky
8fce79aaee
-Some fixes to code completion.
...
-Fix getter in code completion being displayed when it shouldn't
-Clean up preview generation for editors and exposed it as editor plugin
2017-08-28 00:04:24 -03:00
Rémi Verschelde
59d1f96418
Merge pull request #10688 from Noshyaar/pr-csv2
...
ImporterCSV: add delimiter options , ; or \t
2017-08-28 00:06:50 +02:00
Rémi Verschelde
7e8a7dea2e
Merge pull request #10667 from Zylann/freelook_inertia
...
Added freelook inertia
2017-08-28 00:06:25 +02:00
Rémi Verschelde
6ef7783abb
Merge pull request #10662 from hoelzl/python3-v3
...
Make build scripts Python 3 compatible
2017-08-28 00:05:15 +02:00
Juan Linietsky
d23f323cde
-Moved script run to editor, removed from project
...
-fixed to code completion
-fix shader crash bug reported by tagcup
2017-08-27 19:04:19 -03:00
Matthias Hoelzl
b6e1e47e3a
Make build scripts Python3 compatible
...
- The Windows, UWP, Android (on Windows) and Linux builds are
tested with Scons 3.0 alpha using Python 3.
- OSX and iOS should hopefully work but are not tested since
I don't have a Mac.
- Builds using SCons 2.5 and Python 2 should not be impacted.
2017-08-27 23:05:39 +02:00
Matthias Hoelzl
a919a013f5
Fix mixed tab/whitespace in build files
2017-08-27 23:05:39 +02:00
Rémi Verschelde
7ad14e7a3e
Dead code tells no tales
2017-08-27 22:13:45 +02:00
Juan Linietsky
37da8155a4
-Largely rewrote gridmap to simplify it
...
-Got editor working again
-Added a current-floor marker on selection
2017-08-27 16:02:00 -03:00
Poommetee Ketson
4e0d1c8f1c
ImporterCSV: add delimiter options , ; or \t
2017-08-27 22:14:09 +07: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
21e53c4267
Buildsystem: Reduce verbosity of font and translation generation
2017-08-27 13:45:56 +02:00
Poommetee Ketson
4940f490c4
ImporterCSV: print error condition to console
2017-08-27 13:48:48 +07:00
Marc Gilleron
28e1c88f6e
Added freelook inertia
2017-08-27 02:21:26 +02:00
Rémi Verschelde
612099e377
Merge pull request #10591 from Rubonnek/possible-null-ptr-dereference
...
Added/Fixed null pointer checks
2017-08-27 02:10:56 +02:00
Rémi Verschelde
5976e8d7de
Merge pull request #10625 from Rubonnek/fixed-leaks
...
Fixed several memory leaks
2017-08-27 02:10:32 +02:00
Rémi Verschelde
e8345c824e
Merge pull request #10657 from Noshyaar/pr-debug
...
Monitor: add hint, fix certain graph not drawn
2017-08-27 02:10:03 +02:00
Rémi Verschelde
00f0884eac
Merge pull request #10665 from Hinsbart/save_update_mode
...
Editor: Remember update mode.
2017-08-27 02:08:53 +02:00
Rémi Verschelde
3ec9e26cb4
Merge pull request #10669 from hpvb/fix-6118
...
Add several missing Null checks in _notification
2017-08-27 02:07:41 +02:00
Rémi Verschelde
68fc2146d1
Merge pull request #10670 from neikeq/oh-hello-there
...
EditorHelp: Fixes desc of vararg methods
2017-08-27 02:07:18 +02:00
Hein-Pieter van Braam
a276320329
Always size project icons to default icon size
...
I wasn't able to reproduce the issue, but this should fix #10620
2017-08-27 00:27:10 +02:00
Ignacio Etcheverry
4314050ea7
EditorHelp: Fixes desc of vararg methods
2017-08-26 23:15:34 +02:00
Wilson E. Alvarez
7a07895920
Added/Fixed null pointer checks
2017-08-26 16:58:47 -04:00
Hein-Pieter van Braam
9a1d9a41eb
Add several missing Null checks in _notification
...
This fixes #6118
2017-08-26 22:50:15 +02:00
Andreas Haas
b2ec9e108d
Save update mode in project metadata.
2017-08-26 20:43:28 +02:00
Rémi Verschelde
9d7945250e
Merge pull request #10649 from akien-mga/code-error-always-show
...
Code editor: Don't play hide and seek with error label
2017-08-26 18:23:42 +02:00
Rémi Verschelde
2a1a1f05fe
Merge pull request #10656 from akien-mga/cleanup-commented-out-code
...
Cleanup tons of obsolete commented out code
2017-08-26 18:21:08 +02:00
Rémi Verschelde
3c5ce736e6
Node: Add debug info to add_child reparenting check
...
Use it to remove buggy add_child in EditorAudioBus
2017-08-26 18:14:42 +02:00
Rémi Verschelde
a009ab4580
Merge pull request #10652 from Noshyaar/pr-audio
...
EditorAudioBus: Rename delete_popup, disable delete for Master
2017-08-26 18:06:30 +02:00
Poommetee Ketson
473695ab47
Monitor: add hint, fix certain graph not drawn
...
Add a hint that helps user discover monitor graph
Fix last row drawn outside when only one graph is in that row
2017-08-26 23:02:52 +07: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
Poommetee Ketson
03db00e6f6
EditorAudioBus: Rename delete_popup, disable delete for Master
...
Rename `delete_popup` to `bus_popup`
Rename `_delete_pressed` to `_bus_popup_pressed`
Disable 'Delete Bus' option for Master Bus
2017-08-26 21:42:28 +07:00
Juan Linietsky
dd7145b778
-Split EditorPlugin into EditorPlugin and EditorInterface
...
-Added EditorInterface to EditorScript
-Added functions to save the scene to EditorInterface
2017-08-26 10:33:07 -03:00
Rémi Verschelde
b92c210b89
Code editor: Don't play hide and seek with error label
2017-08-26 14:43:20 +02:00
Andreas Haas
f634973acb
Merge pull request #10647 from Noshyaar/patch-1
...
ProjectSettings: Fix typo 'an setting' to 'a setting'
2017-08-26 14:27:28 +02:00
Juan Linietsky
fbfed97a1b
Changed camera interpolation to work when LMB is pressed and no modifiers are pressed
2017-08-26 09:10:57 -03:00
Poommetee Ketson
e705236ad6
Fix typo 'an setting' to 'a setting'
2017-08-26 17:57:32 +07:00
Bernhard Liebl
1ea2b9be72
polygon2d realtime editing
...
editing nodes in the polygon2d editor now updates the polygon in realtime; the previous outline is shown, but this can be disabled via a new editor setting
2017-08-26 11:57:54 +02:00
Juan Linietsky
1894157c9f
-Massive clean up to gizmos
...
-Make sure handles are always visible (on top)
-Fixed instanced scene selection (should work properly now)
-Added interpolated camera
-Customizable gizmo colors in editor settings
2017-08-26 00:47:28 -03:00
Rémi Verschelde
d9e94fa0c3
Fix i18n bug in GridMap string
...
Regression from 6134d87
causing build issue on clang.
2017-08-25 20:55:33 +02:00
Rémi Verschelde
2879a173e3
DocData: Fix extraneous space in XML tag without enum hint
2017-08-25 20:25:23 +02:00
Rémi Verschelde
f75678a94f
Mi18n: erge translations with template
2017-08-25 19:00:03 +02:00
Rémi Verschelde
3034bbf908
i18n: Update template with current source
...
Additions: 254 msgids.
Deletions: 101 msgids.
2017-08-25 18:59:28 +02:00
Rémi Verschelde
c67984b561
i18n: Sync translations with Weblate
2017-08-25 18:57:11 +02:00
Andreas Haas
6134d8741d
Editor: Add some more translatable strings.
2017-08-25 18:49:45 +02:00
Wilson E. Alvarez
1577f41653
Fixed several memory leaks
2017-08-25 08:47:05 -04:00
Rémi Verschelde
490aef9369
Merge pull request #10581 from hpvb/fix-gcc6+
...
Make cast_to a static member of Object.
2017-08-25 08:37:38 +02:00
Juan Linietsky
a7e8aa4053
Fix bug where not all previews are shown, closes #9895
2017-08-24 23:40:53 -03: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
Juan Linietsky
36e0a72c77
-Code completion for enumerations
...
-Disabled GDNative and GDNativeScript so build compiles again
2017-08-24 00:06:56 -03:00
Juan Linietsky
3d1c031871
Changed MethodBind API to request information from methods. It's much claner now.
...
Also changed PropertyInfo to include informatino about class names.
2017-08-23 19:11:11 -03:00
Hein-Pieter van Braam
3894f20d98
Remove an assignment to self
...
This line does a = a and has a FIXME line. It seems that reduz can't
think of a reason for it either, so here it goes.
2017-08-23 23:51:37 +02:00
Wilson E. Alvarez
433c01b7e5
Removed EditorHelp::_scroll_changed
2017-08-23 03:04:16 -04:00
Rémi Verschelde
78d9936f8d
Merge pull request #10573 from tagcup/gizmo_aabb_scaling_order
...
Fix the order of transformations for selection bounding box in spatial editor.
2017-08-23 08:10:53 +02:00
Rémi Verschelde
0c3b90ef6b
Merge pull request #10558 from RandomShaper/undo-after-auto-indent
...
Add ability to undo auto-indent
2017-08-23 08:08:23 +02:00
Rémi Verschelde
926890703d
Merge pull request #10550 from djrm/pr_color_fixes
...
Child process connected message is now green.
2017-08-23 08:08:11 +02:00
Ferenc Arn
d9d9571c8c
Fix the order of transformations for selection bounding box in spatial editor.
...
This was broken in #7438 where the ordering of scaling in Basis::scale() was fixed, but this line of code (which relied on the incorrect behavior) wasn't updated correctly.
Fixes #9894 .
2017-08-22 20:05:41 -04:00
Rémi Verschelde
172519bec6
Merge pull request #10551 from djrm/pr_editor_fixes
...
Do not use old styles for tab buttons
[ci skip]
2017-08-23 00:05:27 +02:00
Daniel J. Ramirez
92c63dc9a7
Ability to set script debugger reason text context.
2017-08-22 14:18:41 -05:00
Pedro J. Estébanez
c2a1f3b814
Add ability to undo auto-indent
...
Closes #10420 .
2017-08-22 19:52:17 +02:00
Rémi Verschelde
b759fc47e6
Merge pull request #10538 from groud/fix_useless_separator
...
Fix unneeded separator in Script Editor's Debug menu
2017-08-22 08:49:11 +02:00
Gilles Roudiere
5ea403c0ce
Fix uneeded separator
2017-08-22 08:43:23 +02:00
Rémi Verschelde
c2346b92b2
Merge pull request #10507 from toger5/override_code_them_bg
...
added setting to override the theme background with editor theme color
2017-08-22 08:14:46 +02:00
Rémi Verschelde
4fc0a2d776
Merge pull request #10519 from toger5/remove_addition_border
...
Remove addition border
2017-08-22 08:10:15 +02:00
Rémi Verschelde
dd07a15fc6
Merge pull request #10527 from hpvb/fix-10517
...
Add null check to ScriptEditor get_current_tab_control() call
2017-08-22 08:08:42 +02:00
Mason Ashbridge
09818581b1
Fixed build for Visual Studio
2017-08-21 23:52:55 -04:00
Daniel J. Ramirez
1f90f5ed4c
Do not use old styles for tab buttons
2017-08-21 21:10:12 -05:00
Hein-Pieter van Braam
24bc47b179
Add null check to ScriptEditor get_current_tab_control() call
...
This fixes #10517
2017-08-22 02:35:04 +02:00
Rémi Verschelde
df590fc2d3
Merge pull request #10340 from Rubonnek/remove-unnecessary-assignments
...
Removed unnecessary assignments
2017-08-22 00:58:12 +02:00
Rémi Verschelde
13f879587d
Merge pull request #10254 from marcelofg55/master
...
Added notification const NOTIFICATION_WM_ABOUT
2017-08-22 00:56:31 +02:00
Juan Linietsky
2cc8309249
Merge pull request #10351 from neikeq/enums-are-for-the-weak
...
ClassDB: Provide the enum name of integer constants
2017-08-21 19:56:08 -03:00
Rémi Verschelde
e9c43cecbf
Merge pull request #10433 from djrm/pr_svg_support
...
SVG support
2017-08-21 23:49:07 +02:00
toger5
ce4eb30778
added setting to override the theme background with editor theme color
2017-08-21 23:19:27 +02:00
toger5
d0c610d9ba
removed additional border function. (not needed with new styleboxes)
2017-08-21 23:07:38 +02:00
Rémi Verschelde
328452e028
Merge pull request #10508 from Paulb23/increase_smooth_scroll_speed
...
Increased smooth scroll speed and added user setting
2017-08-21 22:19:18 +02:00
toger5
1a4d8b3e76
fixed rounded corners for visual script editor
2017-08-21 21:32:56 +02:00
Wilson E. Alvarez
738d2ab969
Removed unnecessary assignments
2017-08-21 15:15:55 -04:00
Paulb23
d6599fde0a
Increased smooth scroll speed and added user setting
2017-08-21 19:20:11 +01:00
Rémi Verschelde
93f1fb1c2f
Fixes for new two-dash long command line arguments
...
- Fixes some single-dash leftovers that were missed in the previous commit
- Reorder the help output for clarity, and document missing options
- Drop obsolete options: --noop, --pack, --editor-scene, --level, --import, --import-script, --no-quit
- Improve error message on malformed arguments and do not display help on error
- Always use long form of arguments when starting a new Godot process from C++, for clarity and easy grepping
- Cleanup obsolete code here and there
2017-08-21 08:09:22 +02:00
Hugo Locurcio
1d757c43d7
Tweak command-line arguments to make them more UNIX-like
...
Also improves the command-line help text readability.
2017-08-21 08:08:35 +02:00
Juan Linietsky
533014b88c
simplify the way window is allowed to steal focus, no longer relying on project.godot. Closes #9459
2017-08-20 23:42:54 -03:00
Rémi Verschelde
35d5724519
Fix mismatched hints for filesystem/import/pvrtc_texture_tool
2017-08-20 22:23:58 +02:00
Ignacio Etcheverry
32dd9a9f66
ClassDB: Provide the enum name of integer constants
2017-08-20 22:07:43 +02:00
Rémi Verschelde
952db3e676
Merge pull request #10483 from Zylann/orbit_sensitivity
...
Reduced default orbit sensitivity for smoother rotation
2017-08-20 21:05:55 +02:00
Daniel J. Ramirez
0c18009665
Added missing icon and svgs upscaling
2017-08-20 13:53:09 -05:00
Daniel J. Ramirez
c873661c30
Added pure vector theme, with dark icons variation
2017-08-20 13:53:09 -05:00
Daniel J. Ramirez
da8fecf25e
Added support for SVG
2017-08-20 13:53:02 -05:00
Juan Linietsky
ab13d0aeed
Inspector is no longer cleared when game runs, fixes #9408
2017-08-20 15:21:45 -03:00
Marc Gilleron
ede58e48d8
Reduced default orbit sensitivity for smoother rotation
2017-08-20 18:22:45 +02:00
Juan Linietsky
541fdffc0a
Merge pull request #10319 from neikeq/pr-engine-editor-hint
...
Adds Engine::is_editor_hint() method
2017-08-20 12:55:46 -03:00
Rémi Verschelde
f4e2baae7f
Merge pull request #10476 from Paulb23/delete_current_line_issue_9643
...
Delete current line, issue 9643
2017-08-20 15:25:28 +02:00
Rémi Verschelde
20ab8c1156
Merge pull request #10473 from akien-mga/run_window_placement_default
...
Rename "Default" window placement mode to "Top Left"
2017-08-20 15:25:14 +02:00
Rémi Verschelde
dca8df47b4
Merge pull request #10460 from Zylann/orbit_sensitivity
...
Added option for mouse orbit sensitivity
2017-08-20 15:24:35 +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
Paulb23
de95e65d10
Delete current line, issue 9643
2017-08-20 13:31:30 +01:00
Rémi Verschelde
686294e4f2
Rename "Default" window placement mode to "Top Left"
...
It is no longer the default value ;)
2017-08-20 14:16:31 +02:00
Andreas Haas
a80371ce0a
SceneTreeEditor: Fix node_selected signal emission.
...
Fixes #10131
2017-08-20 00:20:27 +02:00
Juan Linietsky
b9dcebb37c
Revert "Second take at making command-line arguments more UNIX-like + main.cpp and help cleanup"
2017-08-19 17:47:27 -03:00
Marc Gilleron
a88c759ff1
Added option for mouse orbit sensitivity
2017-08-19 21:57:43 +02:00
Gilles Roudiere
06256cd778
Some control fixes and removed useless lines
2017-08-19 19:10:00 +02:00
Rémi Verschelde
01e447f3df
Merge pull request #10449 from toger5/theme_redundant_border_script_panel_fix
...
Removed style box border for script panel. Fixes #10410
2017-08-19 18:03:59 +02:00
Rémi Verschelde
395544b4d0
Merge pull request #10447 from Paulb23/smooth_scrolling
...
Added smooth scrolling to TextEdit
2017-08-19 18:01:33 +02:00
toger5
475502e638
Removed style box border for script panel. Fixes #10410
2017-08-19 17:30:48 +02:00
Rémi Verschelde
70b0857f6c
Fixes for new two-dash long command line arguments
...
- Fixes some single-dash leftovers that were missed in the previous commit
- Reorder the help output for clarity, and document missing options
- Drop obsolete options: --noop, --pack, --editor-scene, --level, --import, --import-script, --no-quit
- Improve error message on malformed arguments and do not display help on error
- Cleanup obsolete code here and there
2017-08-19 16:48:11 +02:00
Hugo Locurcio
27fc96f3c8
Tweak command-line arguments to make them more UNIX-like
...
Also improves the command-line help text readability.
2017-08-19 16:48:11 +02:00
Paulb23
a142c9a2f0
Added smooth scrolling to TextEdit
2017-08-19 15:23:45 +01:00
Juan Linietsky
bacfe7a557
Fixes to label and code editor to make editing code hopefully fast again.
2017-08-19 10:51:56 -03: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
Ignacio Etcheverry
90b8a5b71e
Removes editor_hint from SceneTree
2017-08-19 01:29:45 +02:00
Ignacio Etcheverry
fd69604bd9
Adds editor_hint to Engine class
2017-08-19 01:03:12 +02: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
Marcelo Fernandez
aae29c7a0e
Added notification const NOTIFICATION_WM_ABOUT
2017-08-17 11:28:45 -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
toger5
9fdc4874b2
fixed Import LineEdit to label + label stylebox
...
- added a normal stylebox to label. default is StyleBoxEmpty
- changed drawing so that it draws correct with styleboxes with margins
- changed the LineEdit in the import to use a label with the lineEdit
stylebox
2017-08-17 00:15:11 +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
Gilles Roudiere
0d35d4d53b
Replace GUI anchor type by a float between 0 and 1
2017-08-13 21:20:13 +02:00
Niko Abeler
07809c162f
Showing anchor icon in editor if control-node is hidden ( fixes #9542 )
2017-08-13 17:35:59 +02:00
Rémi Verschelde
a3d85c07af
Merge pull request #10294 from leezh/fix_10245
...
Project manager UI displaced by long paths #10245
2017-08-13 17:22:55 +02:00
kbake
a72d17cf11
Scroll bars now look different on press
2017-08-12 17:46:26 -04:00
Wilson E. Alvarez
428f03cf06
Updated function argument names
2017-08-12 15:12:49 -04:00
Zher Huei Lee
5c94eeeb79
Project manager UI displaced by long paths #10245
2017-08-12 15:32:06 +08:00
Jakub Grzesik
be8ae8df93
fix crash after click on MeshInstance with no owner
...
Due to how spatial selection works, after clicking on
MeshInstance that had no owner editor was crashing.
2017-08-11 19:59:30 +02:00
Rémi Verschelde
ff2cb35b90
Merge pull request #10247 from djrm/pr_bus_fixes
...
Fixes to buses editor
2017-08-11 10:43:30 +02:00
Rémi Verschelde
c231bda520
Merge pull request #10240 from djrm/pr_hidden_tilemap_menu
...
Hide tilemap menu when no tilemap is selected
2017-08-11 10:43:07 +02: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
bed66afee4
Merge pull request #10237 from Paulb23/convert_indent_save_issue_9841
...
Fixed undo when converting indent with no changes, issue 9841
2017-08-11 10:41:32 +02:00
Rémi Verschelde
fd6b9d9ac7
Merge pull request #10231 from djrm/pr_fix_add_sprite_dialog
...
Improved add texture as node dialog
2017-08-11 10:40:46 +02:00
Rémi Verschelde
30e33f0c84
Merge pull request #10209 from kubecz3k/click-spatial-select
...
ability to click on spatial subscene to select it
2017-08-11 10:39:59 +02:00
Rémi Verschelde
7ed64327a9
Merge pull request #10163 from ISylvox/resoucre-to-resource
...
Core/io: Fix typo in resource_format_binary
2017-08-11 10:36:33 +02:00
Rémi Verschelde
870696603b
Merge pull request #10162 from Noshyaar/patch-1
...
ResourceImporterScene: fix 'bult' typo
2017-08-11 10:36:23 +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
Rémi Verschelde
8e6768c963
Merge pull request #10202 from neikeq/how-do-you-turn-this-on
...
Improves method bind's detecting of signarute types
2017-08-11 10:29:41 +02:00
Daniel J. Ramirez
9b41333340
Fixes to buses editor
...
Fixed unselectable bus
Added bus options button
2017-08-10 18:07:24 -05:00
Daniel J. Ramirez
e4a9233a83
Hide tilemap menu when no tilemap is selected
2017-08-10 14:48:48 -05:00
Andreas Haas
9d593481f6
Inspector: Right click on resource opens sub-menu.
...
Fixes #9052
2017-08-10 21:02:31 +02:00
Paulb23
e91bde6521
Fixed undo when converting indent with no changes, issue 9841
2017-08-10 19:23:45 +01:00
Daniel J. Ramirez
03f62495ca
Improved add texture as node dialog
2017-08-10 11:40:28 -05:00