Rémi Verschelde
5976e8d7de
Merge pull request #10625 from Rubonnek/fixed-leaks
...
Fixed several memory leaks
2017-08-27 02:10:32 +02:00
Andreas Haas
b2ec9e108d
Save update mode in project metadata.
2017-08-26 20:43:28 +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
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
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
Rémi Verschelde
e9c43cecbf
Merge pull request #10433 from djrm/pr_svg_support
...
SVG support
2017-08-21 23:49:07 +02: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
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
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
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
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
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
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
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
kubecz3k
aa24ddc59f
Merge pull request #10337 from endragor/command-line-export
...
Enable command-line export
2017-08-15 22:46:20 +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
Juan Linietsky
cb0e357d0b
Converting to MeshLibrary works again, fixes #8092
2017-08-15 11:41:17 -03: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
Indah Sylvia
5ae78fdf6a
Makes all Godot API's methods Lower Case
2017-08-07 18:24:35 +07: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
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
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
24329155eb
EditorNode: fix missing distraction-free tooltip
2017-07-24 13:07:53 +07: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
21497bd501
Merge pull request #9790 from Noshyaar/pr-req
...
EditorNode: request_attn when behind other windows
2017-07-23 13:15:52 +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
Poommetee Ketson
20d36bf226
Move About dialog to editor_about.cpp
2017-07-23 00:14:44 +07: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
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
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
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
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
Daniel J. Ramirez
17c3422431
Added separators using StyleBoxLine, some theme style fixes, added variant icon
2017-07-18 01:09:19 -05: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
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
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
Daniel J. Ramirez
12db63df14
Added some missing icons, fixed some ui icons
2017-07-12 14:11:56 -05: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
ab948dd3d1
About: center valign copyright label
2017-07-08 20:47:27 +07:00
Poommetee Ketson
da2de8932c
About: add thirdparty license info
2017-07-06 14:42:47 +07:00
Poommetee Ketson
272cfdc0c8
About: Add License info
2017-07-04 22:07:43 +07: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
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
Poommetee Ketson
21f6cc75a1
Authors/About: support for multiple sections
2017-07-03 09:40:56 +07:00
Poommetee Ketson
003a49eb66
SceneTab: MMB or double LMB to create new scene
2017-07-01 23:23:16 +07: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
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
Poommetee Ketson
090ddada46
Clean up redundancy in scene save confirmation
2017-06-27 11:08:16 +07: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
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
Poommetee Ketson
a9367ce6bc
EditorNode: enhance save/quit dialog
2017-06-27 03:04:47 +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
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
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
Marc Gilleron
2bb1638b0a
GradientTexture now uses a Gradient
...
- Added gradient property
- Deleted duplicate code
2017-06-24 21:50:44 +02: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
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
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
Kryptocron
4bee1d98fa
Added option to not save a scene when played.
2017-06-17 03:04:50 -07:00
volzhs
d2f72ca923
Fix scene tab color not updated when theme changed
2017-06-17 03:00:57 +09: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
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
42b2d52c88
Properly adjust the visible editor rect and make limits respected, closes #8328
2017-06-12 16:19:12 -03:00
Unknown
d8b65b1657
EditorPlugin can request user inputs from editor 3d view
2017-06-12 17:55:15 +02:00
Juan Linietsky
4d50c7ad8c
Restored multiple viewport function, as well as view modes.
2017-06-11 15:52:03 -03:00
Juan Linietsky
612ab8fcdb
-Restored multithread capability to VisualServer
...
-Restored resource previews!
2017-06-09 00:24:18 -03: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
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
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
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
Poommetee Ketson
db439308e6
About: add contributors list
2017-06-01 18:15:15 +07:00
Juan Linietsky
5567e898d1
Several fixes related to PBR and Environment
2017-05-30 08:56:19 -03: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
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