Commit Graph

201 Commits

Author SHA1 Message Date
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
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