Commit graph

246 commits

Author SHA1 Message Date
Rémi Verschelde c74bab66aa Merge pull request #11274 from Rubonnek/keep-argument-names-consistent
Renamed function arguments to keep them consistent between declaration and implementation
2017-09-17 12:53:48 +02:00
Rémi Verschelde 2d4f6ef0bf Apply clang-format again to recent changes
Also add missing copyright headers.

[ci skip]
2017-09-16 19:48:45 +02:00
Wilson E. Alvarez 072e379ffe Renamed function arguments to keep them consistent between declaration and implementation 2017-09-14 13:49:15 -04:00
Juan Linietsky 7e3c5043c1 Warn the user that changes to resources will be lost when editing imported or instanced resources from scenes. 2017-09-14 10:39:47 -03:00
toger5 45d57ccf28 fixed hover line for menu button 2017-09-04 18:06:13 +02:00
Juan Linietsky d39e79e7ec Fix issues regarding reload of resources in imported scenes. Closes #10017 2017-08-31 18:57:44 -03:00
Juan Linietsky 6d41ceea99 Merge pull request #10771 from neikeq/pr-improve-build-callbacks
Improve build callbacks
2017-08-29 20:12:04 -03:00
Ignacio Etcheverry c18b7046c6 Improve build callbacks
- Build callbacks now return bool to determine if the build was successful. If the build fails, the editor won't run the game.
- Makes sure build callbacks are called after saving the scene ("Save Before Running" option).
2017-08-29 23:59:26 +02:00
Poommetee Ketson 6bb290f6a7 EditorNode: enhance open scene error dialog 2017-08-29 07:09:47 +07: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
Rémi Verschelde 7ad14e7a3e Dead code tells no tales 2017-08-27 22:13:45 +02:00
Rémi Verschelde bd282ff43f Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
Rémi Verschelde 565600e844 Cleanup tons of obsolete commented out code
Mostly in EditorNode, dropping some obsolete editor plugins and also a
cleanup of ProjectSettings/EditorSettings.
2017-08-26 17:47:57 +02:00
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 13f879587d Merge pull request #10254 from marcelofg55/master
Added notification const NOTIFICATION_WM_ABOUT
2017-08-22 00:56:31 +02:00
Marcelo Fernandez aae29c7a0e Added notification const NOTIFICATION_WM_ABOUT 2017-08-17 11:28:45 -03: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
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
Wilson E. Alvarez 428f03cf06 Updated function argument names 2017-08-12 15:12:49 -04: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
Poommetee Ketson 20d36bf226 Move About dialog to editor_about.cpp 2017-07-23 00:14:44 +07: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
Poommetee Ketson 4c4969f639 EditorNode: remove obsolete comments in constructor 2017-07-18 20:04:20 +07:00
Jakub Grzesik 29c2aabdaf ability to reposition scene tabs with drag & drop 2017-07-10 10:31:15 +02:00
Poommetee Ketson da2de8932c About: add thirdparty license info 2017-07-06 14:42:47 +07:00
Poommetee Ketson a7ff7af8ae EditorNode: mark opened deleted scenes as unsaved 2017-06-30 00:55:29 +07:00
Poommetee Ketson a9367ce6bc EditorNode: enhance save/quit dialog 2017-06-27 03:04:47 +07: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
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
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
Unknown d8b65b1657 EditorPlugin can request user inputs from editor 3d view 2017-06-12 17:55:15 +02: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
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
Nuno Donato 78781355ac Join text menus on the top-left, move shortcut buttons to new location 2017-05-24 22:08:07 +01: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 231511b2a6 Merge pull request #8631 from volzhs/editor-theme-custom
New customizable editor theme
2017-05-20 07:16:11 +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
volzhs bb81293047 New customizable editor theme 2017-05-09 17:46:54 +09:00
Ramesh Ravone 204d3ccf5f
Separate fullscreen state for scene & script editor 2017-04-26 17:43:35 +05:30
Nuno Donato 2025672e7b Removed the deprecated Import menu from the main editor. 2017-04-12 13:32:22 +01:00
Rémi Verschelde df61dc4b2b Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
Juan Linietsky b5a06cecff Export template management dialog.
Missing download (need to discuss this!)
2017-03-21 08:42:06 -03: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 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
Renamed from tools/editor/editor_node.h (Browse further)