Commit graph

14825 commits

Author SHA1 Message Date
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
Rémi Verschelde
81dde2687f Merge pull request #10164 from djrm/pr_theme_fixes
Visual polishing
2017-08-10 10:46:05 +02:00
Ignacio Etcheverry
2f290038d6 Removes type information from method binds 2017-08-10 07:17:50 +02:00
Jakub Grzesik
d2d62122e2 ability to click on spatial subscene to select it 2017-08-09 18:40:02 +02:00
Juan Linietsky
dbb6a39722 Moved mirror and rotations to the tile mapen, to avoid taking up too much toolbar space, fixes #6461 2017-08-08 22:46:26 -03:00
Juan Linietsky
950b205609 Clean up canvas item when changing state, closes #5977 2017-08-08 21:12:32 -03:00
Juan Linietsky
90a595ac42 Set some reasonable limits for sending information to the debugger, closes #5848 2017-08-08 20:55:22 -03:00
Daniel J. Ramirez
273d2ab9d4 Several ui improvements (mostly margins)
Improved colors

Added some missing icons
2017-08-08 11:44:37 -05:00
toger5
a9da258a65 fixed loading old theme styleboxes 2017-08-08 18:36:35 +02:00
Juan Linietsky
de219e5cbe fix collada crash on invalid (blender internal expored...) file, fixes #6222 2017-08-08 08:14:51 -03:00
Jakub Grzesik
87b881c6fd NodePath option to find target in editor node tree 2017-08-08 13:06:24 +02:00
Juan Linietsky
5e1116da4c Added proper local transform snapping, closes #4985 2017-08-08 07:55:21 -03:00
Juan Linietsky
1939e83a65 Attempt to resolve #4673 2017-08-08 07:13:17 -03:00
Indah Sylvia
51f56a4282 core/io: fix typo 'resoucre' to 'resource' 2017-08-08 12:02:49 +07:00
Poommetee Ketson
023321d59e ResourceImporterScene: fix 'bult' typo 2017-08-08 11:11:14 +07:00
Juan Linietsky
f6ad0ccc63 -Errors are printed again to Output, after a long time. Fixes #3373 2017-08-07 22:51:30 -03:00
Thomas Herzog
1f638b206e Merge pull request #10152 from Hinsbart/run_import
ProjectManager: Show error dialog if unable to run project.
2017-08-07 23:57:14 +02:00
Andreas Haas
bc034c1d4d
ProjectManager: Show error dialog if unable to run project. 2017-08-07 23:47:43 +02:00
Thomas Herzog
0188ce5c80 Merge pull request #10015 from marcelofg55/master
Implement 32 bit IEEE float WAVE format
2017-08-07 23:11:35 +02:00
Thomas Herzog
12a2d7ee6e Merge pull request #10068 from Cradmon/fix-resource-docker-thumbnail-bug
Fix resource docker thumbnail bug
2017-08-07 23:05:09 +02:00
Thomas Herzog
c6cb31aa5e Merge pull request #10133 from homer666/adjust-filesystem-split-mode-height-threshold
Adjust FileSystem dock split mode's height threshold
2017-08-07 22:24:52 +02:00
Juan Linietsky
a0d969c560 Revert "fixed loading old theme styleboxes" 2017-08-07 16:00:34 -03:00
Rémi Verschelde
3121b3a4f4 Merge pull request #10141 from ISylvox/lower_case_godot_api
Makes all Godot API's Methods lower_case
2017-08-07 14:59:39 +02:00
Rémi Verschelde
b31ba2f187 Merge pull request #10097 from toger5/asset_lib_style_overrides
fixed loading old theme styleboxes
2017-08-07 14:47:27 +02:00
Rémi Verschelde
dcadbb8b40 Merge pull request #10087 from volzhs/editor-button-align
Fix label align of button in editor
2017-08-07 14:44:41 +02:00
Rémi Verschelde
722011bb75 Merge pull request #10082 from Noshyaar/pr-viewport2
SpatialEditor: fix "Top", overflow preview button
2017-08-07 14:42:31 +02:00
Rémi Verschelde
307a04268b Merge pull request #10078 from Noshyaar/pr-viewport
SpatialEditor: uniform min/max of fov,znear,zfar
2017-08-07 14:42:03 +02:00
Rémi Verschelde
ececefa595 Merge pull request #10067 from toger5/default_extended_script_template
builtin_script_template_improvements
2017-08-07 14:41:08 +02:00
Rémi Verschelde
ebf19d72b5 Merge pull request #9878 from toger5/theme_border_settings_change
Theme border settings change + updating styles
2017-08-07 14:07:57 +02:00
Indah Sylvia
5ae78fdf6a Makes all Godot API's methods Lower Case 2017-08-07 18:24:35 +07:00
homer666
e32abe8072 Adjust FileSystem split mode's height threshold 2017-08-07 13:44:34 +10:00
Juan Linietsky
134b3edf5a Merge pull request #10123 from bojidar-bg/7695-key-kp-enter
Rename KEY_RETURN to KEY_ENTER and KEY_ENTER to KEY_KP_ENTER
2017-08-06 21:04:11 -03:00
Juan Linietsky
85945e4367 Added a .gdignore check to ignore specific folders. Closes #8461 2017-08-06 11:43:48 -03:00
Bojidar Marinov
7b7c7c8dc0
Rename KEY_RETURN to KEY_ENTER and KEY_ENTER to KEY_KP_ENTER
Closes #7695
2017-08-06 16:26:07 +03:00
Juan Linietsky
475e8b28b2 keep default exported script values unless overriden, closes #8127 2017-08-06 09:33:59 -03:00
toger5
f035e4a24a fixed loading old theme styleboxes 2017-08-05 01:33:46 +02:00
Cradmon
b8a31d6563 Fix resource docker thumbnail bug 2017-08-04 20:11:17 +01:00
volzhs
9f6f7e0fcf Fix label align of button in editor
Fix #9927
2017-08-04 23:52:36 +09:00
Poommetee Ketson
1cc655a40d SpatialEditor: fix "Top", overflow preview button 2017-08-04 20:46:22 +07:00
toger5
3b2a4cc52a editor: update helps and script panel on theme could change. 2017-08-04 14:57:15 +02:00
toger5
2ab512a07b Builtin script template loading improvements 2017-08-04 14:53:07 +02:00
Poommetee Ketson
b8feae4db6 SpatialEditor: uniform min/max of fov,znear,zfar
Clamp FOV to [0.01, 179], Znear and Zfar to [0.01, 10000]
2017-08-04 18:23:10 +07:00
Juan Linietsky
26ff90eaed Full GLTF 2.0 Specification support! cheers! 2017-08-03 19:42:32 -03:00
Andreas Haas
95da12212b
TileMap: Fix infinite loop when trying to bucket-delete empty tiles.
Right-clicking when the bucket tool is enabled means "erase all instances of this tile".
So it doesn't make sense to try doing this for empty tiles :P

Fixes #10065
2017-08-03 20:46:13 +02:00
Rémi Verschelde
c936e9946e Merge pull request #10046 from Hinsbart/script_open_resource
ScriptEditor: ctrl+click can open scenes & resources.
2017-08-03 13:37:25 +02:00
toger5
2bff914512 border settings doesn't remove necessary borders anymore 2017-08-03 12:10:19 +02:00
Juan Linietsky
5c361485db -Added GLTF scene support (still missing animations and .glb extension)
-Fixed bugs regarding tangent generation in SurfaceTool
2017-08-02 15:43:49 -03:00
Juan Linietsky
6760783b94 Revert "Tweak command-line arguments to make them more UNIX-like" 2017-08-02 15:39:04 -03:00
Andreas Haas
708ddb05af
ScriptEditor: ctrl+click can open scenes/resources.
Closes #9654
2017-08-02 19:23:57 +02:00
Rémi Verschelde
d1463554b4 Merge pull request #10014 from Calinou/tweak-command-line-arguments
Tweak command-line arguments to make them more UNIX-like
2017-08-02 10:02:11 +02:00
Hugo Locurcio
b9a7997945 Tweak command-line arguments to make them more UNIX-like
Also improves the command-line help text readability.
2017-08-02 09:33:40 +02:00
Rémi Verschelde
89bf19804b Merge pull request #10006 from djrm/pr_theme_fixes
Some theme and usability improvements
2017-08-01 22:25:35 +02:00
Marcelo Fernandez
c09428e950 Implement 32 bit IEEE float WAVE format 2017-08-01 12:48:10 -03:00
Rémi Verschelde
daad16b7c7 Merge pull request #10009 from marcelofg55/master
Fix possible division by zero crashes on the wav importer
2017-08-01 09:45:50 +02:00
Marcelo Fernandez
af6f222b79 Fix possible division by zero crashes on the wav importer 2017-07-31 21:57:58 -03:00
Pedro J. Estébanez
c082f4134f Fix equality when assignment intended 2017-08-01 01:58:14 +02:00
Rémi Verschelde
85088275c5 Merge pull request #8209 from robertdhernandez/Texture-Region-Editor-Sync
Texture region now updates when changing an Atlas region rect
2017-08-01 00:15:37 +02:00
Daniel J. Ramirez
cd8feed0df Some theme and usability improvements
Fixed create script editor dialog not changing extension
Options menu for inspector element is bigger
2017-07-31 13:19:45 -05:00
Poommetee Ketson
6dde105be7 SpatialEditor: fix transform dialog 2017-07-31 20:00:02 +07: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
Geequlim
0b11062d93 Fix property type expose of Control.stretch_ratio.
Fix set integer value from inspector to round instead of floor.
2017-07-31 14:15:38 +08:00
Rémi Verschelde
76005a8e75 Style: Apply clang-format on all files
Thus fixing some invalid changes that had still made it to the master branch.
2017-07-30 22:53:40 +02:00
Rémi Verschelde
5549407308 Revert "PropertyEditor: display "Off" if property is false"
This reverts commit 5adb94e726.
It was actually not a bug, see discussion on #9898.
2017-07-30 22:08:26 +02:00
George Marques
597e5ebedf Merge pull request #9968 from kubecz3k/edit-plugin-hint
ScriptEditor -> 'script_close' signal hint correction
2017-07-29 13:59:07 -03:00
Jakub Grzesik
ff5ffeafeb ScriptEditor -> 'script_close' signal hint correction 2017-07-29 14:22:06 +02:00
Poommetee Ketson
93f0177737 PropertyEditor: Fix easing_curve blocking popup input 2017-07-29 17:38:16 +07:00
Juan Linietsky
b276d92c8a Few small GI Probe fixes 2017-07-29 00:04:29 -03:00
Rémi Verschelde
e224528710 Merge pull request #9943 from kubecz3k/fix-inh-inst-edit
correct RMB options for instanced inherited scene
2017-07-28 11:16:21 +02:00
Rémi Verschelde
a4c150d26c Merge pull request #9906 from Noshyaar/pr-theme
ThemeEditor: fix broken dialog
2017-07-28 11:14:21 +02:00
Rémi Verschelde
3866829115 Merge pull request #9879 from RandomShaper/fix-mutating-settings-file
Fix mutating project.godot
2017-07-28 11:10:59 +02:00
Jakub Grzesik
9a838568b6 correct RMB options for instanced inherited scene
When scene is inherited and later instanced as a part of another
scene, only options related to instancing will be visible - same
behavior as in 2.x
closes #9901
2017-07-28 10:32:49 +02:00
Poommetee Ketson
8350e4853e ThemeEditor: fix broken dialog 2017-07-27 14:17:02 +07:00
Rémi Verschelde
7c4a5f1392 Merge pull request #9870 from Noshyaar/pr-fixsave
Fix !save_each_scene saving scenes with no filename
2017-07-27 08:52:34 +02:00
Rémi Verschelde
f5c3ee595d Merge pull request #9852 from groud/canvas_editor_update
Some more CanvasItemEditor improvements
2017-07-27 08:52:07 +02:00
Rémi Verschelde
fec5157df5 Merge pull request #9904 from Noshyaar/pr-off
PropertyEditor: display "Off" if property is false
2017-07-27 08:46:44 +02:00
Poommetee Ketson
5adb94e726 PropertyEditor: display "Off" if property is false 2017-07-27 13:12:28 +07:00
Marc Gilleron
754679da0a Initialize freelook shortcuts properly 2017-07-27 04:00:23 +02:00
Pedro J. Estébanez
1619aabfe1 Fix mutating project.godot
Namely:
- comment block lost on first save;
- config_version doubled as 3 and null on second save;
- format change on first save.
2017-07-26 16:13:38 +02:00
Poommetee Ketson
dd6cb0b404 Fix !save_each_scene saving scenes with no filename
When save_each_scene is false, only scenes that have been saved at
least once are saved. But EditorNode tries to save scenes with no
filename too (they're never saved), so it crashes.
2017-07-26 18:57:34 +07:00
Rémi Verschelde
be5adec286 Temporarily disable the Asset Library
Currently it features only plugins for Godot 2.1.x, we need #7147 fixed
to be able to propose only 3.0-compatible plugins in the Asset Library.
2017-07-25 22:29:42 +02:00
Gilles Roudiere
ffe2072741 Change the grid offset when the snap is set as relative 2017-07-25 21:10:43 +02:00
Poommetee Ketson
f471afa4a5 Label: update min size when regenerate wordcache 2017-07-25 17:06:16 +07:00
Rémi Verschelde
303370d03d Merge pull request #9702 from groud/canvas_editor_update
[WIP] Canvas editor code clean-up (and improvements)
2017-07-25 08:40:39 +02:00
Poommetee Ketson
24329155eb EditorNode: fix missing distraction-free tooltip 2017-07-24 13:07:53 +07:00
Juan Linietsky
85aa0adeef small grammar fix 2017-07-23 18:55:08 -03:00
Juan Linietsky
66009706c9 -Ability to set default import presets for type
-More presets for scene importer
-Option in scene importer to export root nodes as separate scenes
-Fixed MeshInstance preview
2017-07-23 18:50:25 -03:00
Poommetee Ketson
a572eb6453 Suppress get_edited_scene_root error 2017-07-23 22:11:34 +07:00
Rémi Verschelde
38c471bef6 Merge pull request #9765 from Noshyaar/pr-clang
Clang-formatting *.cpp and *.h (some files excluded)
2017-07-23 13:16:48 +02:00
Rémi Verschelde
21497bd501 Merge pull request #9790 from Noshyaar/pr-req
EditorNode: request_attn when behind other windows
2017-07-23 13:15:52 +02:00
Rémi Verschelde
bde84112d8 Merge pull request #9788 from Zylann/freelook_modifier
Added configurable modifier key to activate freelook
2017-07-23 13:15:46 +02:00
Rémi Verschelde
5396c7be31 Merge pull request #9774 from Noshyaar/pr-about
Move About dialog to editor_about.cpp
2017-07-23 13:14:04 +02:00
Rémi Verschelde
ba7fdcfd02 Merge pull request #9762 from Paulb23/_scipt_close_tab_selection_issue_8400
Fixed script tab selection on file close, issue 8400
2017-07-23 13:09:59 +02:00
Rémi Verschelde
50ab88bf15 Merge pull request #9761 from Noshyaar/pr-fix
ScriptEditor: suppress get_child errors
2017-07-23 13:09:47 +02:00
Rémi Verschelde
e3aa9b5191 Merge pull request #9706 from djrm/theme_fixes
Icons can now be added inside line edits (Search icon).
2017-07-23 13:03:53 +02:00
Poommetee Ketson
7b1e15b88c EditorNode: request_attn when behind other windows
The current version requests attention only when minimized
which might not work as expected when it's not minimized
but doesn't have focus.
2017-07-23 14:36:38 +07:00
Marc Gilleron
9d970b11ae Added configurable modifier key to activate freelook 2017-07-23 02:13:08 +02:00
Poommetee Ketson
20d36bf226 Move About dialog to editor_about.cpp 2017-07-23 00:14:44 +07:00
Rémi Verschelde
8495acc510 Merge pull request #9754 from Hinsbart/obj_fix
OBJ Importer: Fix relative path materials.
2017-07-22 13:49:19 +02:00
Rémi Verschelde
f0ab3283c0 Merge pull request #9749 from kubecz3k/animtree-slider-fix
AnimationTree nodes sliders fixes
2017-07-22 13:46:36 +02:00
Rémi Verschelde
93422e2ff2 Merge pull request #9743 from Noshyaar/pr-itemlist
Enhanced About dialog, Add ItemList auto_height
2017-07-22 13:42:32 +02:00
Rémi Verschelde
8cf8be6a8d Merge pull request #9742 from quinnyo/project-manager-new-config
updated project manager to use new project.godot values
2017-07-22 13:40:15 +02:00
Rémi Verschelde
c4918ca76b Merge pull request #9717 from kubecz3k/plugin-methods-rename
Rename of two EditorPlugin methods
2017-07-22 13:35:05 +02:00
Poommetee Ketson
c7c65ca6ba Clang-formatting *.cpp and *.h (some files excluded) 2017-07-22 18:14:08 +07:00
Paulb23
3906134003 Fixed script tab selection on file close, issue 8400 2017-07-22 10:23:19 +01:00
Poommetee Ketson
843589d9d1 ScriptEditor: suppress get_child errors 2017-07-22 14:02:34 +07:00
Andreas Haas
0bc5fca4d5
OBJ Importer: Fix relative path materials. 2017-07-21 20:59:22 +02:00
Jakub Grzesik
0fc4b04f51 AnimationTree nodes sliders fixes 2017-07-21 13:57:46 +02:00
Poommetee Ketson
47c4777ccf Enhanched About dialog, Add ItemList auto_height
Add set/has_auto_height for ItemList to automatically set minimum
size by content.
Add hash to About dialog.
Resize About dialog so that dev list appears in 3 columns.
2017-07-21 14:18:40 +07:00
Quinn Yo
5c62304b78 updated project manager to use new project.godot values 2017-07-21 15:25:22 +10:00
Gilles Roudiere
cb3fbf7d32 Make uniform resize possible with side (top, left, right, bottom)
handles.
2017-07-20 22:03:34 +02:00
Gilles Roudiere
2d9873e033 Replaced the hard-to-understand _select by _select_click_on_empty_area and _select_click_on_item.
Added some comments
Removed commented code or useless ones
2017-07-20 19:50:37 +02:00
Gilles Roudiere
0d4b0ecb57 Generalized _find_canvas_items_at_pos to remove _select_canvas_items_at_pos
Removed some useless parameters
Removed old comments
2017-07-20 19:50:37 +02:00
Jakub Grzesik
218b1c223d EditorPlugin methods and signals rename 2017-07-20 19:16:34 +02:00
Martin Capitanio
10e16de3d2 custom_features: fix typo 2017-07-20 11:48:00 +02:00
Juan Linietsky
25678b1876 -Renamed GlobalConfig to ProjectSettings, makes more sense.
-Added system for feature overrides, it's pretty cool :)
2017-07-19 17:06:03 -03:00
Daniel J. Ramirez
95f55c8f0d Icons can now be added inside line edits (Search icon).
Fixed window title bar margins.

fixed compilation error
2017-07-19 13:23:16 -05:00
Rémi Verschelde
c5ba9d9b7c Merge pull request #9703 from Noshyaar/docs
Add object type hint for docs
2017-07-19 10:00:20 +02:00
Rémi Verschelde
d4c73ea2b3 Merge pull request #9565 from kubecz3k/tool-signals
Make more informations available for Tool Plugins about the editor
2017-07-19 09:54:02 +02:00
Poommetee Ketson
49c7620326 Add object type hint for docs 2017-07-19 02:03:34 +07:00
Rémi Verschelde
9cf72d0ae1 Merge pull request #9700 from djrm/button_fixes
Fixed button flat behavior when not in normal state.
2017-07-18 18:14:23 +02:00
Rémi Verschelde
ae80d57b31 Merge pull request #9695 from Noshyaar/pr-rcd
EditorNode: remove obsolete comments in constructor
2017-07-18 18:13:43 +02:00
Daniel J. Ramirez
337c1238b9 Fixed button flat behavior when not in normal state.
Also changed some buttons to flat mode
2017-07-18 11:03:06 -05:00
Jakub Grzesik
708d825001 Make available more informations about editor for Tool Plugins 2017-07-18 17:48:19 +02:00
Poommetee Ketson
4c4969f639 EditorNode: remove obsolete comments in constructor 2017-07-18 20:04:20 +07:00
Rémi Verschelde
0afa77a8a2 Merge pull request #9689 from djrm/theme_fixes
Added separators using StyleBoxLine, some theme style fixes
2017-07-18 14:06:04 +02:00
Rémi Verschelde
e21ea393ea Merge pull request #9688 from djrm/slider_fix
Fixed slider centering when using SIZE_EXPAND_FILL.
2017-07-18 14:05:54 +02:00
Daniel J. Ramirez
79d85b7ff6 Fixed slider centering when using SIZE_EXPAND_FILL. 2017-07-18 01:50:01 -05:00
Daniel J. Ramirez
17c3422431 Added separators using StyleBoxLine, some theme style fixes, added variant icon 2017-07-18 01:09:19 -05:00
Rémi Verschelde
5a42bbaace Merge pull request #9482 from Noshyaar/pr-ramp
Fix shrunk ColorPickers
2017-07-18 07:52:32 +02:00
Rémi Verschelde
fbfb9e79d3 Merge pull request #9681 from Noshyaar/pr-license
Fix Zlib license not extracted
2017-07-18 07:48:02 +02:00
Poommetee Ketson
668d00ff2d Fix ColorPicker to use theme constants 2017-07-18 09:43:16 +07:00
Juan Linietsky
bbada82f80 -Reorganized all properties of project settings (Sorry, Again).
(Lot's of bloat accumulated, so it was time for clean up.)
-Made EditorSettings and ProjectSettings search more useful (search in sections too)
2017-07-17 22:18:58 -03:00
Poommetee Ketson
e4dc52ba81 Fix Zlib license not extracted 2017-07-18 08:02:56 +07:00
Rémi Verschelde
34c20248b3 Merge pull request #9577 from MarianoGnu/master
Add anchor shortcut to fit parent
2017-07-17 23:14:52 +02:00
Rémi Verschelde
4680effcb3 Merge pull request #9666 from toger5/betterFocusCanvasEditor
Focus box size fix for new theme
2017-07-17 22:36:20 +02:00
Rémi Verschelde
2b8342e308 Merge pull request #9652 from djrm/theme_fixes
Improvements and fixes for the default theme.
2017-07-17 22:36:00 +02:00
redtoorange
b2d2116a3a Fixed bug that prevented creating polygons. 2017-07-17 22:17:39 +02:00
Jakub Grzesik
c66ccbbf4c Subscene icon tooltip update
Subscene tooltip text changed to 'Open in Editor'
closes #9667
2017-07-17 19:58:36 +02:00
Rémi Verschelde
4fe63ed7a3 Merge pull request #9642 from kubecz3k/checkbox-fix
Fix uncheckable checkboxes in RMB menu. closes #9625
2017-07-17 12:05:29 +02:00
Daniel J. Ramirez
a3c2d9a6bd Improvements and fixes for the default theme.
Added customizable border size and window highlight.
2017-07-16 13:23:59 -05:00
toger5
7556aacb03 focus box size fix for new theme 2017-07-16 20:07:06 +02:00
Juan Linietsky
5e361ba2ea Script editor usability fixes 2017-07-15 09:35:29 -03:00
Juan Linietsky
2e73be99d8 Lots of work on Audio & Physics engine:
-Added new 3D stream player node
-Added ability for Area to capture sound from streams
-Added small features in physics to be able to properly guess distance to areas for sound
-Fixed 3D CollisionObject so shapes are added the same as in 2D, directly from children
-Fixed KinematicBody API to make it the same as 2D.
2017-07-15 08:32:34 -03:00
Rémi Verschelde
e64b82ebfc Some more typo fixes for "threshold"
Looks like @reduz really does not like that word.
2017-07-15 12:01:46 +02:00
Mariano Suligoy
99bda42d4d Add anchor shortcut to fit parent
Also remove old Edit -> Expand to Parent menu option
2017-07-14 10:25:50 -03:00
Jakub Grzesik
7f31cbda4f Fix uncheckable checkboxes in RMB menu. closes #9625 2017-07-14 10:59:11 +02:00
Rémi Verschelde
9fd7beaa93 Merge pull request #9622 from Hinsbart/default_templates
Add default GDScript templates.
2017-07-13 11:51:19 +02:00
Rémi Verschelde
5cd4fdfda5 Merge pull request #9621 from djrm/Icons
Added some missing icons, fixed search button as zoom in some ui elem…
2017-07-13 11:50:28 +02:00
Daniel J. Ramirez
12db63df14 Added some missing icons, fixed some ui icons 2017-07-12 14:11:56 -05:00
Andreas Haas
7ac2b6d3b3
Add default GDScript templates.
Adds some default templates, an empty one (that just extends the base class) and one without the comments.
Note: If you ran a previous build of Godot 3 before, remove or rename the script_templates folder in order to get these.
2017-07-12 20:54:12 +02:00
Poommetee Ketson
da8734bd30 EditorHelpBit: fix stylebox error of some instances 2017-07-13 01:27:26 +07:00
Rémi Verschelde
9f0a65b804 Merge pull request #9566 from kubecz3k/tool-open-scn
EditorPlugin ability to open and reload scenes from scn filepath
2017-07-11 16:41:44 +02:00
Rémi Verschelde
3741a57657 Merge pull request #9589 from Noshyaar/ref
Include Git hash in the engine
2017-07-11 16:37:25 +02:00
Poommetee Ketson
5a9eb5ef58 Include Git hash in the engine 2017-07-11 15:57:52 +07:00
Jakub Grzesik
90bcb345b4 EditorPlugin ability to open and reload scns from filepath 2017-07-11 10:22:44 +02:00
Thomas Herzog
34edac54e3 Merge pull request #9510 from kubecz3k/tab-reposition
ability to reposition scene tabs with drag & drop
2017-07-11 00:11:03 +02:00
Thomas Herzog
93dcfe1246 Merge pull request #9559 from Noshyaar/pr-2
ScriptCreateDialog: Fix regressions from #9536
2017-07-10 22:59:02 +02:00
Thomas Herzog
aa52f7c8d4 Merge pull request #9572 from Noshyaar/rlts
Fix duplicated resource_local_to_scene
2017-07-10 22:56:12 +02:00
Jakub Grzesik
98897d0415 Ability to toggle script panel visibility 2017-07-10 14:25:06 +02:00
Jakub Grzesik
29c2aabdaf ability to reposition scene tabs with drag & drop 2017-07-10 10:31:15 +02:00
Poommetee Ketson
7c5a19dcd6 Fix crash on closing [empty](*) scene tab 2017-07-10 02:01:12 +07:00
Poommetee Ketson
9ef0d0f96e ScriptCreateDialog: Fix regressions from #9536 2017-07-09 13:36:57 +07:00
Poommetee Ketson
68fdcc4f83 Fix duplicated resource_local_to_scene 2017-07-09 13:26:10 +07:00
Poommetee Ketson
2fd204c35e Refactor 'treshold' to 'threshold' 2017-07-08 22:24:56 +07:00
Rémi Verschelde
0067982f5e Merge pull request #9535 from GodotExplorer/pr-editor-theme-justify
Justify the editor theme style colors
2017-07-08 15:53:37 +02:00
Poommetee Ketson
ab948dd3d1 About: center valign copyright label 2017-07-08 20:47:27 +07:00
Rémi Verschelde
9890b1ee4e Merge pull request #9536 from Noshyaar/pr
ScriptCreateDialog: fix open error crash, remember template
2017-07-08 11:03:08 +02:00
Rémi Verschelde
484775e260 Merge pull request #9533 from echo-Mike/bug#7755
Inline documentation request satisfied.
2017-07-08 11:02:52 +02:00
Rémi Verschelde
752d0c0bcf Merge pull request #9514 from Noshyaar/pr-license
About: add thirdparty license info
2017-07-08 11:01:55 +02:00
geequlim
b95ba28800 Justify the editor theme style colors 2017-07-08 16:33:42 +08:00
Rémi Verschelde
095f0c956e Fix wrong cast to Node2D instead of Control
As reported by @sanikoyes.
2017-07-08 09:42:48 +02:00
ducdetronquito
566655adc1 [#9292] Renamed Image.put_pixel() to set_pixel(). 2017-07-07 19:05:45 +02:00
Poommetee Ketson
a94ea0b9fe ScriptCreateDialog: fix open error crash, remember template 2017-07-07 20:42:39 +07:00
Mike Demchenko
836c8bfacf Inline documentation request satisfied. 2017-07-07 03:01:46 +04:00
Juan Linietsky
bd9d98c172 Ability to set rotation and scaling pivot for controls. 2017-07-06 17:42:44 -03:00
Poommetee Ketson
da2de8932c About: add thirdparty license info 2017-07-06 14:42:47 +07:00
Juan Linietsky
12a8fedfe6 Some changes to dual paraboloid envmap generation, fixes somme bleeding 2017-07-05 19:39:45 -03:00
Rémi Verschelde
c81fd8c687 Merge pull request #9492 from kubecz3k/subscene-click-fix
fix for redundant RMB options for toplevel node
2017-07-05 10:51:31 +02:00
Rémi Verschelde
f4ff452a58 Merge pull request #9496 from Noshyaar/pr-itemlist
ItemList: expose methods, in-editor items editing support
2017-07-05 10:20:44 +02:00
Rémi Verschelde
444354b51f Merge pull request #9498 from Noshyaar/pr-license
About: Add License info
2017-07-05 10:16:52 +02:00
anakimluke
c1699d807f Removed outdated comment.
closes #78
2017-07-04 21:36:06 -03:00
Poommetee Ketson
272cfdc0c8 About: Add License info 2017-07-04 22:07:43 +07:00
Poommetee Ketson
3aff102fc3 ItemList: expose methods, in-editor items editing support 2017-07-04 20:12:33 +07:00
Jakub Grzesik
5f13b42513 fix for redundant RMB options for toplevel node 2017-07-04 12:50:20 +02:00
Rémi Verschelde
8a23313177 Merge pull request #9447 from Noshyaar/pr
EditorNode: mark opened deleted scenes as unsaved
2017-07-03 23:46:54 +02:00
Rémi Verschelde
e54c7d5715 Merge pull request #9457 from TwistedTwigleg/Fixed_Vector3_snap
Fixed syntax inconsistency in Vector3.snap and Vector3.snapped
2017-07-03 23:43:33 +02:00
Rémi Verschelde
2036273f94 Merge pull request #9462 from Noshyaar/pr2
SceneTab: MMB or double LMB to create new scene
2017-07-03 23:32:29 +02:00
Rémi Verschelde
1a2ea9ba1b Merge pull request #9465 from Zylann/curve_preview
Added Curve preview thumbnail
2017-07-03 23:28:23 +02:00
Rémi Verschelde
e4b42a5da0 Merge pull request #9473 from Noshyaar/pr-author
Authors/About: support for multiple sections
2017-07-03 22:59:34 +02:00
TwistedTwigleg
44ecfb028d Fixed syntax inconsistency in Vector3.snap and Vector3.snapped 2017-07-03 16:29:03 -04:00
Jakub Grzesik
80716a8bf4 Clicking on subscene icon will open it
All options are moved into RMB menu
2017-07-03 16:53:46 +02:00
Juan Linietsky
e63c64e256 Clean up normalmapping, make sure tangents are imported correctly. 2017-07-03 10:45:34 -03:00
Poommetee Ketson
21f6cc75a1 Authors/About: support for multiple sections 2017-07-03 09:40:56 +07:00
volzhs
6ed2b0eabc Update visibility icon properly 2017-07-03 00:27:27 +09:00
Rémi Verschelde
bb6e73f9c1 EditorNameDialog: Remove unnecessary move_child
Fixes #9377.
2017-07-02 12:50:27 +02:00
Rémi Verschelde
71f6c96288 Script editor help: Prevent loading empty instances from layout 2017-07-02 12:31:34 +02:00
Marc Gilleron
c4564233a8 Added Curve preview thumbnail 2017-07-02 01:52:47 +02:00
Rémi Verschelde
0ffb70f0bb Merge pull request #9463 from bojidar-bg/9461-fix-backcompat
Readd tilemap's shape_transform and bugfixes
2017-07-01 21:34:19 +02:00
Andreas Haas
bb9daaccff
Animation Editor: Fix trying to stop playback without player.
Fixes #9280
2017-07-01 20:26:41 +02:00
Bojidar Marinov
4d2642b666 Readd tilemap's shape_transform and bugfixes
This reverts commit a808f53020.
2017-07-01 20:56:51 +03:00
Poommetee Ketson
003a49eb66 SceneTab: MMB or double LMB to create new scene 2017-07-01 23:23:16 +07:00
Juan Linietsky
a808f53020 Revert "Fix Tileset/tilemap issues related to my adding of one-way collisions to them" 2017-07-01 13:02:04 -03:00
Andreas Haas
8e8e4b30e5
Script create diag: Show extensions for currently selected language only. 2017-07-01 15:19:34 +02:00
Juan Linietsky
2a3e00c8c7 -Many fixes to VisualScript, fixed property names, etc.
-Added ability to set/get a field in GetSet, as well as assignment ops
-Added a Select node
-Fixed update bugs related to variable list and exported properties, closes #9458
2017-06-30 21:35:05 -03:00
Rémi Verschelde
e2e73ec906 Merge pull request #9448 from Noshyaar/pr1
EditorNode: request attention when quit while minimized
2017-06-30 19:15:04 +02:00
Bojidar Marinov
80356f925c
Fix #9409, fixup #9370; tileset now has shape transform instead of offset
Fix bad return type in CollisionObject2D, Shape -> Shape2D. Was causing unintended null when casting. (9409)
Fix a misplaced ++ operator. (9370)
Fix merging with exiting tileset duplicating shapes. (9370)
2017-06-30 19:01:20 +03:00
Poommetee Ketson
bbcf999e99 EditorNode: request attention when quit while minimized 2017-06-30 08:16:29 +07:00
Poommetee Ketson
a7ff7af8ae EditorNode: mark opened deleted scenes as unsaved 2017-06-30 00:55:29 +07:00
Robert Hernandez
f0f407e76e Texture region now updates when changing an Atlas
- Removed atlas_changed signal for AtlasTexture
- Changes are now handled by _notify_change
- Removed unneccesary signal connections
- Texture preview now updates in real-time

Fixed TextureRegionEditor constantly regenerating
2017-06-29 10:49:24 -04:00
Juan Linietsky
db3b05d289 Reworked translation system
-Label and Button reload translation on the fly
-Resources are loaded and reload depending on locale
2017-06-28 17:01:35 -03:00
Rémi Verschelde
f59430beef Merge pull request #9419 from eska014/native-run
Subtle native-run buttons
2017-06-28 07:51:36 +02:00
Rémi Verschelde
7fad30fb9a Merge pull request #9424 from vnen/fix-import-plugin
Fix filesystem update for import plugins
2017-06-28 07:49:37 +02:00
Marc Gilleron
6c1ab2098f Fix curve saving, refined undo/redo 2017-06-28 02:43:30 +02:00
George Marques
0e80dc88ad
Fix filesystem update for import plugins 2017-06-27 20:49:28 -03:00
L. Krause
92367968e7 Use custom native-run icons for Android and HTML5 2017-06-27 21:06:26 +02:00
Rémi Verschelde
6fd4311c27 Change default color of script editor text selection
Supersedes and closes #9388.
2017-06-27 20:47:32 +02:00
George Marques
3509acd415
Fix active plugins property name 2017-06-27 10:53:51 -03:00
Juan Linietsky
51442988b1 Merge pull request #9404 from Zylann/curve_improvement
Curve improvement
2017-06-27 07:53:52 -03:00
Rémi Verschelde
72bf46649e Merge pull request #9360 from GodotExplorer/pr-external-editor-language-check
Better user experience with external text editors.
2017-06-27 08:15:54 +02:00
geequlim
6687484958 Better user expirence with external text editors.
Implements open_in_external_editor for subclasses of ScriptLanguage.
Add option 'Debug with external editor' to debug menu to control the behavoir of script opened by editor.
2017-06-27 12:55:16 +08:00
Poommetee Ketson
090ddada46 Clean up redundancy in scene save confirmation 2017-06-27 11:08:16 +07:00
Juan Linietsky
3ce046ee0c -Fixed SCREEN_TEXTURE and other related 2D shader parameters.
-Fixded BackBuffercopy object
2017-06-26 22:58:46 -03:00
Rémi Verschelde
90592ccf03 Fix regression in dc18432015
Closes #9407.
2017-06-27 00:57:18 +02:00
Rémi Verschelde
f28f2b6ce8 Merge pull request #9402 from nunodonato/selectimportagain
Update import dock when editing a resource from the inspector
2017-06-27 00:09:24 +02:00
Nuno Donato
dc18432015 Update import dock when editing a resource from the inspector (improved version)
closes #8139. (just in case it wasn't closed well enough the first time :p)
2017-06-26 23:15:22 +01:00
Marc Gilleron
69b8f61f25 Curve features
- Ability to set tangents as linear
- Indicative min and max values
- CurveTexture doesn't need min and max anymore
2017-06-26 23:41:37 +02:00
Rémi Verschelde
4e12bf19cc Merge pull request #9304 from Noshyaar/pr-save
EditorNode: add Save/Discard/Cancel dialog
2017-06-26 23:29:39 +02:00
Rémi Verschelde
177aff0aaf Merge pull request #9347 from bojidar-bg/7312-quick-input-edit
Allow input mappings to be edited
2017-06-26 23:00:55 +02:00
Rémi Verschelde
e65f444726 Merge pull request #9385 from toger5/theme_item_list
margins for item list
2017-06-26 22:56:38 +02:00
Rémi Verschelde
f2bc0cc966 Merge pull request #9370 from bojidar-bg/c-9318-oneway-tilemaps
Add one-way collisions and individual shape offsets for tilesets
2017-06-26 22:47:26 +02:00
Rémi Verschelde
f7b77e5b76 Merge pull request #9318 from bojidar-bg/readd-normal-tilemap
Add normal map to tilemaps and tilesets
2017-06-26 22:47:11 +02:00
toger5
5374145afa margins for item list
- without margins there are too little gaps on the left and the selecting looks weird
 - also changed the styles for selected and focus so they both have the same size
2017-06-26 13:45:36 -07:00
Rémi Verschelde
5590dd7fb4 Merge pull request #9378 from nunodonato/selectimport
Update import dock when editing a resource from the inspector
2017-06-26 22:34:37 +02:00
Poommetee Ketson
a9367ce6bc EditorNode: enhance save/quit dialog 2017-06-27 03:04:47 +07:00
toger5
3d89893cb8 style box margins for Inspector and list. 2017-06-25 17:21:12 -07:00
Nuno Donato
41029c71d2 Update import dock when editing a resource from the inspector 2017-06-25 23:12:34 +01:00
Juan Linietsky
d41978eb63 Usability improvements for folding. Unfortunately SpatialMaterial broke compatibility. 2017-06-25 18:57:28 -03:00
Juan Linietsky
760cdbe1a3 -Added folding to property editor, persistent on objects it edits
-Some changes to tree to support this properly
2017-06-25 17:31:22 -03:00
Bojidar Marinov
207feb2f87
Add one-way collisions and individual shape offsets for tilesets
As requested in #9318
Accidentially fixes #2231 as well
2017-06-25 21:47:30 +03:00
Rémi Verschelde
e5d890c23a i18n: Update template and sync translations 2017-06-25 14:19:51 +02:00
Rémi Verschelde
d9813ba826 i18n: Sync translations with Weblate
Adds Finnish translation.
2017-06-25 14:16:14 +02:00
Bojidar Marinov
8804c24d82
Allow input mappings to be edited
Closes #7312
2017-06-25 14:35:34 +03:00
Juan Linietsky
83ae9a5e28 Ability to restart particle system with a function call 2017-06-25 08:01:50 -03:00
Poommetee Ketson
1453d67145 EditorNode: enhance quit dialog 2017-06-25 08:04:34 +07:00
Poommetee Ketson
14fa4190b3 EditorNode: add Save/Discard/Cancel dialog 2017-06-25 08:04:34 +07:00
Poommetee Ketson
e3998528e0 BuildSystem: generated files have .gen.extension 2017-06-25 07:55:01 +07:00
Rémi Verschelde
a2e4b80ff5 Merge pull request #9345 from nunodonato/animproperties
Update some property names for animation keys.
2017-06-24 23:52:31 +02:00
Juan Linietsky
898d8fd557 Merge pull request #9353 from Zylann/gradient_refactor
GradientTexture now uses a Gradient
2017-06-24 18:13:56 -03:00
Rémi Verschelde
68891baa1b Merge pull request #9281 from Zylann/fix_freelook_keyboard
Fixed freelook conflict with text inputs
2017-06-24 23:06:04 +02:00
Rémi Verschelde
44c7210387 Merge pull request #9249 from Noshyaar/pr-colorpick
ColorPicker: fix DPI, hue & color update issues
2017-06-24 23:02:02 +02:00
Marc Gilleron
2bb1638b0a GradientTexture now uses a Gradient
- Added gradient property
- Deleted duplicate code
2017-06-24 21:50:44 +02:00
Andreas Haas
cc2cd20870
Capitalize template names in script dialog. 2017-06-24 15:37:27 +02:00
Nuno Donato
c207c06173 Update some property names for animation keys.
Added rect_rotation too.
Fixes #9337
2017-06-24 10:39:57 +01:00
Juan Linietsky
6ba1e4677b -Trigger shapes removed in 2D, they became obsolete long ago when areas could detect their own overlap
-Added ability to disable individual collisionshape/polygon
-Moved One Way Collision to shape, allowing more flexibility
-Changed internals of CollisionObject, shapes are generated from child nodes on the fly, not stored inside any longer.
-Modifying a CollisionPolygon2D on the fly now works, it can even be animated.

Will port this to 3D once well tested. Have fun!
2017-06-23 23:39:52 -03:00
Juan Linietsky
683f50bef4 Merge pull request #9312 from BastiaanOlij/osx_export
Osx export
2017-06-23 23:22:51 -03:00
Marc Gilleron
659897cfb8 Added Curve resource
- New resource for curves in y(x) form
- CurveTexture now has a Curve
- Curve and CurveTexture share the same editor
2017-06-24 01:01:36 +02:00
Thomas Herzog
c5e0c6a336 Merge pull request #9307 from nunodonato/shadererrorline
highlight the correct error line in shader editor
2017-06-23 02:19:40 +02:00
Juan Linietsky
54815b9dde project and scene swapped, sorry could never get used to it :(
Also reorganized menus a bit.
2017-06-22 18:04:03 -03:00
Bojidar Marinov
2edb082c7e
Add normal map to tilemaps and tilesets
Fixes #9310
2017-06-22 18:15:50 +03:00
BastiaanOlij
5b44f092f9 Reimplement export module for OSX 2017-06-23 00:01:55 +10:00
Mariano Javier Suligoy
320c1af616 Merge pull request #9293 from MarianoGnu/master
Fix regresion on Texture Region Editor Plugin. Fixes #9282
2017-06-22 07:56:01 -03:00
Nuno Donato
be2f7f4172 highlight the correct error line in shader editor 2017-06-21 21:09:41 +01:00
Juan Linietsky
95560e02c5 2D GPU Particles working.. 2017-06-21 16:26:26 -03:00
Andreas Haas
e80d61038b
Fix EditorImportPlugin::get_preset_count
Was missing a const...
2017-06-20 21:25:12 +02:00
Mariano Suligoy
2b7a826553 Fix regresion on Texture Region Editor Plugin. Fixes#9282 2017-06-20 16:05:36 -03:00
Marc Gilleron
0fd66a4f8f Fixed freelook conflict with text inputs 2017-06-20 02:50:25 +02:00
Thomas Herzog
86407aebc5 Merge pull request #8407 from Jylhis/popup_item_select_hide
Update PopupMenu hiding
2017-06-20 00:20:21 +02:00
Poommetee Ketson
443e58e88c ColorPicker: fix DPI, hue & color update issues 2017-06-20 04:00:05 +07:00
Thomas Herzog
6b93455b6b Merge pull request #9099 from kubecz3k/plugin-camera-expose
EditorPlugin can request user inputs from editor 3d view
2017-06-19 22:43:33 +02:00
Juan Linietsky
8928509f09 Merge pull request #9256 from MarianoGnu/master
Fix ColorPicker's screen pick functionality
2017-06-19 13:32:24 -03:00
Mariano Suligoy
f5185e7ba6 Fix ColorPicker's screen pick functionality 2017-06-19 09:23:57 -03:00
Konrad Nowakowski
6592df74d8 Fix image lock on preview image generating 2017-06-19 12:00:32 +01:00
Kryptocron
4bee1d98fa Added option to not save a scene when played. 2017-06-17 03:04:50 -07:00
Juan Linietsky
b19225bfce -Fix freezes caused by etccomp2, closes #9183
-Normalmaps are now detected and imported as RGTC, both in S3TC and ETC2, this improves their quality.
2017-06-16 21:49:37 -03:00
Rémi Verschelde
8a03a29233 Merge pull request #9225 from bojidar-bg/attempt-fix-fs-dock
Fix EditorFileSystem duplicating root folder in new folders
2017-06-16 23:56:07 +02:00
Bojidar Marinov
c89d9720f0
Fix EditorFileSystem duplicating root folder in new folders
Also, add some uninitialized variables into constructors (I like to applease cppcheck).
Also, remove unused md_count.
Fixes #3662.
2017-06-16 23:32:46 +03:00
Andreas Haas
16622fccd2 Merge pull request #9221 from volzhs/fix-scene-tab-theme
Fix scene tab color not updated when theme changed
2017-06-16 19:48:09 +00:00
George Marques
7966ebe6fa
Complete changing of resource extensions
Some places were missing in e42d59f.
2017-06-16 15:42:18 -03:00
volzhs
d2f72ca923 Fix scene tab color not updated when theme changed 2017-06-17 03:00:57 +09:00
ageazrael
a89658fdb8 Fixed ‘CreateNewAnimation’ window wrong size. 2017-06-16 17:52:49 +02:00
Rémi Verschelde
8b1bc9da88 Merge pull request #9208 from Calinou/tweak-default-fov
Increase the default perspective camera FOV
2017-06-16 17:51:04 +02:00
BastiaanOlij
9483613138 Godot 3.0 primitives as resources for use with MeshInstance
Adds the following resources:
- CapsuleMesh: a capsule object
- CubeMesh: a cube that can be subdivided
- CylinderMesh: a cylinder
- PlaneMesh: a horizontal plane that can be subdivided
- PrismMesh: a prism shape
- SphereMesh: a sphere
- QuadMesh: reintroduction of the original quadmesh

Removes the old Quad and TestCube nodes
2017-06-16 21:40:23 +10:00
Rémi Verschelde
3fadbe2172 Merge pull request #9201 from vnen/rename-extensions
Rename Godot-specific resource extensions
2017-06-16 13:01:10 +02:00
Hugo Locurcio
cdcc3c919b Increase the default perspective camera FOV
This does not affect existing projects, but will affect newly-created
editor settings and Camera nodes.
2017-06-16 12:07:07 +02:00
Rémi Verschelde
3e7bbf2ca3 Merge pull request #9196 from volzhs/scene-tab
Enhance scene tabs
2017-06-16 08:14:45 +02:00
volzhs
fc2fe7ebd1 Enhance scene tabs
- show scene thumbnail on hover
- resize if has many tabs
- show full scene file name with current edited scene
- can be customized EditorSettings > Interface > Scene Tab
- close scene with mouse middle button
2017-06-16 13:21:05 +09:00
George Marques
e42d59f01e
Rename Godot-specific resource extensions 2017-06-15 21:35:20 -03:00
Rémi Verschelde
dc6642bc13 Merge pull request #9102 from Faless/debugger_listen_show_error
Editor now shows error when debug port is in use
2017-06-15 00:08:44 +02:00
Juan Linietsky
c1df35037f get rid of button array 2017-06-14 18:27:44 -03:00
Rémi Verschelde
19017a760c Merge pull request #9158 from Hinsbart/script_templates
Add ability to use custom script templates.
2017-06-14 23:11:41 +02:00
Rémi Verschelde
80de0c35df Merge pull request #9160 from karroffel/color-ramp-rename
renamed occurances of ColorRamp with Gradient
2017-06-14 23:09:30 +02:00
Rémi Verschelde
be31151199 Merge pull request #9174 from volzhs/file-mode-toggle
Make toggle between thumbnail and list for file dialog on editor
2017-06-14 22:47:50 +02:00
volzhs
7dde056d48 Make toggle between thumbnail and list for file dialog on editor 2017-06-14 23:00:39 +09:00
Karroffel
23c5fa8687 renamed occurances of ColorRamp with Gradient
ColorRamp got renamed to Gradient recently, reduz missed some occurances though.
2017-06-14 01:24:04 +02:00
Juan Linietsky
a8e845a474 Merge pull request #8548 from tagcup/etc2comp
Add ETC1/ETC2 compression support though etc2comp.
2017-06-13 19:17:13 -03:00
Andreas Haas
8361b1ce07 Add ability to use custom script templates.
Templates will be loaded from .godot/script_templates
For now they're disabled for GDNative.

Ideas for further improvements:

- Add a "Save as Template" option to the script editor, as it can normally only save to res://
- Support more placeholders / custom placeholders
2017-06-13 20:03:08 +00:00
Juan Linietsky
831860695c Fix empty shader related crash, closes #8314 2017-06-12 19:23:37 -03:00
Juan Linietsky
42b2d52c88 Properly adjust the visible editor rect and make limits respected, closes #8328 2017-06-12 16:19:12 -03:00
Andreas Haas
5f1603ca45
EditorSettings: Default game window placement to Centered.
Fixes #8890
2017-06-12 21:06:37 +02:00
Unknown
d8b65b1657 EditorPlugin can request user inputs from editor 3d view 2017-06-12 17:55:15 +02:00
Juan Linietsky
61c82f4356 Restored everything related to information polling, and added information box for viewport. 2017-06-11 18:13:04 -03:00
Juan Linietsky
4d50c7ad8c Restored multiple viewport function, as well as view modes. 2017-06-11 15:52:03 -03:00
Juan Linietsky
ec015a32ae Multiple 3D viewports are not operational. 2017-06-11 11:29:51 -03:00
Zher Huei Lee
9ecdf522bd Added EditorPlugin.remove_import_plugin()
Allows addons with import extensions to clean up properly on
removal.
2017-06-11 17:18:22 +08:00
Fabio Alessandrelli
b76275ab12 Fix network/debug/remote_port editor setting not working properly 2017-06-10 23:34:35 +02:00
Fabio Alessandrelli
fc1368bee0 Editor now shows error when debug port is in use 2017-06-10 23:34:24 +02:00
alexholly
935f730170 renamed all Rect3.pos to Rect3.position 2017-06-09 15:54:02 +02:00
Rémi Verschelde
63fd693c1e Merge pull request #9060 from pixelpicosean/scroll-to-pan-canvas-item-editor-3.0
Add settings to pan canvas editor with scrolling
2017-06-09 10:48:59 +02:00
Juan Linietsky
612ab8fcdb -Restored multithread capability to VisualServer
-Restored resource previews!
2017-06-09 00:24:18 -03:00
Sean Bohan
45b71ac2d0 Add settings to pan canvas editor with scrolling
This feature is mainly designed for developers who uses touchpad instead of mouse, and want to scroll instead of zoom. Every macOS developers will like it since it feels intuitive.

2 new settings are added to “editors/2d”:

scroll_to_pan: turn on to use mouse/touchpad scroll to pan canvas item editor view instead of zoom
pan_speed: use this value to change scroll speed
2017-06-08 18:05:41 +08:00
Rémi Verschelde
7a3d557622 Merge pull request #9089 from nunodonato/autoopennew
Automatically edit new project after creating it in project manager. Fixes #9075
2017-06-08 07:39:09 +02:00
Rémi Verschelde
7570d9589d Merge pull request #9085 from groud/fix-audio-bus-buttons
Fix: audio buses buttons hard to see if pressed or not
2017-06-08 07:38:38 +02:00
Rémi Verschelde
932694e759 Merge pull request #9092 from Noshyaar/pr-run
Fix unsaved scene not running after save
2017-06-08 07:36:24 +02:00
Rémi Verschelde
606b4ee9df Merge pull request #9051 from toger5/fixedScriptEditorListSeperation
fixed spacing for script editor script list
2017-06-08 07:34:27 +02:00
Rémi Verschelde
89a7fb3530 Merge pull request #9090 from nunodonato/autorun
Run project after selecting main scene. Fixes #9077
2017-06-08 07:32:31 +02:00
Poommetee Ketson
6b7021ad90 Fix unsaved scene not running after save 2017-06-08 11:38:31 +07:00
Nuno Donato
1ab0a779d8 Run project after selecting main scene. Fixes #9077 2017-06-07 23:31:53 +01:00
Nuno Donato
9fd41416a9 Automatically open new project after creating it in project manager.
Fixes #9075
2017-06-07 22:50:24 +01:00
Juan Linietsky
5bf810b5db -Added proper access to depth texture from shader
-Split Mesh into Mesh (abstrat class) and ArrayMesh, to allow to proper mesh primitives, as well as streamable meshes in the future.
2017-06-07 18:20:04 -03:00
Gilles Roudiere
0e5daa7436 Fix: audio buses buttons hard to see if pressed or not 2017-06-07 19:38:03 +02:00
Andreas Haas
5f5d629c8a Merge pull request #9070 from Noshyaar/pr-help2
Fix Script Editor stealing focus on class search text changed
2017-06-07 18:59:37 +02:00
toger5
50e5c7f980 fixed overlapping of temp. colors (script editor)
+ added a little bit more spacing to the scripts in the script list.
the temp colors now expand to the vseperation, instead of having the same size than the stylebox
2017-06-07 02:41:08 -07:00
toger5
9774c8260f added style for panel class 2017-06-06 21:11:13 -07:00
Poommetee Ketson
6e1bcb2b44 Fix Script Editor stealing focus on class search text changed 2017-06-07 07:46:26 +07:00
Rémi Verschelde
b21e68c8bc Merge pull request #9007 from noshyaar/pr-about
AboutBox: update copyright, add contributors list
2017-06-05 16:49:50 +02:00
Rémi Verschelde
f8d7670e82 Merge pull request #9038 from AlexHolly/rect2-rename-pos
renamed all Rect2.pos to Rect2.position
2017-06-05 15:52:05 +02:00
Rémi Verschelde
d3afecf681 Merge pull request #8974 from Paulb23/script_overview
Added script overview
2017-06-05 15:42:12 +02:00
Rémi Verschelde
f09f1456b3 Merge pull request #9050 from vnen/fix-run-window-size
Update window size property names for editor run
2017-06-05 08:52:58 +02:00
Juan Linietsky
40959acef2 Quick access list to subresources on RMB 2017-06-05 00:12:19 -03:00
Juan Linietsky
01198cb896 Removed stupid right arrow to edit resource. Now simply click it.. 2017-06-04 20:35:45 -03:00
George Marques
18d7ab21df
Update window size property names for editor run 2017-06-04 19:55:24 -03:00
toger5
c33eff4bf9 project manager, fixed siing of sort button 2017-06-04 13:54:19 -07:00
alexholly
a3c90b0293 renamed all Rect2.pos to Rect2.position 2017-06-04 02:09:17 +02:00
Andreas Haas
9bc5348961
InputEvent: Renamed "pos" property to "position"
Make the naming consistent with other classes.
2017-06-03 11:26:39 +02:00
Andreas Haas
d58a58402e Merge pull request #8971 from noshyaar/pr-help
EditorHelp: Help>Class now switch to script editor
2017-06-01 21:04:11 +02:00
Poommetee Ketson
db439308e6 About: add contributors list 2017-06-01 18:15:15 +07:00
Ferenc Arn
6a9c990da7 Add ETC1/ETC2 compression support though etc2comp.
Remove rg-etc1 code. Also updated travis to use ubuntu 14.04.

Fixes #8457.
2017-05-31 18:59:00 -05:00
Juan Linietsky
a134f58fb3 rewritten PBR implementation to make it friendlier with Blender 2017-05-31 20:29:56 -03:00
Poommetee Ketson
ef7d1b1571 EditorHelp: Help>Class now switch to script editor 2017-05-31 23:54:54 +07:00
Juan Linietsky
5567e898d1 Several fixes related to PBR and Environment 2017-05-30 08:56:19 -03:00
Paulb23
a4e222ae71 Added members overview 2017-05-29 12:56:33 +01:00
Juan Linietsky
bb20f230ad -Added .hdr format support
-Added default environment editor setting
-Added environment created by default in new projects
-Removed default light and ambient from spatial editor, to make the editor more PBR compliant
2017-05-28 21:48:05 -03:00
Rémi Verschelde
c814d65fae Merge pull request #8966 from voithos/path2d-bezier-handle-fix
Fix moving path controls in edit mode.
2017-05-28 10:04:56 +02:00
Rémi Verschelde
8125bbba59 Merge pull request #8968 from noshyaar/pr-bug2
CreateDialog: fix activating recent item creates node selected in search result
2017-05-28 09:29:51 +02:00
Poommetee Ketson
db64fcdd5f CreateDialog: fix activating recent item creates node selected in search result 2017-05-28 13:40:08 +07:00
Poommetee Ketson
9fb90d7aea CreateDialog: select root if search exactly match 2017-05-28 12:53:11 +07:00
Zaven Muradyan
f460f82ec1 Fix moving path controls in edit mode.
The previous code would never trigger the subsequent conditionals (for
moving the control points) when in EDIT_MODE because the point
conditionals were nested instead of being a conjunction.
2017-05-27 18:47:45 -07:00
Rémi Verschelde
d8381ef28f Merge pull request #8956 from mcanders/mcanders/ProfilerInputFix
Fix incorrect input event reference in editor_profiler.cpp
2017-05-27 11:36:54 +02:00
Rémi Verschelde
9130f0a89f Merge pull request #8955 from mcanders/mcanders/AnimationEditorInputFix
Fix incorrect input event reference in animation_editor.cpp
2017-05-27 11:35:48 +02:00
Rémi Verschelde
94edf16272 Merge pull request #8929 from nunodonato/themecolors
Added color presets for easy theme switching
2017-05-27 11:25:43 +02:00
Rémi Verschelde
2b25147450 Merge pull request #8928 from nunodonato/helpmenu
Added an help menu
2017-05-27 11:25:09 +02:00
Carter Anderson
49c00bd19b Fix incorrect input event reference in editor_profiler.cpp 2017-05-27 04:17:05 -05:00
Carter Anderson
3b05f2c74f Fix incorrect input event reference in animation_editor.cpp 2017-05-27 04:05:15 -05:00
Juan Linietsky
f89641907f -Added EXR supprot for HDR (no BC6 compression yet though)
-Improvements to texture importer
-Proper detection of S3TC compression modes, and added all modes to Image
-Fixes to non-power of 2 compressed textures, which should all be supported by GLES3
2017-05-26 22:31:32 -03:00
Nuno Donato
fa5aa11898 Added color presets for easy theme switching
Also tweaked the default colors (darker and less satured)
2017-05-26 17:16:15 +01:00
Nuno Donato
7661cb5a62 Added an help menu
Also renamed the "tutorials" button in the script editor to be consistent with the help menu entry.
Fixed #8921
2017-05-26 16:20:33 +01:00
Rémi Verschelde
ef66f8451c Merge pull request #8901 from tagcup/path_editor_plugin
Revive PathEditorPlugin.
2017-05-26 07:58:13 +02:00
Ferenc Arn
42de893f9a Applied clang-format.
Since PathEditorPlugin was commented out, it didn't get clang-format'ed.
2017-05-25 10:12:05 -05:00
Rémi Verschelde
6a332b3575 Merge pull request #8895 from nunodonato/newdefaultcolors
Improved default colors for the new theme
2017-05-25 08:40:11 +02:00
Rémi Verschelde
cda7ced681 Merge pull request #8891 from nunodonato/newmenu
Join text menus on the top-left, move shortcut buttons to new locations (Preliminary work towards achieving the changes discussed in #8865.)
2017-05-25 08:39:19 +02:00
Rémi Verschelde
6d0809b095 Merge pull request #8869 from Hinsbart/errors
Fix errors on engine startup.
2017-05-25 08:37:48 +02:00
Ferenc Arn
fdf301e78b Revive PathEditorPlugin.
Adapted the plugin to recent changes in input classes and pool arrays.
Fixed an out-of-bounds bug in the process.
Doesn't display anything for a single point (existing issue).
2017-05-24 17:09:53 -05:00
Nuno Donato
78781355ac Join text menus on the top-left, move shortcut buttons to new location 2017-05-24 22:08:07 +01:00
Nuno Donato
5c65547804 Improved default colors for the new theme
Colors inspired from solarized themes.
Also moved the theme settings to the Interface category.
2017-05-24 21:41:56 +01:00
George Marques
86ef71fc95
Fix crash when interacting with the 2d editor 2017-05-23 11:03:17 -03:00
Rémi Verschelde
a77e53b0a5 Merge pull request #8872 from volzhs/editor-theme-lineedit
Fix disabled style of LineEdit
2017-05-23 08:42:52 +02:00
volzhs
de9fb136b1 Fix disabled style of LineEdit 2017-05-23 14:36:07 +09:00
Andreas Haas
4d8e45de17
Fix errors on engine startup.
Fixes a bunch of the most spammy console errors introduced by recent refactorings:

- `AudioServerState` does not exist, this was the reference to it in the source. The surrounding code made it clear that `AudioServerLayout` was meant to be used instead.
- `StreamCSVTranslation` same here, it's the only reference. I went with `Translation` here, but I'm not 100% sure on this one.
- Some methods have been moved from `Texture` to `Image`, but the old bindings were still there.
- A few `name == ""` errors related to duplicating nodes.
2017-05-22 20:50:59 +02:00
Rémi Verschelde
ab938a930f Merge pull request #8863 from volzhs/editor-theme-new-node
Show description box on create new node window
2017-05-22 15:17:07 +02:00
Rémi Verschelde
712fcbebfb Merge pull request #8861 from volzhs/editor-theme-filedialog
Show disabled item with proper color on FileDialog of editor theme
2017-05-22 15:16:39 +02:00
volzhs
fab3c4308c Show description box on create new node window 2017-05-22 21:39:10 +09:00
volzhs
ea78bcbe60 Show disabled item with proper color on FileDialog of editor theme
Fix #8635
2017-05-22 20:07:13 +09:00
Zaven Muradyan
9bc044cee6 Fix 2d path editor controls.
Fixes #502. This appears to have been broken due to a merge conflict
after the InputEvents changes.
2017-05-21 14:35:27 -07:00
Juan Linietsky
5b3709d309 Removal of InputEvent as built-in Variant type..
this might cause bugs I haven't found yet..
2017-05-20 17:05:38 -03:00
Rémi Verschelde
c19902f753 Merge pull request #8838 from zlsa/master
Export nested nodes in TileSet scenes; resolves #8819.
2017-05-20 09:50:33 +02:00
Rémi Verschelde
231511b2a6 Merge pull request #8631 from volzhs/editor-theme-custom
New customizable editor theme
2017-05-20 07:16:11 +02:00
Jon Ross
c97c733779 Fix #8819. Adds _import_node() that, when used in conjunction with _import_scene, recurses through the scene tree and exports all available nodes. 2017-05-19 14:49:37 -07:00
Rémi Verschelde
0aede444ef Merge pull request #8789 from Hinsbart/editor_shortcuts
Editor: Make "open 2d/3d/script editor" shortcuts configurable.
2017-05-18 18:59:22 +02:00
Andreas Haas
3be8a94868
Editor: Make "open 2d/3d/script editor" shortcuts configurable.
Also adds shortcuts for opening the AssetLib and for switching to the next/prev editor.
2017-05-18 18:36:16 +02:00
Rémi Verschelde
1877a31a86 Merge pull request #6941 from voithos/bezier-handle-deletion-shortcut
Add the ability to delete bezier path handles.
2017-05-18 14:02:30 +02:00
Rémi Verschelde
871b6b5517 Merge pull request #8716 from Hinsbart/import-plugins
Bring back EditorImportPlugin
2017-05-18 13:08:07 +02:00
Rémi Verschelde
787dad5ac4 Adapt tutorials (Godot Docs) icon to new design 2017-05-17 21:22:01 +02:00
Rémi Verschelde
519df0d34d Use new Godot icon consistently everywhere 2017-05-17 19:53:59 +02:00
Rémi Verschelde
c3baf5eb3c Fix two typos from previous commit
Also cleanup comments on variant types.
2017-05-17 18:45:56 +02:00
Juan Linietsky
98a3296702 Removal of Image from Variant, converted to a Resource. 2017-05-17 07:37:45 -03:00
Rémi Verschelde
76289b5d5a Merge pull request #8761 from noshyaar/pr2
AssetInstaller: fix toggling dir bug, scan after install
2017-05-15 08:01:32 +02:00
Rémi Verschelde
2065d30414 Merge pull request #8717 from damianday/master
Fix natural sorting order in EditorFileDialog, FileDialog and EditorFileSystemDirectory
2017-05-15 07:54:02 +02:00
Poommetee Ketson
3ee1952e39 AssetInstaller: fix toggling dir bug, scan after install 2017-05-14 20:23:28 +07:00
Rémi Verschelde
e883cdafa6 Merge pull request #8719 from Hinsbart/settings_case
Project Settings: Use capitalized properties.
2017-05-12 18:23:45 +02:00
Rémi Verschelde
14989caf14 Merge pull request #8702 from josempans/bug_fixing
Fix click area for bool parameter
2017-05-12 18:19:43 +02:00
Rémi Verschelde
5e318493d1 Merge pull request #8699 from Faless/ipv6_disabled
Fix Editor/Debugger connection problems.
2017-05-12 18:19:24 +02:00
Damian Day
f2564ca97f Fix natural sorting order in EditorFileDialog, FileDialog and EditorFileSystemDirectory
Make EditorFileDialog, FileDialog and EditorFileSystemDirectory alphanumerical sorting more natural

Added a new method 'naturalnocasecmp_to' and comparator 'NaturalNoCaseComparator' to String.

Fixes #8712.
2017-05-12 13:02:25 +01:00
Andreas Haas
c04604461d
Bring back EditorImportPlugin
This adds a new implementation of the EditorImportPlugin class, allowing to leverage the new importing system via tool scripts.
Will be especially useful when used together with GDNative, to support formats like fbx :)
2017-05-12 12:46:25 +02:00
Andreas Haas
162068640b Project Settings: Use capitalized properties.
There's been some inconsistency between the ProjectSettings and EditorSettings:
One would use "snake_case_properties", the other "Capitalized Properties".

This fixes that by also using capitalized properties for the project settings.
(It's actually the default, so the line setting it to false was just removed..)


Was there a strong reason for using snake_case here in the first place?
2017-05-11 22:54:54 +02:00
Jose M Pan
02f02972e8 Fix click area for bool parameter
This fixes the issue #8551: VisualScript: can't change bool parameter in
function call
2017-05-09 14:35:48 -03:00
Fabio Alessandrelli
3b123367a1 Display remote_host/port in network->debug settings 2017-05-09 15:05:47 +02:00
Fabio Alessandrelli
98eb58a93c Allow selecting editor debug host and port.
Possibly fixes various editor<->debugger connection related problems.
2017-05-09 15:05:45 +02:00
volzhs
bb81293047 New customizable editor theme 2017-05-09 17:46:54 +09:00
Marc Gilleron
aaf9cacf5f Improved freelook
- Fix movement input affecting all viewports even when clicking outside
- Freelook up movement is now relative
- Prevent tool shortcut conflict when moving
- De-hardcode tool shortcuts (select, move, rotate, scale, wireframe)
- Movement speed depends on zoom distance (like panning)
- Mouse wheel controls speed (Blender-style) due to above point
- Added zoom distance indicator, hides after short delay
2017-05-08 02:57:20 +02:00
Rémi Verschelde
66725d9b21 Merge pull request #8660 from Hinsbart/warp
Spatial Editor: Mouse warping for orbit & freelook modes.
2017-05-07 15:06:35 +02:00
Rémi Verschelde
642a760952 Merge pull request #8639 from n-pigeon/new_script_dialog
Reworked look and feel of Add Script Dialog also some bug fixes
2017-05-07 15:06:07 +02:00
toger5
304a1f5b5a Implemented scrolling factor for smooth trackpad scrolling
Working platforms platform: OSX, Windows.
Support for almost all ui elements, including project list.
2017-05-07 14:23:56 +02:00
Rémi Verschelde
c8aea60324 Improve documentation of thirdparty code snippets 2017-05-07 11:42:37 +02:00
Przemysław Gołąb (n-pigeon)
2dc4b035a8 Reworked look and feel of Add Script Dialog.
Untangled a lot of Controls logic code and placed it in one place.
Which squashed few bugs and made code easier to maintain.
2017-05-06 15:52:39 +02:00
Andreas Haas
7839a89027
Spatial Editor: Mouse warping for orbit & freelook modes. 2017-05-06 14:46:42 +02:00
Will Nations
adafaf15aa Fixing previous merger's "not" vs. "!" mistake in C++ (#8664)
Also fix typo on the main editor confirmation prompt
2017-05-06 10:31:36 +02:00
Rémi Verschelde
63d02067de Merge pull request #8616 from Zylann/fps_look
Added 3D freelook navigation mode
2017-05-05 22:51:25 +02:00
Rémi Verschelde
0ba0eb2ff9 Merge pull request #8613 from magyar123/pr-debugger-display-objects
Make script debugger display all kinds of objects
2017-05-05 22:48:42 +02:00
Rémi Verschelde
9437d610e1 Merge pull request #8556 from ippan/obj_import
support obj with negative indices
2017-05-05 22:45:36 +02:00
Rémi Verschelde
1f9266cbff Merge pull request #8532 from RameshRavone/patch-4
Separate distraction mode for scene & script editor
2017-05-05 22:40:57 +02:00
J08nY
243f059200 Fix template loading 2017-05-05 22:39:04 +02:00
Marc Gilleron
442006b4bf Added 3D freelook navigation mode
- Triggered by holding RMB
- Can look around in FPS style
- Can move with WASD
- Movement speed accelerates over time
- Can multiply speed with a modifier key to go faster or slower
- Configurable in editor settings and shortcuts
2017-05-04 01:38:12 +02:00
volzhs
17e8e343fb Revert "Add new editor and default theme (WIP)"
This reverts commit f045efe007.
2017-05-03 06:19:15 +09:00
PanPan
3cdfac7ed2 support obj with negative indices 2017-05-02 19:43:01 +08:00
Rémi Verschelde
5a6ccce97d Merge pull request #8612 from magyar123/pr-show-dict-contents
Make property editor display dictionaries (read only)
2017-05-02 11:33:05 +02:00
Rémi Verschelde
acaa01dfa7 Merge pull request #8610 from akien-mga/project-file-extension
Rename project file to "project.godot"
2017-05-02 11:32:48 +02:00
Rémi Verschelde
8e64b27585 Merge pull request #8592 from hikari-no-yume/scene_import_rigidonly_flag_master
Scene importer: add -rigidonly flag for empties [master]
2017-05-02 11:32:25 +02:00
Rémi Verschelde
a37364620f Merge pull request #8569 from volzhs/editor-theme-1
Fix to use editor theme instead of handling each UI
2017-05-02 11:28:52 +02:00
Rémi Verschelde
6b769ac625 Merge pull request #8559 from Paulb23/script_recent_files
Added recent scripts to script editor
2017-05-02 11:27:57 +02:00
Rémi Verschelde
82fa41bce3 Merge pull request #8541 from RandomShaper/opt-out-capitalization
Add setting to opt-out of capitalization in property inspectors
2017-05-02 11:25:27 +02:00
mbalint12
be5e02708d Make script debugger display all kinds of objects 2017-05-01 19:47:06 +02:00
Rémi Verschelde
7ce8342ac5 Rename project file to "project.godot"
Slimmed down variant from the reverted #8375.
The rationale behind the name change is to give Godot's project file a unique
extension (".godot") that can be registered on the OS to be associated with
the Godot binary (OS registration not implemented here).

This PR also adds the possibility to start the game or editor if launched
with the project.godot passed as argument, which paves the way for allowing
a similar behaviour on a double-click in the OS file manager (code originally
by @Hinsbart).

Closes #6915.
2017-05-01 17:50:19 +02:00
mbalint12
a542372642 Make property editor display dictionaries (read only) 2017-05-01 14:25:47 +02:00
Andrea Faulds
dd100374c1 Scene importer: add -rigidonly flag for empties (fixes #8430) 2017-04-30 16:26:23 +01:00
Rémi Verschelde
de7eba887e Merge pull request #8572 from akien-mga/thirdparty
Moving more thirdparty stuff (minizip, some single-file external libs) to the thirdparty directory
2017-04-29 22:57:49 +02:00
Juan Linietsky
6d2f985db4 Revert "Use .godot as file extension for project files." 2017-04-29 17:56:51 +02:00
Rémi Verschelde
2398eb6ed4 Move core thirdparty files to thirdparty/{minizip,misc} 2017-04-28 21:19:23 +02:00
Rémi Verschelde
0a613ff970 Add a few missing copyright headers 2017-04-28 20:16:30 +02:00
volzhs
3223305e5a Fix to use editor theme instead of handling each UI 2017-04-28 22:42:52 +09:00
volzhs
be454ba2d6 Update editor theme 2017-04-28 11:01:17 +09:00
Paulb23
e37928bb50 Added recent scripts to script editor 2017-04-27 16:07:39 +01:00
Pedro J. Estébanez
7b315dc666 Add setting to opt-out of capitalization in the property inspector 2017-04-27 08:46:16 +02:00
Rémi Verschelde
d730ee66a4 Merge pull request #8515 from attilix/folder-file-manager
Right-clicking a folder now gives the option Show in file manager
2017-04-27 08:11:05 +02:00
Rémi Verschelde
2feb24953c Merge pull request #8520 from Hinsbart/tree_tooltips
Tree: Ability to add tooltips to TreeItem buttons.
2017-04-27 08:10:11 +02:00
Rémi Verschelde
ed583ffa30 Merge pull request #8553 from Hinsbart/vs_fix
Fix recognition of resource extensions.
2017-04-27 08:09:01 +02:00
Daniel J. Ramirez
f045efe007 Add new editor and default theme (WIP) 2017-04-27 08:04:57 +02:00
Andreas Haas
c530d8f43c
Fix recognition of resource extensions.
Also removes a related debug print.
2017-04-26 23:07:23 +02:00
Andreas Haas
29999942a2
Tree: Ability to add tooltips to TreeItem buttons.
Adds a tooltip parameter to `TreeItem::add_button()` and set a few tooltips in the Project settings and SceneTree dock.
2017-04-26 19:14:35 +02:00
Ramesh Ravone
204d3ccf5f
Separate fullscreen state for scene & script editor 2017-04-26 17:43:35 +05:30
Paulb23
c4ffe89204 Changed indent type settings 2017-04-26 12:14:03 +01:00
Rémi Verschelde
88d362b232 Merge pull request #8531 from RameshRavone/patch-5
Settings: Moving Poly Editor into Editors category
2017-04-26 08:14:04 +02:00
Ramesh Ravone
ff282571c6
Settings: Moving Poly Editor into Editors category 2017-04-25 17:48:08 +05:30
Paulb23
4b8152d599 Ability to Convert Case, issue 8079 2017-04-25 10:18:57 +01:00
Attilio Oliva
0af6c39f36 Right-clicking a folder in the FileSystem panel now gives the option Show in file manager 2017-04-24 22:18:24 +02:00
Rémi Verschelde
8c4b7fcbb6 Merge pull request #8500 from Paulb23/space_indent_fixes
Space indent fixes
2017-04-24 12:01:29 +02:00
Rémi Verschelde
16f532a202 Merge pull request #8499 from Melix19/patch-3
Fix "Save/Delete Layout" text field goes outside of the popup
2017-04-24 12:01:00 +02:00
Rémi Verschelde
9acfb0782c Merge pull request #8444 from magyar123/pr-complete-paths
Script editor now automatically completes file paths in GDScript
2017-04-24 11:37:57 +02:00
Rémi Verschelde
68870af214 Merge pull request #8420 from magyar123/pr-script-files-as-base
Added the ability to select files as base when creating scripts
2017-04-24 11:28:36 +02:00
Marco Melorio
d4082a8d92 Added a container to EditorNameDialog 2017-04-23 23:36:59 +02:00
Paulb23
165b7bab63 Fixed convert indent and trim whitespace on save 2017-04-23 19:19:30 +01:00
Paulb23
e7e1d65eb0 Fix cursor position on indent convert 2017-04-23 19:05:51 +01:00
Rémi Verschelde
515f92d03b Fix property warnings and hide some debug prints
"ALL IS GOOD" was a lie.

In particular, removes verbose "path not recognized" false positive.

The actual logic is to (somewhat naively) check all ResourceFormatLoaders
and to pick the first good match, so no need to warn about the formats
that do not match the type hint.
2017-04-23 11:17:32 +02:00
Rémi Verschelde
b474646de0 i18n: Add more assetlib strings to translate
Fixes #8463.
2017-04-20 14:52:46 +02:00
Rémi Verschelde
cd69343ff1 i18n: Sync translation templates with current source 2017-04-20 14:52:46 +02:00
Rémi Verschelde
22b9c0207b Merge pull request #8417 from neikeq/hello-there
External editor improvements and fixes
2017-04-20 02:20:04 +02:00
Rémi Verschelde
367f21e123 Merge pull request #8359 from volzhs/script-filename-master
Show script filename instead of thumbnail
2017-04-20 02:09:21 +02:00
mbalint12
71978685f9 Added autocomplete for file paths in the script editor 2017-04-18 17:22:01 +02:00
Rémi Verschelde
5237bc952d Merge pull request #8424 from Paulb23/convert_indent
Support for space indentation
2017-04-18 14:16:58 +02:00
Paulb23
c59bd79e02 Convert indent on save 2017-04-18 12:30:52 +01:00
Paulb23
84bca4e72f Added support for space indentation 2017-04-18 12:30:46 +01:00
Rémi Verschelde
474f18512a Merge pull request #8375 from Hinsbart/project_extension
Use .godot as file extension for project files.
2017-04-17 23:28:15 +02:00
Andreas Haas
95fe6b5d8c Merge pull request #8433 from neikeq/pr-fix-smth
ScriptEditor: Fixes bug where menu option would be handled twice
2017-04-17 11:55:42 +02:00
Ignacio Etcheverry
97c385dbb8 ScriptEditor: Fixes bug where menu option would be handled twice 2017-04-17 02:45:56 +02:00
Ignacio Etcheverry
4b8568006d External editor improvements and fixes
Notable changes:

- Now ScriptLanguages have the option to override the global external editor setting.
If `ScriptLanguage::open_in_external_editor()` returns `ERR_UNAVAILABLE` (which it does by default), then the global external editor option will be used.
- Added formatting to the external editor execution arguments. Now it's possible to write something like this: `{project} -g {file}:{line}:{col}`.
- `VisualScript::get_member_line()` now can return the line of functions (well, it returns the id of the _Function_ node of the function). I guess there is nothing else we can get a "line" from.

Fixes:

- Fixes a bug where `ScriptEditor::script_goto_method()` would not work if the script is not already open in the built-in editor.
- Fixes wrong DEFVAL for `cursor_set_column` and `cursor_set_line` in TextEdit.
- `Script::get_member_line()` now returns -1 ("found nothing") by default.
2017-04-17 01:51:30 +02:00
Paulb23
95a2a7e525 Added ability to convert indent type 2017-04-16 17:21:45 +01:00
Andreas Haas
c06a2db63a
Use .godot as file extension for project files.
Now project files don't have to be named "godot.cfg" anymore, they can have any name so as long as it ends with *.godot.
Also godot will automatically start the editor now if launched with a project file as an argument.
This allows for double-clicking of projects to open them :)

Code-wise this should be complete, but there's still work to do:

- Make a nice icon for godot projects.
- Work on installers/packaging -> register the extension and icon with godot.
- Update the 2.1 to 3.0 exporter.

Tested on linux and windows so far.
2017-04-16 10:19:07 +02:00
Zaven Muradyan
5b3c0a502c Add the ability to delete bezier path handles. 2017-04-16 01:02:58 -07:00
Andreas Haas
25f843f80e
Editor: decrease blending time for dialog dimming a little.
Feels snappier now.
2017-04-16 09:33:26 +02:00
mbalint12
a3afec588c Added the ability to select files as base when creating scripts 2017-04-15 23:29:09 +02:00
Andreas Haas
065261cceb Merge pull request #8389 from volzhs/inspector-button-margin-master
Make buttons closer in Inspector panel
2017-04-14 17:52:18 +02:00
Andreas Haas
4e7c5eb498 Merge pull request #8356 from volzhs/texture-view-master
Prevent to take too much space for long vertical texture
2017-04-14 17:50:29 +02:00
Andreas Haas
58edf26500 Merge pull request #8374 from nunodonato/killimport
Removed the deprecated Import menu from the main editor.
2017-04-14 17:50:16 +02:00
Jylhis
aa63fd1551 Fix #7262
Disable PopupMenu hiding in snap settings of the TextureRegion editor
and Edit menu of the scene
2017-04-14 15:01:56 +03:00
volzhs
79182ced83 Make buttons closer in Inspector panel 2017-04-14 00:03:54 +09:00
Karroffel
3bc09da0b1 re-enabled obj import 2017-04-12 22:22:13 +02:00
Nuno Donato
2025672e7b Removed the deprecated Import menu from the main editor. 2017-04-12 13:32:22 +01:00
volzhs
10608c0993 Show script filename instead of thumbnail 2017-04-12 00:07:35 +09:00
volzhs
c3e6759ca1 Prevent to take too much space for long vertical texture 2017-04-11 20:37:22 +09:00
Rémi Verschelde
8764659234 Merge pull request #8342 from volzhs/error-signal-dnd
Fix signal error when starting editor
2017-04-10 08:29:41 +02:00
Sergey Pusnei
8589ca3903 Rename [gs]et_pos to [gs]et_position for Controls
Control set_pos -> set_position
Control set_global_pos -> set_global_position
[gs]et_mouse_pos -> [gs]et_mouse_position
[gs]et_global_mouse_pos -> [gs]et_global_mouse_position
fixes #8005
2017-04-10 08:27:34 +02:00
volzhs
519c03e932 Fix signal error when starting editor
need to merge #8198 to work properly
2017-04-10 13:00:08 +09:00
Juan Linietsky
fccf2816d4 -Fix eternal black screen on Windows
-Disabled warnings on windows, need to properly set up warnings
2017-04-09 17:59:17 -03:00
Andreas Haas
0029440955
Fix warning message when EditorPlugin script is not in tool mode. 2017-04-09 10:33:03 +02:00
Juan Linietsky
4286aef693 Particle system is complete. Rejoice! 2017-04-08 22:40:06 -03:00
Rémi Verschelde
df61dc4b2b Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
Rémi Verschelde
fc45c1e6eb i18n: Sync translations from Weblate 2017-04-07 20:33:31 +02:00
Rémi Verschelde
0a5c1eeb48 i18n: Add new translations for Greek, Dutch and Thai 2017-04-07 20:33:05 +02:00
Rémi Verschelde
486952857f i18n: Update translation template 2017-04-07 20:31:00 +02:00
Juan Linietsky
74808ac4d9 New particle system, mostly working, some small features missing. 2017-04-06 23:49:27 -03:00
supaiku
d51fe99a8b Fix highlight typo 2017-04-06 17:35:08 +02:00
Andreas Haas
df7ca7864b
Editor: Use GDScript as the default language in ScriptCreateDialog. 2017-04-06 14:26:36 +02:00
Martin Novak
9aa60ff15f Fix typo which caused popup to display on incorrect coordinates. 2017-04-05 00:31:17 +02:00
Andreas Haas
e19ccbdc32
Editor: Swap Scene and Import tabs in dock.
Swaps the ordering of those tabs. Now the editor defaults to displaying the scene tab instead of import, which I found a bit confusing.
2017-04-03 17:29:29 +02:00
volzhs
6ac4969cdd Fix crash when change project settings 2017-04-03 17:57:50 +09:00
volzhs
a911b1f126 Make buttons closer in Scene tree 2017-04-03 15:50:16 +09:00
Rémi Verschelde
84bd039851 Merge pull request #8173 from RandomShaper/improve-tile-palette
Several enhancements for the tile map editor
2017-03-30 10:29:46 +02:00
Juan Linietsky
000e873008 Merge pull request #8191 from eska014/webgl2-export
WebGL 2 export per WebAssembly or asm.js
2017-03-29 15:21:52 +02:00
eska
7df7e9cc8b WebGL 2 export per WebAssembly or asm.js 2017-03-29 13:27:43 +02:00
Pedro J. Estébanez
54abbc532f Several enhancements for the tile map editor
Allow sorting tile palette by name
Allow hiding tile ids in tile palette
2017-03-27 10:45:02 +02:00
Rémi Verschelde
d4740a9853 Merge pull request #8169 from RandomShaper/fix-uniform-move
Include uniform (Shift down) mode in only-one-Node2D dragging
2017-03-27 08:56:54 +02:00
Pedro J. Estébanez
e7fba3d273 Include uniform (Shift down) mode
in only-one-Node2D dragging
2017-03-27 01:32:24 +02:00
Rémi Verschelde
af282b56fe Fix bogus s/_md/D_METHOD/ affecting md5 stuff 2017-03-24 22:58:50 +01:00
Rémi Verschelde
fb46323022 Merge pull request #8115 from RandomShaper/improve-snapping
Improved 2D snapping behavior
2017-03-24 22:51:12 +01:00
Rémi Verschelde
98baec6880 Merge pull request #8109 from RandomShaper/warped-panning
Implement warped mouse panning for 2D & 3D editors
2017-03-24 22:50:39 +01:00
Rémi Verschelde
1ed8caa1bb i-patch for Pirate language
Credits to jo_ for the joke and hcorion for finding the typo:

<hcorion> Hi all, I was busy translating godot to Pirate, and I noticed a
  spelling error, on line 1035 in platform/uwp/export/export.cpp it mis-spells
  certificate as certficate missing the extra i
<jo_> hcorion: Nice catch.
<jo_> If you make a PR, please call it 'i-patch for Pirate."
2017-03-24 21:59:32 +01:00
Rémi Verschelde
73eaf81c16 i18n: Sync templates and translations with current code
Massive diff due to the tools/editor -> editor move.
The real changes are the difference between those two:
2017-03-24 21:54:00 +01:00
Rémi Verschelde
debeee56f7 Fix typos in source code using codespell
From https://github.com/lucasdemarchi/codespell
2017-03-24 21:45:31 +01:00
Pedro J. Estébanez
61d7ae3466 Improved 2D snapping behavior
Make snapping affect nodes created by drag & drop
Make snapping for a single Node2D refer to its pivot
Refactor duplicate drag setup code
Replace one occurrence of the old set_pos by set_position
2017-03-24 21:29:46 +01:00
Rémi Verschelde
c103f32ea3 Only assume HiDPI mode if DPI >= 192 and width > 2000
Also fix detection of single-column dock if width < 1200,
it only worked with hidpi_mode=auto.
2017-03-24 18:04:57 +01:00
Juan Linietsky
efaeebab4d Several fixes to Android exporter and port.
Android seems to be working again!
2017-03-23 20:14:12 -03:00
Pedro J. Estébanez
f5004b78d0 Implement warped mouse panning for 2D & 3D editors
Enabled by default as in Blender, but can be disabled separately for 2D & 3D;
the core functionality is in Input so this could be reused or even exposed to scripts in the future
2017-03-22 21:36:52 +01:00
Juan Linietsky
c37fad650f Export working (for linux at least) 2017-03-21 19:34:26 -03:00
Juan Linietsky
b5a06cecff Export template management dialog.
Missing download (need to discuss this!)
2017-03-21 08:42:06 -03:00
Rémi Verschelde
7eb8a67025 Merge pull request #8067 from Hinsbart/fix_ps_cross
InputMap: Rename joypad button "PS X" to "PS Cross".
2017-03-18 14:52:55 +01:00
Rémi Verschelde
00c4782910 Merge pull request #8051 from RayKoopa/resizable_new_node_dialog
Make Create New Node dialog resizable and burninate old dialog
2017-03-18 14:52:34 +01:00
Andreas Haas
f6a504fad4
InputMap: Rename joypad button "PS X" to "PS Cross". 2017-03-18 12:31:37 +01:00
Ray Koopa
c0c4ba4e94 Make Create New Node dialog resizable and burninate old dialog 2017-03-18 11:21:50 +01:00
Andreas Haas
7ec697695f
Editor: Fix "About" dialog
Use a HBoxContainer instead of hardcoded positions.
2017-03-18 01:53:45 +01:00
Rémi Verschelde
52ddd9ac9c Merge pull request #8017 from volzhs/fix-dnd-2d-viewport
Fix drag and drop on 2d viewport
2017-03-13 16:25:07 +01:00
volzhs
4d0a75750f Fix drag and drop on 2d viewport 2017-03-13 19:35:27 +09:00
Rémi Verschelde
0f429f8f9e Merge pull request #7979 from RandomShaper/fix-sub-inheritance
Fix node duplication in scene sub-inheritance
2017-03-13 11:00:58 +01:00
Pedro J. Estébanez
383dea5796 Fix node duplication in scene sub-inheritance 2017-03-09 01:19:40 +01:00
Andreas Haas
9080232f17
Editor: Dim UI when a WindowDialog is shown.
Darkens the editor on WindowDialog popup.

This adds the following new Editor settings:

- interface/dim_editor_on_dialog_popup (true) # Enable/Disable editor dimming
- interface/dim_amount (0.6) # Percentage of how much the editor will be darkened (0-1)
- interface/dim_transition_time # The duration (in seconds) of the color blending effect (0-1), 0 is instant.

Please test this thoroughly, I haven't yet seen a case where it fails to work properly but I'm sure I didn't test all
windows of the editor :P
2017-03-06 20:14:41 +01:00
Rémi Verschelde
5dbf1809c6 A Whole New World (clang-format edition)
I can show you the code
Pretty, with proper whitespace
Tell me, coder, now when did
You last write readable code?

I can open your eyes
Make you see your bad indent
Force you to respect the style
The core devs agreed upon

A whole new world
A new fantastic code format
A de facto standard
With some sugar
Enforced with clang-format

A whole new world
A dazzling style we all dreamed of
And when we read it through
It's crystal clear
That now we're in a whole new world of code
2017-03-05 16:44:50 +01:00
Rémi Verschelde
e1c1d7d1d7 Add a bunch of missing Godot headers in own files 2017-03-05 15:47:28 +01:00
Rémi Verschelde
49c065d29c Refactoring: rename tools/editor/ to editor/
The other subfolders of tools/ had already been moved to either
editor/, misc/ or thirdparty/, so the hiding the editor code that
deep was no longer meaningful.
2017-03-05 14:21:25 +01:00