Commit Graph

287 Commits

Author SHA1 Message Date
Juan Linietsky d3495b128a -Improve resource previews
-Also fixed draw_texture_rect() tile parameter
2016-05-23 17:11:49 -03:00
volzhs 9e1ee568a6 use node name as filename when save scene
fix #4723
2016-05-23 22:27:58 +09:00
Juan Linietsky eacb8f04c4 Merge remote-tracking branch 'origin/master' 2016-05-21 22:34:55 -03:00
Juan Linietsky a75f896338 First version of Profiler
It is now possible to profile GDScript as well as some parts of Godot
internals.
2016-05-21 21:18:16 -03:00
Rémi Verschelde be053e6286 i18n: Use %d instead of %i in vformat
Fixes #4742.
2016-05-21 16:34:56 +02:00
Hubert Jarosz 33403d91f7
remove trailing whitespace 2016-05-21 15:29:25 +02:00
Rémi Verschelde 00d8f86044 i18n: Second pass at proofreading
Mostly removing commented out strings, plus a few critical ones
that should not be translated.
2016-05-21 01:27:27 +02:00
Rémi Verschelde 94c34ff890 i18n: Proofreading of all strings
Done to ensure that no important identifiers are translatable,
to fix compound strings using the new vformat() function, and
some general English proofreading here and there.
2016-05-21 00:21:57 +02:00
Juan Linietsky f9d615ee87 Contextualized Scene Tree menu
-Added context menu to Scene Tree Dock
-Removed Buttons
-Added a filter to search for nods more easily in the dock
2016-05-16 12:23:58 -03:00
Juan Linietsky 8b47e26f59 Changes to FileSystem Dock
-Replaced buttons for file actions fo RMB menu
-Added a split mode, if the dock is not sharing vertical space with
anything else
-imroved drag and drop support
2016-05-15 20:25:51 -03:00
Juan Linietsky 0c57a58056 ability to drag scenes from filesystem to tree for instancing 2016-05-11 20:57:52 -03:00
Juan Linietsky d7318f6965 -begun implementing drag & drop editor wide
-filesystem dock dnd support
-property list dnd support
-scene tree dnd support
2016-05-11 11:59:03 -03:00
Rémi Verschelde fb277dbde6 i18n: Don't make print_line calls translatable 2016-05-04 15:28:37 +02:00
Juan Linietsky dd69aeceac Merge remote-tracking branch 'origin/master' 2016-05-03 22:32:38 -03:00
Juan Linietsky 567cb691ec Modified editor strings to be translatable in the future 2016-05-03 22:25:37 -03:00
Ignacio Etcheverry 107e62be70 Fix checking unsaved changes only in current scene 2016-05-02 14:46:49 +02:00
Juan Linietsky 5bb7cef836 Support for dynamic fonts (TTF)
Added support for DynamicFont, which can load a TTF of any size to use
as a font. No import required.
2016-05-01 23:13:06 -03:00
eska ab4caa7953 Move export GUI debug toggle to export settings window 2016-04-28 16:13:26 +02:00
Ignacio Etcheverry e48c07750f Fix 'Quit to Project Manager' not stopping the running application 2016-04-17 23:13:45 +02:00
Rémi Verschelde aad31ee986 Merge pull request #4174 from Hodes/master
Multiple editor plugins for same obj type
2016-04-06 18:41:51 +02:00
hodes 7a1d7af332 Enables the possibility of editing on multiple plugins at same time on same object type. 2016-04-02 20:39:35 -03:00
Paulb23 9d74b76a69 Stopped save scene flicker, issue 4118 2016-03-26 20:32:36 +00:00
Juan Linietsky 8b1dcbfe4d -Made editor support SSL certs by default (embedded them)
-Made asset sharing support https
-Many fixes to HTTPRequest
-Added an asset installer dialog
-Visual cleanups to asset sharing tab
-Fixed some issues in ScrollContainer, hope it does not break things
-Asset sharing tab is not visible (hidden on purpose) for now.
2016-03-12 10:46:38 -03:00
Rémi Verschelde ebc581becf Merge pull request #4011 from neikeq/fix_regr_3280
TileSet Export: Avoid invalid error when merge is enabled but file doesn't exist
2016-03-11 07:10:48 +01:00
Ignacio Etcheverry 897b33ce77 TileSet Export: Avoid invalid error when merge is enabled but file does not exist 2016-03-11 01:20:01 +01:00
Hubert Jarosz 4a4f247914
remove trailing whitespace 2016-03-09 00:00:52 +01:00
Franklin Sobrinho b79e83ad6f Removed "__editor_plugin_screen__" metadata creation 2016-03-05 12:29:16 -03:00
Juan Linietsky 210d332def -wip on addon editor
-fixes instantiable subclasses not working, as reported in #3871
2016-02-29 09:57:38 -03:00
Zher Huei Lee d8ac5cff57 Adds EditorPlugin::remove_control_from_bottom_panel()
Also renames `add_control_to_bottom_dock` to
`add_control_to_bottom_panel` so that it would be clear that the
removal functions are different too.
2016-02-28 19:58:17 +00:00
Juan Linietsky 6fc1c3a4d1 Completed the support for plugins! It is not possible to add plugins.
Not all APIs are provided yet, please request whathever you are missing.
Some example plugins are provided in demos/plugins. Just copy them to a folder in your project named addons/ and then enable them from the project settings.
Have fun!
2016-02-27 23:12:27 -03:00
Juan Linietsky 2a7fdb23b3 First attempt at making a more useful EditorPlugin API. Still undocumented, but feedback welcome! 2016-02-27 00:32:51 -03:00
Ariel Manzur ea751724a2 adds -pm and -project_manager command line options to start project manager
fixes bug where the user has an engine.cfg on the executable directory so it runs the game instead of opening the project manager
2016-02-25 03:02:09 -03:00
Julian Murgia - StraToN 5d5b7f2120 Fixed closing a scene tab when it was not the CURRENT tab. Fixes #3810 2016-02-24 22:07:46 +01:00
Julian Murgia - StraToN 7191de4670 Added a setting in editor defining scene tabs close button policy. Fixes #3777
global/always_show_close_button_in_scene_tabs
Default = OFF --> Close button only on active tab
ON --> Close button on all tabs
2016-02-20 02:45:04 +01:00
Ignacio Etcheverry 9c1bde4e4b Keep 'Play custom scene' button unpressed when not running 2016-02-18 13:16:31 +01:00
Rémi Verschelde 01cf698de7 Remove unimplemented SceneAnimationImport plugin from menu
The code structure is still available if someone wanted to implement it.
Issue #3667 will be kept as a reminder for the added todo.
2016-02-17 22:26:26 +01:00
Ignacio Etcheverry 8c0accc4ba Added option to restart custom scene 2016-02-17 20:54:19 +01:00
Ignacio Etcheverry d8f06085a2 Fix _quick_run method (Play custom scene) 2016-02-17 19:41:19 +01:00
Ariel Manzur 83b03e1c68 export from command line 2016-02-10 03:41:48 -03:00
Juan Linietsky 92a3b9fb9f -Property apply limits to V/H Splits in main editor window. Fixes #3567 2016-02-08 13:01:54 -03:00
Franklin Sobrinho 9f5d537993 Fix animation toolbar 2016-01-27 11:10:51 -03:00
Juan Linietsky 1d99e71d94 defer project export filesystem update if not visible 2016-01-27 07:23:51 -03:00
Juan Linietsky 31a4762fea Merge pull request #3435 from neikeq/output_focus_steal
Fix Output panel annoying focus steal
2016-01-25 00:30:14 -03:00
Ignacio Etcheverry a3e4914355 Fix Output panel annoying focus steal 2016-01-24 16:26:03 +01:00
Juan Linietsky 6c27df8df6 -Fixes a bunch of stdout errors, closes #2763 closes #2731 2016-01-23 19:51:51 -03:00
Juan Linietsky 5ca338bab6 -Fixed revert scene, should work proprely now, fixes #2782 2016-01-23 18:28:30 -03:00
Ignacio Etcheverry 88fd782060 EditorNode: Ignore unhandled input if there is a dialog visible 2016-01-21 23:51:06 +01:00
Juan Linietsky 74a48a0140 -Massive editor dialog cleanup
-Added a bottom menu list
2016-01-17 20:03:57 -03:00
Juan Linietsky 72fcb8a35b -Moved all the "root" input handling for GUI from individual Controls to Viewport.
-Should fix several reported bugs when controls don't have a common parent

This may have added new bugs, so please report if so!
2016-01-16 22:41:10 -03:00
Rémi Verschelde d64a9526cd Merge pull request #2928 from akien-mga/pr-subscene-icon-in-dock
Moved subscene creation from scene menu to an icon on the scene dock
2016-01-15 14:34:39 +01:00
Rémi Verschelde 1fc96e2dca Merge pull request #3329 from SaracenOne/color_ramp_fix
Color Ramp Editor Plugin Fix
2016-01-15 13:54:04 +01:00
Juan Linietsky d222229149 properly export sample compression type option 2016-01-14 11:50:24 -03:00
Juan Linietsky 4248c84e20 -Make sure scenes properly update when switching tabs, even if sub-instances changed. Fixes #3201 2016-01-14 11:06:20 -03:00
Juan Linietsky c4cee22510 Properly fix tab scrolling, fixes #3128, fixes #3314 2016-01-13 07:39:31 -03:00
Saracen 0b1f395e7d Fixed color ramp editor plugin to allow editing color ramps while in the spatial editor. 2016-01-12 20:13:45 +00:00
Rémi Verschelde 0b4c088089 Merge pull request #3320 from neikeq/ed_layouts_default
Allow to override the default editor layout
2016-01-11 23:55:36 +01:00
Ignacio Etcheverry 60adf21bc6 Allow to override the default editor layout 2016-01-11 23:51:45 +01:00
Rémi Verschelde 1f1c3038c2 Update copyright in remaining files + prints in the UI 2016-01-11 21:34:22 +01:00
Rémi Verschelde cbab728049 Merge pull request #3276 from TheHX/pr-quick-open
Quick open now can open multiple scenes and scripts
2016-01-11 11:42:13 +01:00
Juan Linietsky 6eb742d49f -Make a rare corner case where disabling/reenabling mipmaps causes invalid texture state. Fixes #3102 2016-01-10 21:45:58 -03:00
Juan Linietsky 027072728e restored quit to project list keybinding, but kept change for OSX, closes #3185 2016-01-10 15:57:24 -03:00
Juan Linietsky 729ab84a49 wrong extensions shown when saving resources fixed 2016-01-10 15:38:47 -03:00
Franklin Sobrinho 7fa233cd89 Fix some error messages 2016-01-09 08:35:57 -03:00
Rémi Verschelde e3d4a851b7 Merge pull request #3280 from neikeq/issue_3227
Fix TileSet not refreshed after exporting without merge
2016-01-08 18:04:36 +01:00
Ignacio Etcheverry b4602567cf Fix TileSet not refreshed after exporting without merge 2016-01-08 17:54:13 +01:00
Ignacio Etcheverry 43b292de1e Scene->Close scene: ask confirmation only when unsaved changes 2016-01-08 16:53:47 +01:00
Franklin Sobrinho 7fa3bd4e78 Quick open now can open multiple scenes and scripts 2016-01-08 08:27:34 -03:00
Rémi Verschelde bc3b1a63ba Merge pull request #3208 from nounoursheureux/master
You can now create an inherited scene based on an already opened scene
2016-01-06 18:31:33 +01:00
Nounours Heureux f32a06e470 You can create an inherited scene based on an already opened scene. 2016-01-06 17:46:45 +01:00
Rémi Verschelde 820770e2e0 Merge pull request #3187 from neikeq/fix_3186
Fix editor layout saving
2016-01-06 11:58:03 +01:00
Rémi Verschelde a82e6f0baa Merge pull request #3219 from nounoursheureux/change_subscene_string
Change Import > Sub-Scene to Import > Node from scene
2016-01-06 11:48:22 +01:00
Juan Linietsky e8fbf39f88 -Replaced tinyjpg for jpgd (public domain), fixes progressive encoded jpgs and speeds up. Closes #2040
-Removed support of loading BitMap as image, now it must be load as a pnm, also closes #2040
2016-01-03 17:14:28 -03:00
Nounours Heureux 1c3a448a32 Change Import > Sub-Scene to Import > Node from scene 2016-01-03 18:07:05 +01:00
Ignacio Etcheverry fc17ec04fc Fix editor layout saving 2016-01-01 18:48:14 +01:00
George Marques 5be9ff7b67 Update copyright to 2016 in headers 2016-01-01 11:50:53 -02:00
Juan Linietsky 9c38ad0093 changed shortcuts to be better friends with OSX, closes #2398 2015-12-31 16:14:04 -03:00
Juan Linietsky ff1763e38f properly implement save as from script editor, fixes #2415 2015-12-31 13:12:27 -03:00
Juan Linietsky fd836cad27 -Ensure .tscn and .tres always save in a deterministic way, fixes #2495
-Scene edit state is saved outside the scene now, to avoid changes .tscn files when nothing really changed
-Created a VariantWriter helper to unify all variant to text writing
-Moved SceneFormatText writing to VariantWriter
-Moved ConfigFile to use VariantWriter and VariantParser, added compatibility mode for old .cfg files that use engine.cfg format
2015-12-31 00:31:00 -03:00
Juan Linietsky 81f62fb78c -Fix to progress dialog, speding it up
-Fix potential deadlock in stream player
-Fix collada to support broken files from ColladaMaya
2015-12-21 09:05:49 -03:00
Rémi Verschelde 9cb4798f6b Merge pull request #3083 from TheHX/pr-file-dialog
Add editor setting for display mode on file dialog and filesystem dock
2015-12-15 19:15:56 +01:00
Franklin Sobrinho d9f4d3952d Add editor setting for display mode on file dialog and filesystem dock 2015-12-15 14:36:04 -03:00
Ignacio Etcheverry fa085a9c2c Added input actions renaming 2015-12-14 20:44:57 +01:00
Ignacio Etcheverry 6e4b1ff838 Fix editor layouts broken after 9a7ff65 2015-12-14 16:44:15 +01:00
Juan Linietsky 7f96f0603e -scenes are properly reloaded when a dependency changes, fixes #2896
(it's clevery done so local changes to scenes are kept even if unsaved)
2015-12-13 20:39:01 -03:00
Rémi Verschelde 8c005e2b73 Merge pull request #3047 from eska014/fix-play-project-button
Fix "Play Project" button icon
2015-12-13 10:10:08 +01:00
Juan Linietsky 6bc6b8fcf2 -ability to change scripts in external editor and still have properties reloaded in godot UI, fixes #3003 2015-12-09 09:08:41 -03:00
Juan Linietsky c26f66abde Merge pull request #2873 from neikeq/editor_layouts
Editor layouts menu
2015-12-08 17:09:38 -03:00
eska 829fa0cfdc Fix "Play Project" button 2015-12-08 19:33:50 +01:00
Franklin Sobrinho 42eef3cdc6 Better hidden folders display preferences for editor file dialogs 2015-12-06 19:35:31 -03:00
neikeq a5947161ef Fix 'Save Scene' doing nothing on new scenes 2015-12-04 16:51:36 +01:00
Juan Linietsky bb392bde16 Merge branch 'master' of https://github.com/godotengine/godot 2015-12-04 10:19:58 -03:00
Juan Linietsky da113fe40d -Upgraded webp to a MUCH newer version. Hoping it fixes some bugs in the process. Keeping old version just in case for now.
-Added ability to convert xml and tscn scenes to binary on export, makes loading of larger scenes faster
2015-12-04 10:18:28 -03:00
Franklin Sobrinho 868832bca7 Fix editor crash after closing scene with certain types of nodes 2015-12-03 12:42:58 -03:00
Juan Linietsky 46c5fda91d -orphan resource explorer dialog + tools menu 2015-11-29 01:08:31 -03:00
Juan Linietsky 68aaa0f813 Merge branch 'master' of https://github.com/godotengine/godot 2015-11-28 20:57:23 -03:00
Juan Linietsky 7aa39b7cae -Fixed bug with scene inheritance, should work again
-Proper .tscn and .tres parsing, should work, please test well!
2015-11-28 20:56:14 -03:00
Rémi Verschelde 20efb48101 Moved subscene creation from scene menu to an icon on the scene dock
Based on @Fiona's PR #2220.
The previous "subscene" concept is also renamed to "new scene", as those subscene are just like regular scenes.
2015-11-27 21:42:48 +01:00
neikeq dc9ddfc6a0 Editor layouts menu 2015-11-25 13:28:41 +01:00
Rémi Verschelde 868a5a5be1 Merge pull request #2910 from est31/export_error_on_headless
Print errors  to console when exporting
2015-11-25 08:07:35 +01:00
est31 5dc9770feb Print errors to console when exporting
Now you the errors when exporting via godot server binary.
When exporting via non-headless godot, it is useful to have the error
on the console as well.

Also exit and print a list of valid export platforms when
the supplied platform was not found.
2015-11-25 06:50:08 +01:00