Commit graph

1995 commits

Author SHA1 Message Date
sersoong
94adf24798 Add uppercase and lowercase to rightclickmenu in scripteditor 2017-12-07 16:09:02 +08:00
Rémi Verschelde
13c2ff9320 Style: Apply new clang-format 5.0 style to all files 2017-12-07 08:02:00 +01:00
Rémi Verschelde
d5ca9e2f6f Style: Apply clang-format again on all files
Fixes issues introduced by newer clang-format versions or commits
pushed directly without using the clang-format pre-commit hook.
2017-12-07 08:02:00 +01:00
sersoong
f0fda9fd87 Add 'copy script path' to script editor plugin 2017-12-07 11:57:41 +08:00
Juan Linietsky
b38378dd6c Reduce some graphics memory usage by disabling unnecesary modes, closes #12831 2017-12-06 20:49:54 -03:00
Rémi Verschelde
06d0166bda
Merge pull request #13827 from sersoong/master-addopenselection
Enhanced 'open' menu in filesystemdock
2017-12-07 00:30:31 +01:00
Rémi Verschelde
e3155071bc
Merge pull request #13958 from jjjuande/fix_revert_button
Fix the revert button issue with instanced nodes
2017-12-07 00:30:07 +01:00
Rémi Verschelde
7885360f3f
Merge pull request #13956 from poke1024/fix-poly2d-mode-change
Fixes Polygon2D wip mode closing when editing mode is changed
2017-12-07 00:29:12 +01:00
Rémi Verschelde
c0fd111e71
Merge pull request #14002 from poke1024/fixhelpspeed
Make "Search Help" more responsive
2017-12-07 00:23:23 +01:00
Juan Linietsky
7b7ba58493 -Fix particles with size==0, closes #13931
-Fixed material previews (dont show sphere unless for spatial)
2017-12-06 19:51:13 -03:00
Rémi Verschelde
9e2fad7e64
Merge pull request #13724 from RayKoopa/editor_file_dialog_context_menu
Add context menu to editor file dialogs
2017-12-06 23:46:43 +01:00
Rémi Verschelde
7b557a4e1f
Merge pull request #13409 from YeldhamDev/textedit_disabled
Add disabled theme to TextEdit
2017-12-06 23:42:54 +01:00
Waldson Patrício
c6f28925e2 Add method to set main screen plugin icon 2017-12-06 19:31:25 -03:00
Rémi Verschelde
f7f3b31065
Merge pull request #13982 from willnationsdev/editorfiledialog-docs
[DOCS] EditorFileDialog props added, member/method/signal descs

[ci skip]
2017-12-06 23:22:09 +01:00
Juan Linietsky
86fcc39fa9 Fix and rewrite folding logic, closes #14005, closes #13421 2017-12-06 19:07:17 -03:00
poke1024
ef49edc387 Make "Search Help" more responsive 2017-12-06 23:01:17 +01:00
Juan Linietsky
a496dd4d38 Created internal usage flag to remove non editor properties from doc, closes #13334 2017-12-06 17:16:25 -03:00
Will Nations
e7589d0b80 [DOCS] EditorFileDialog props/member/method/signal 2017-12-06 09:30:15 -06:00
Rémi Verschelde
a8ae46e143
Merge pull request #14013 from qichunren/fix_project_rename_lost_focus
Fixed project name line edit lost input focus in project rename dialog.
2017-12-06 07:59:10 +01:00
Rémi Verschelde
c11ea8a2d0
Merge pull request #14008 from vnen/export-icon-splash
Export icon and splash images directly to final package
2017-12-06 07:47:00 +01:00
qichunren
7d1c3b5391 Fixed project name line edit lost input focus. 2017-12-06 11:24:01 +08:00
George Marques
85baa41c7a
Export icon and splash images directly to final package
They need to bypass the path remapping to be loaded as images during
the start routine.
2017-12-05 21:13:58 -02:00
Gilles Roudiere
7b02f5591d Moves the guides colors to editor settings 2017-12-05 21:44:52 +01:00
Ray Koopa
5fbd71af17 Add context menu to editor file dialogs. 2017-12-05 21:05:58 +01:00
Juan Linietsky
1587f45c25 Make sure the scene warning of changes may be lost is only for scenes, fixes #13970 2017-12-05 13:26:45 -03:00
Gilles Roudiere
03c1b6be23 Fix a little mistake in a setting name (rulers->guides) 2017-12-05 10:45:27 +01:00
Indah Sylvia
0102c861da Caret blinking is now enabled by default 2017-12-05 16:28:00 +07:00
sersoong
82f896b1ee Enhanced 'open' menu in filesystemdock 2017-12-05 16:37:46 +08:00
Rémi Verschelde
8040359458
Merge pull request #13454 from YeldhamDev/about_richtext
Changed EditorAbout's TextEdits to RichTextLabels
2017-12-05 09:26:59 +01:00
Rémi Verschelde
1702a19bf0
Merge pull request #13959 from groud/editable_rulers_colors
Makes editable the guides color
2017-12-05 09:23:52 +01:00
Andreas Haas
74969b4535
Merge pull request #13977 from waldson/fix-stop-scene-always-active
Fix stop button always enabled
2017-12-05 07:59:52 +00:00
Rémi Verschelde
56fe852bae i18n: Fix instructions for adding new language
Closes #13972.
[ci skip]
2017-12-04 21:10:19 +01:00
Waldson Patrício
606401331a Fix stop button always enabled (issue #13933) 2017-12-04 16:48:46 -03:00
Andreas Haas
faaa012b84
Script Editor: Use first non-whitespace comment delimiter.
As suggested by @neikeq in https://github.com/godotengine/godot/pull/13489#issuecomment-348690816
2017-12-04 18:33:43 +01:00
Juan Linietsky
1a317a39ed
Merge pull request #13961 from groud/rulers_by_default
Make rulers on by default
2017-12-04 11:45:04 -03:00
Gilles Roudiere
c2a7d186bd Make rulers on by default 2017-12-04 15:39:12 +01:00
Juande
0a5cf37a75 Fix the revert button issue with instanced nodes
The method "check_reload_status" on the file "property_editor.cpp" didn't take into account if the field is a property of an instanced node just like the "update_tree" does. The code that checks this in "update_tree" has been extracted into the method "_is_instanced_node_with_original_property_different" to be also used in "check_reload_status".

Fixes #13415
2017-12-04 14:17:58 +01:00
Bernhard Liebl
ca7e9c0348 Fixes Polygon2D wip mode closing when editing mode is changed 2017-12-04 13:44:30 +01:00
Rémi Verschelde
a31735ad36
Merge pull request #13829 from goodyttoor/master
Some untranslated UI strings
2017-12-04 10:46:49 +01:00
Rémi Verschelde
a7c244564e Make auto switch to remote scene tree opt-in
The performance cost is too high for now, so it should be opt-in for users
who really need it all the time. Fixes #13833.
2017-12-04 10:25:35 +01:00
Gilles Roudiere
6c32629758 Makes editable the rulers color 2017-12-03 18:57:49 +09:00
Mariano Suligoy
af719a90a7 TileMap Fixes 2017-12-02 20:49:01 -03:00
Guilherme Felipe
893a71b7dd Fix alignment for button preview_camera 2017-12-02 09:45:25 -02:00
Unknown
1d26c51856 Some untranslated UI strings 2017-12-02 16:59:45 +07:00
Rémi Verschelde
5ddf288c79
Merge pull request #13489 from Hinsbart/fix_toggle_comment
Script Editor: Make comment delimiter language dependent.
2017-12-02 10:32:54 +01:00
volzhs
216baf1c47 Unnecessary use of TTR 2017-12-02 08:35:28 +09:00
Andreas Haas
07aa9d0506
Script Editor: Make comment delimiter language dependent. 2017-12-01 20:54:36 +01:00
Michael Alexsander Silva Dias
17a3e2b370 Changed EditorAbout's TextEdits to RichTextLabels. 2017-12-01 13:20:10 -02:00
Orkun
3e50748972 Add duplice option to filesystem dock
Add duplice option to filesystem dock based move option
2017-12-01 14:13:50 +03:00
Poommetee Ketson
e89309b931
Merge pull request #13216 from hoelzl/pr-fix-tile-origin-center
Fix displacement for centered tilemaps
2017-12-01 11:46:34 +07:00
Michael Alexsander Silva Dias
2773c12156 Add disabled theme to TextEdit. 2017-12-01 01:32:26 -02:00
Daniel J. Ramirez
4b80bc3303 Fixed editor settings disappearing (caused by uninitialized variable). 2017-11-29 22:04:41 -06:00
Rémi Verschelde
47d397579b i18n: Sync translation templates with current source
[ci skip]
2017-11-29 09:51:00 +01:00
Rémi Verschelde
23aa51fc94 i18n: Sync translations with Weblate
Adds Afrikaans, Hebrew, Hindi, Swedish, Ukrainian and Vietnamese.
2017-11-29 09:49:45 +01:00
Rémi Verschelde
aac4cde229
Merge pull request #13367 from Krakean/inspector_collapseexpand_corrections
Small corrections to Inspector collapse/expand feature
2017-11-29 09:07:36 +01:00
Rémi Verschelde
6110235bd4
Merge pull request #13390 from poke1024/opteditorhelp
Make editor help select shortest (best) instead of first match
2017-11-29 08:58:56 +01:00
Rémi Verschelde
76725b6c1f
Merge pull request #13387 from rraallvv/refactor
Add target helper functions and refactor (master)
2017-11-29 08:54:59 +01:00
Bernhard Liebl
d6a95e154a Make editor help select shortest (best) instead of first match 2017-11-29 07:20:11 +01:00
Ian
e718dd12be moving open scenes in filesystem update dependencies fix 2017-11-28 22:25:11 -05:00
Rhody Lugo
a65c0939fd disable caching for targets using helper functions 2017-11-28 23:24:12 -04:00
Dmitry Koteroff
45c5a865c2 Small fixes to #13233 2017-11-28 16:53:40 +03:00
Rhody Lugo
a4a222d62d use the same cache for all branches for appveyor 2017-11-28 03:23:33 -04:00
Rémi Verschelde
9a406da44e
Merge pull request #13342 from Noshyaar/just_godot
EditorAbout: single-column'd some section, monospace
2017-11-27 23:03:43 +01:00
Dmitry Koteroff
ad351a29db Some improvements to file/dir open/save dialogs:
1. Removed "..", instead you now will see "Select Current Folder" and "Select this Folder" buttons.
2. Added "go to parent folder" (^) button to Save a File dialog.
3. Tree.cpp: "nothing_selected" signal has been re-made (previous implementation, merged in #13308, wasn't optimal in context of performance)
4. Fixed issue in Project Export dialog: MODE_SAVE_FILE wasn't set when you click "Export".
5. Now you can deselect items by clicking on empty space in Open a Directory dialog.
2017-11-27 22:39:36 +01:00
Poommetee Ketson
499e1b7a80 EditorAbout: single-column'd some section, monospace
- Show ItemLists in single column if not enough item, or is a
special section (Gold/Platinum sponsors)
- Add a space before and after names so that it looks a bit
better for long names adjacent to another
- License text in monospace
2017-11-27 23:27:43 +07:00
Matthias Hoelzl
2beadf7ac0 Fix displacement for centered tilemaps
- Fixes tile and collision placement for tilemaps with
  `tile_origin` set to `TILE_ORIGIN_CENTER`.
- Also fixes a bug in the offset computation for collision shapes
  with `flip_v` flag set to true if `tile_origin` is
  `TILE_ORIGIN_BOTTOM_LEFT`.
2017-11-27 15:12:30 +01:00
Bernhard Liebl
91b8b94635 add "add point" and "select point" handles to polygon 2d editor 2017-11-27 14:01:34 +01:00
Rémi Verschelde
17b4f43e0e
Merge pull request #13308 from Krakean/scenetreedock_additemsdeselect
Scene Tree Dock: added ability to deselect items when clicking on empty space
2017-11-27 13:04:20 +01:00
bncastle
30d409edc1 Focus on sprite animation list after adding a new one to allow renaming with f2
After adding a new sprite animation, focus on the sprite animation list
to allow renaming the animation with f2 instead of having to click on
the sprite name again.
2017-11-26 20:54:26 -05:00
Rémi Verschelde
03a2cf2f94
Merge pull request #13240 from Krakean/fix_interpretcomma_as_decimalpoint
Makes possible to interpret comma as decimal point in editor
2017-11-27 00:55:40 +01:00
Rémi Verschelde
2755eeb2f0
Merge pull request #13252 from Krakean/file_dialogs_small_tweaks
A few adjustments to file/dir open dialogs
2017-11-27 00:23:15 +01:00
Rémi Verschelde
3b2e423c6f
Merge pull request #13222 from Calinou/tweak-editor-help-font-sizes
Tweak editor help font sizes for better readability
2017-11-26 21:17:25 +01:00
Dmitry Koteroff
a4109200aa Makes possible to interpret comma as decimal point in editor 2017-11-26 23:08:16 +03:00
Rémi Verschelde
f041d2e8ec
Merge pull request #13233 from Krakean/add_eidtorinspector_collapseexpand_v2
Inspector: Implemented a collapse/expand all (v2)
2017-11-26 20:57:59 +01:00
Rémi Verschelde
89313d8bfb
Merge pull request #13246 from volzhs/memory-format
Better number format for memory usage
2017-11-26 20:34:35 +01:00
Rémi Verschelde
2879e6f7ce
Merge pull request #13247 from groud/fix_this_stupid_setting_I_added
Remove option for the rulers graduations font size
2017-11-26 20:33:22 +01:00
Rémi Verschelde
dc3509b2aa
Merge pull request #13259 from Paulb23/restore_scenes_on_startup_issue_2385
Restore scenes on startup, issue 2385
2017-11-26 20:16:06 +01:00
Rémi Verschelde
ade39f5771
Merge pull request #13298 from YeldhamDev/translation_layout
Fix not being able to select an editor layout created in another language
2017-11-26 19:47:17 +01:00
Juan Linietsky
c6f2db393e Ask users to explore official projects when none is loaded. 2017-11-26 15:31:48 -03:00
Juan Linietsky
22415e5a31
Merge pull request #12572 from RandomShaper/onion-skinning
Onion skinning
2017-11-26 15:13:35 -03:00
Dmitry Koteroff
b8b5bb6577 Scene Tree Dock: added ability to deselect items when clicking on empty space 2017-11-26 18:30:48 +03:00
Michael Alexsander Silva Dias
8987f932d6 Fix not being able to select an editor layout created in another language. 2017-11-26 13:27:48 -02:00
Hugo Locurcio
e3fc6fcaa6
Tweak the default editor camera settings
- The default FOV is now 70
- The default Z-near plane is now at 0.05 meters
2017-11-25 23:03:26 +01:00
Juan Linietsky
9738ebcda0 -Fixed height fog (was broken)
-Make sure materials are named in OBJ importer, so they can be saved outside as resources.
2017-11-25 12:32:41 -03:00
Pedro J. Estébanez
d0e09d84f0 Implement onion skinning for the animation editor 2017-11-25 13:25:14 +01:00
Rémi Verschelde
faf5ac8d54
Merge pull request #13263 from sersoong/master-test
3.0beta - Fixed doesn't close open a file window bug
2017-11-25 10:32:38 +01:00
sersoong
c8d6a3b6dc Fix doesn't close open a file window bug 2017-11-25 13:03:43 +08:00
Juan Linietsky
66a8a07c2c Add importer option to make meshes bakeable by default. 2017-11-25 01:29:35 -03:00
Juan Linietsky
bc2e8d99e5 Made Vector::ptrw explicit for writing, compiler was sometimes using the wrong function,
leading to unnecesary copy on writes and reduced performance.
2017-11-25 00:09:40 -03:00
Pedro J. Estébanez
1964d5fddd Improve/fix SpatialEditor state saving/restoring 2017-11-25 02:18:28 +01:00
Paulb23
76a53aa328 Restore scenes on startup, issue 2385 2017-11-24 23:32:54 +00:00
Juan Linietsky
2bc6db65c1 Fixes bug where enumeration is not being saved 2017-11-24 18:44:13 -03:00
Pedro J. Estébanez
3f31925b18 Universalize draw-over API for EditorPlugins
- Now it is usable from both `CanvasItem` and `Spatial` editors.
- `EditorPlugin` API changes:
 - `forward_draw_over_canvas()` becomes `forward_draw_over_viewport()`.
 - `update_canvas()` becomes `update_overlays()`, which now triggers the update of every overlay on top of any 2D or 3D viewports present. Also now it returns the number of such viewports, which is useful whenever you need to know the number of draw-over calls you'll get.
 - New: `[set/is]_force_draw_over_forwarding_enabled()` to force overlaying regardless it handles the current object type, in a similar fashion as `[set/is]_input_event_forwarding_always_enabled`. This kind of overlay is also on top of those for regular handled node types.
 - New: `forward_force_draw_over_canvas()`, which is the callback that gets called for plugins that enable forced overlaying.
2017-11-24 21:24:15 +01:00
Hugo Locurcio
a86db9b347
Tweak editor help font sizes for better readability 2017-11-24 19:57:02 +01:00
Dmitry Koteroff
e3b0214f40 A few small adjustments to file dialogs:
a) Added Backspace key support for Tree-based file dialog.
b) Fixed issue inability to select a folder in project manager (always previous folder was selected instead).
c) Open Directory mode: changed "Open" to "Select Current Folder"
d) Block "Open" button when inappropriate content is selected (for example, file when in open folder mode, or folder when in open files mode)
2017-11-24 21:21:55 +03:00
volzhs
452af98995 Better number format for memory usage 2017-11-25 02:09:32 +09:00
Juan Linietsky
31f62f53c5 Fix block where setter/getters are cached to be skipped 2017-11-24 14:00:01 -03:00
Juan Linietsky
60de407262 Add a bit space around the .import [deps] tag to make it more readable. 2017-11-24 14:00:01 -03:00
Juan Linietsky
bb83c7d6b7 Changed reimport logic to also check md5 before reimporting, fixes #13135
Has the nice side effect that you can share your .import folder or rename
your project and godot wont reimport stuff.
2017-11-24 13:39:41 -03:00
Juan Linietsky
f6139c2cfc Attempt to remove setters/getters from doc data 2017-11-24 12:33:28 -03:00
Gilles Roudiere
2a0a56443d Remove option for the rulers graduations font size 2017-11-24 16:11:03 +01:00
Dmitry Koteroff
aa20a84aa9 Implemented a collapse/expand all feature request for Inspector (issue #9427) via popup of "Object properties" button.
Editor Settings->Interface->Editor: added "Expand All Properties" option. Off by default.

Cosmetics fixes due to @Reduz notes.
2017-11-24 14:08:44 +03:00
sersoong
feb45aaf4b Fix context menu of first node in a new scene 2017-11-24 12:32:57 +08:00
geequlim
9ef720908f Improved update for remote scene tree and remote object. 2017-11-23 15:23:24 +08:00
Rémi Verschelde
e38efe22c7
Merge pull request #12301 from MarianoGnu/master
Implement auto-tiling
2017-11-22 15:31:46 +01:00
Rémi Verschelde
012b397063
Merge pull request #13181 from GodotExplorer/debugger-settings
Allow keep show local scene tree while debugger start
2017-11-22 15:02:23 +01:00
geequlim
2f5defab0e Add editor setting to allow keep show local scene tree while debugger start.
Rename editor setting scene_tree_refresh_interval to remote_scene_tree_refresh_interval.
2017-11-22 21:53:01 +08:00
Rémi Verschelde
b52e47f263 i18n: Sync translation templates with current source
[ci skip]
2017-11-22 13:16:51 +01:00
Rémi Verschelde
2b4fc2e9d0 i18n: Sync translations with Weblate
Adds Serbian (Cyrillic) translation.
2017-11-22 13:14:55 +01:00
Dmitry Koteroff
3cca09d96a When drag'n'drop (lets say, picture in 2D mode), automatically create dragged resource as a root node if you haven't any yet. 2017-11-22 05:28:02 +03:00
Rémi Verschelde
817efd0b68
Merge pull request #13153 from YeldhamDev/remote_relationships
Fixed the Remote tab not complying with the "Draw Relationship Lines" setting
2017-11-21 22:52:42 +01:00
Rémi Verschelde
613d374bc5
Merge pull request #12284 from bojidar-bg/allow-subproperty-set
Allow for getting/setting "dotted" properties of objects
2017-11-21 22:44:14 +01:00
Michael Alexsander Silva Dias
71ef7e8f6f Fixed the Remote tab not complying with the "Draw Relationship Lines" setting. 2017-11-21 18:21:03 -02:00
Bojidar Marinov
0cf9597758
Allow for getting/setting indexed properties of objects using get/set_indexed
Performance is around the same as using pure set() through GDScript.
2017-11-21 20:58:21 +02:00
Juan Linietsky
30dadb1228
Merge pull request #11933 from cxong/master
Use "Command" instead of "Meta" for macOS (#1619)
2017-11-21 14:25:09 -03:00
George Marques
20b07a1fb5
Merge pull request #13121 from Krakean/change_filedialog_removedot
Remove the "." and "/" (at the end of folders name) from file manage dialog (open scene, open file, ...)
2017-11-21 12:30:20 -02:00
Rémi Verschelde
5a23136d1b
Merge pull request #12573 from poke1024/macostouchpad
Native pan and zoom for macOS + InputEventGesture
2017-11-21 13:03:32 +01:00
Bernhard Liebl
80ad8afc85 Native pan and zoom for macOS 2017-11-21 09:11:39 +01:00
Rémi Verschelde
c846e49a7d Fix loop of scene tabs updates
It was a regression of f8e8b7d1a2,
thanks to @dragmz for finding it.
2017-11-21 08:46:39 +01:00
Rémi Verschelde
0d6c6232b2
Merge pull request #13123 from vnen/editor-help-links
Add extra link tags for editor help
2017-11-21 08:37:10 +01:00
Rémi Verschelde
7c90d51b72
Merge pull request #13120 from MillionOstrich/filesystem-rmb-separator
Fix extra separator in filesystem dock right click menu
2017-11-21 08:14:01 +01:00
Rémi Verschelde
3d2fecdeb3
Merge pull request #13117 from Krakean/filesystem_dock_addshowinexplorer
Files list: Add "Show in Explorer" popup when nothing under mouse cursor
2017-11-21 08:13:42 +01:00
Dmitry Koteroff
20bda9a2ba Remove the "." from file manage dialog (open scene, open file, ...)
Also removed the "." from game control's FileDialog component.

Also remove the "/" at the end of folders name.
2017-11-21 05:32:44 +03:00
George Marques
1ac26faa5c
Add extra link tags for editor help
Now [member], [enum], and [signal] tags give links to their respective
definitions.
2017-11-20 22:18:50 -02:00
MillionOstrich
89f264c4a8 Fix extra separator in filesystem dock right click menu
Re-order add_separator calls to stop adding an extra separator if no item was selected.
It is possible for no items to be selected by right clicking the ".." item.
2017-11-20 23:45:26 +00:00
Rémi Verschelde
5ff84070ca
Merge pull request #13119 from YeldhamDev/export_path
Fixed not being able to use the "Open a Directory" dialog with the "Default Export Path" setting
2017-11-21 00:16:58 +01:00
Michael Alexsander Silva Dias
3fc684a111 Fixed not being able to use the "Open a Directory" dialog with the "Default Export Path" setting. 2017-11-20 21:10:42 -02:00
Dmitry Koteroff
09619b02c4 Added "Show in Explorer" besides "New Folder" to popup which appear when clicked anywhere on the files list (when no files under mouse cursor)
Small fix
2017-11-21 01:57:00 +03:00
Robbie Cooper
24fe3bd605 Fix file extensions persisting in file dialog after export
This caused issues if one decided to export many formats in a row.
The new file extension would be appended to the previous one.

Now, the filename is retained without its extension for successive exports.

Fixes #7291
2017-11-20 23:20:56 +01:00
Rémi Verschelde
71a3e71b61
Merge pull request #11783 from endragor/ios-export-frameworks
Allow exporting third-party iOS Frameworks
2017-11-20 22:56:15 +01:00
Rémi Verschelde
6065b2d177
Merge pull request #11940 from GodotExplorer/debugger
Enhanced debugger for godot 3.0
2017-11-20 22:55:49 +01:00
Ricardo Maes
77f21b63e9 Add simple spacebar panning setting for 2D editor 2017-11-20 22:53:14 +01:00
Rémi Verschelde
ddc7793bba
Merge pull request #13105 from Krakean/master
Files list: Add "New Folder.." popup when nothing under mouse cursor
2017-11-20 22:44:23 +01:00
Rémi Verschelde
396218179c
Merge pull request #13102 from djrm/pr_fixes
Fixed runtime EDITOR_DEFs being dropped.
2017-11-20 20:09:02 +01:00
Daniel J. Ramirez
e5de5b4908 Visual fixes
Added some icons (Including the onion one)
Fixed text editor ellipsis style and editor tabs
2017-11-20 13:03:22 -06:00
Dmitry Koteroff
d67b602f2f Add "New Folder.." to right mouse button click on project fileslist panel _WHEN_ no any file/folder is under mouse cursor. 2017-11-20 21:25:13 +03:00
Ruslan Mustakov
8f0f327f02 Allow configuring iOS export
- EditorExportPlugin's _export_begin accepts all the arguments related
   to the current export (is_debug, path, flags).

 - EditorExportPlugin API is extended with methods allowing to configure
   iOS export: add_ios_framework, add_ios_plist_content,
   add_ios_linker_flags, add_ios_bundle_file.

 - iOS export template now contains Godot as a static library so that
   it can be linked with third-party Frameworks and GDNative static
   libraries.

 - Adds method to DirAccess for recursive copying of a directory.

 - Fixes iOS export to work with Xcode 9 (released recently).
2017-11-21 01:16:49 +07:00
Daniel J. Ramirez
e07b9a8920 Fixed runtime EDITOR_DEFs being dropped. 2017-11-20 11:53:44 -06:00
Poommetee Ketson
82ad05a20e
Merge pull request #13097 from ianb96/scene_tab_crash_fix
Fixes a crash on linux regarding scene tabs
2017-11-20 22:35:24 +07:00
Ian
9f308a5bf3 fix linux crash in _update_scene_tabs 2017-11-20 10:27:56 -05:00
Rémi Verschelde
d1831915bf
Merge pull request #12359 from kubecz3k/spatial-lock
ability to lock spatial nodes transform in editor
2017-11-20 16:02:20 +01:00
Rémi Verschelde
4784e9506b
Merge pull request #12555 from kosz78/export-pck
Add command line support to export pck or zip
2017-11-20 15:19:06 +01:00
Mariano Suligoy
bcfb0a09f8 Implement auto-tiling 2017-11-20 06:27:47 -03:00
Rémi Verschelde
91349290dc
Merge pull request #12717 from NathanWarden/material_import_fix
Fixed a bug where materials and/or meshes weren't assigned to scene on first import.
2017-11-20 09:13:36 +01:00
Rémi Verschelde
3dad0ce8f4
Merge pull request #12942 from sersoong/master-test
3.0 - add open feture to dependency_editor.cpp(View Owner..)
2017-11-20 09:12:14 +01:00
Rémi Verschelde
7b5c447301
Merge pull request #12952 from bojidar-bg/12392-export-enums
Allow exporting enums from GDScript
2017-11-20 09:11:46 +01:00
Rémi Verschelde
6d105aba9a
Merge pull request #12983 from ianb96/scene_add_tab
Add Scene button and tab scrolling
2017-11-20 09:11:31 +01:00
Rémi Verschelde
7f52db75c6
Merge pull request #13008 from Chaosus/assetstorefixes
Few fixes for asset store browser
2017-11-20 09:10:13 +01:00
Rémi Verschelde
cab1a67fc3
Merge pull request #13075 from sersoong/master-test3
[3.0] - Add close other tabs to Script Editor
2017-11-20 09:04:57 +01:00
Rémi Verschelde
49a73182d3
Merge pull request #13041 from RandomShaper/unify-node-duplicate
Let SceneTreeDock duplicate nodes via Node::duplicate()
2017-11-20 08:59:40 +01:00
Rémi Verschelde
83e7287752
Merge pull request #13053 from akien-mga/methods-mkstr
Remove need to _MKSTR version strings and rename "revision" to "build"
2017-11-20 08:54:19 +01:00
sersoong
66f6a8b4b5 Add close other tabs to Script Editor 2017-11-20 15:06:52 +08:00
Chaosus
f88f8e1a4a Few fixes for asset store browser 2017-11-20 10:01:40 +03:00
Rémi Verschelde
d3889ad1b4 EditorSettings: Dehardcode major in config file name
It was readded in panic after I mistakenly removed the hardcoded "-3" in #12988,
forgetting that Windows would still use the same path and thus conflict with 2.1
(contrarily to macOS and Linux).
2017-11-20 07:40:06 +01:00
sersoong
fcbec6331c Change editor_settings.tres to editor_settings-3.tres 2017-11-20 11:02:34 +08:00
Rémi Verschelde
6947bed015 Pass engine name and version parts as proper strings
Removes the need for _MKSTR all over the place which has the drawback of
converting _MKSTR(UNKNOWN_DEFINE) to "UKNOWN_DEFINE" instead of throwing
a compilation error.
2017-11-20 00:51:14 +01:00
Rémi Verschelde
ecf80fbbba
Merge pull request #12988 from akien-mga/xdg-home-paths
Add support for XDG Base Directory spec
2017-11-20 00:42:51 +01:00
Rémi Verschelde
bc26a5bd3a
Merge pull request #12936 from n-pigeon/planar_scale_gizmo
Implemented planar scaling with two modes.
2017-11-20 00:16:28 +01:00
Rémi Verschelde
d826b043ad
Merge pull request #12950 from ianb96/code_folding
Code Folding
2017-11-20 00:15:10 +01:00
Rémi Verschelde
171c46120d
Merge pull request #13042 from gad-o/customIconFix
Fix #10798: Fixes Change Type does not change icon
2017-11-20 00:13:10 +01:00
Rémi Verschelde
9143df1597
Merge pull request #13059 from dragmz/13009
Fix Regression: running current scene (unsaved) will ask for main scene
2017-11-19 23:50:28 +01:00
Rémi Verschelde
cc88a4cea6
Merge pull request #13030 from Krakean/master
Add "View FPS" in 3D->Perspective's popup.
2017-11-19 23:49:35 +01:00
Marcin Zawiejski
a14bd70995 Fix Regression: running current scene (unsaved) will ask for main scene 2017-11-19 22:59:05 +01:00
Dmitry Koteroff
55f992942c Add "View FPS" in 3D->Perspective's popup.
"Fixes" to make it acceptable by clang-format.

"Fixes" to make it acceptable by clang-format.
2017-11-20 00:35:46 +03:00
Rémi Verschelde
d2bc961388
Merge pull request #13000 from djrm/pr_import_fixes
import fixes
2017-11-19 21:59:11 +01:00
Pedro J. Estébanez
5a0be858f4 Let SceneTreeDock duplicate nodes via Node::duplicate()
Helps with #11182.
2017-11-19 21:30:17 +01:00
Rémi Verschelde
6e3f2f44af Use new XDG folders to dehardcode paths 2017-11-19 20:54:26 +01:00
Rémi Verschelde
32c12a92a5 Add initial support for the XDG Base Directory spec
Spec version 0.7 from https://standards.freedesktop.org/basedir-spec/basedir-spec-0.7.html
(latest as of this commit).

Three virtual methods are added to OS for the various XDG paths we will use:
- OS::get_data_path gives XDG_DATA_HOME, or if missing:
  ~/.local/share on X11, ~/Library/Application Support/ on macOS and %APPDATA% on Windows
- OS::get_config_path gives XDG_CONFIG_HOME, or if missing:
  ~/.config on X11, ~/Library/Application Support/ on macOS and %APPDATA% on Windows
- OS::get_cache_path gives XDG_CACHE_HOME, or if missing:
  ~/.cache on X11, ~/Library/Caches on macOS and %APPDATA% on Windows

So for Windows there are no changes, for Linux we follow the full split spec
and for macOS stuff will move from ~/.godot to ~/Library/Application Support/Godot.

Support for system-wide installation of templates on Unix was removed for now,
as it's a bit hackish and I don't think anyone uses it.

user:// will still be OS::get_data_path() + "/godot/app_userdata/$name" by
default, but when using the application/config/use_shared_user_dir option
it will now use XDG_DATA_HOME/$name, e.g. ~/.local/share/MyGame.

For now everything still goes in EditorSettings::get_settings_dir(), but
this will be changed in a later commit to make use of the new splitting
where relevant.

Part of #3513.
2017-11-19 20:54:24 +01:00
Daniel J. Ramirez
5e56366eba Fix import obj as scene. 2017-11-19 13:51:05 -06:00
Rémi Verschelde
39a4a67776
Merge pull request #13043 from volzhs/post-import
Restore post_import function
2017-11-19 20:15:46 +01:00
Rémi Verschelde
e89ec04be8
Merge pull request #13039 from sketchyfun/animation_key_selection_fix
Fixed issues with clicking animation keys that are on frame 0
2017-11-19 20:11:59 +01:00
Orkun
22bdad8bbe Fix #10798: Fixes Change Type does not change icon
Problem : While replacing old node properties with new ones, we
also copy meta data of old node's icon

Solve: don't copy meta so don't override _editor_icon
2017-11-19 20:46:30 +03:00
Poommetee Ketson
f5e85c6103
Merge pull request #12955 from groud/editor_canvas_item_api_rework
Editor canvas item api rework
2017-11-20 00:19:00 +07:00
Rémi Verschelde
3c5ce7cd85
Merge pull request #13031 from YeldhamDev/dock_label
Added a label to the Dock Positioner
2017-11-19 18:07:59 +01:00
volzhs
30af5e81db Restore post_import function 2017-11-19 23:45:16 +09:00
BenH
09b7a651b8 Fixed issue with animation keys that are on frame 0 being difficult to click 2017-11-19 14:05:33 +00:00
Gilles Roudiere
8d1f2b1857 Rework the canvas_item API for further improves to the canvas item editor 2017-11-19 13:36:31 +01:00
Omar Al Halabi
cb86f6fbf6 fix set_current_tab: Indexp_current=-1 out of size 2017-11-19 13:14:00 +02:00
Poommetee Ketson
baaafc5829
Merge pull request #12999 from Hinsbart/dnd_import
Editor: Drop files to copy them to project.
2017-11-19 16:22:40 +07:00
Michael Alexsander Silva Dias
fd52555bbe Added a label to the Dock Positioner. 2017-11-19 03:24:55 -02:00
Ian
f8e8b7d1a2 add scene button and tab scrolling 2017-11-18 20:31:51 -05:00
Ian
1e59169d2d scrolling fixes 2017-11-18 20:07:53 -05:00
BenH
090a9abf84 Fixed issue where some of the animation editor buttons were difficult to click, mainly the add key button. This was due to an error in the offsets 2017-11-18 16:13:11 +00:00
Daniel J. Ramirez
59c2e8906a Improved packed scene previews. 2017-11-17 21:42:14 -06:00
Ian
d350f506a0 TextEdit code folding 2017-11-17 21:49:43 -05:00
Rémi Verschelde
63283eca55
Merge pull request #12998 from djrm/pr_fixes
some fixes
2017-11-18 02:24:24 +01:00
Andreas Haas
3495190497
Editor: Drop files to copy to project. 2017-11-17 21:52:55 +01:00
Daniel J. Ramirez
7154baa010 Avoid spamming the console for editor settings initial sets. 2017-11-17 14:23:44 -06:00
Rémi Verschelde
ad199c3964 EditorSettings: Rename settings_path to settings_dir
Also to prepare for upcoming refactoring for XDG support.
2017-11-17 20:55:09 +01:00
Juan Linietsky
ebbe2bd572
Merge pull request #12930 from vnen/gdscrit-output-print
Make tool scripts print on the editor Output panel
2017-11-17 16:05:44 -03:00
Rémi Verschelde
0968c8d2f6
Merge pull request #12982 from tagcup/aabb_rename
Rename Rect3 to AABB.
2017-11-17 20:04:29 +01:00
Ferenc Arn
d28763a4c1 Rename Rect3 to AABB.
Fixes #12973.
2017-11-17 11:01:41 -05:00
George Marques
e90cfa6f82
Make resources edited by plugins be sent as reference
This ensures that a plugin can save a resource using the ResourceSaver.
2017-11-17 13:48:33 -02:00
Bojidar Marinov
e4a36d0eda
Allow exporting enums from GDScript
Use as `export(E) ...`
Closes #12392
2017-11-17 14:33:36 +02:00
Rémi Verschelde
64caa4733c
Merge pull request #12977 from YeldhamDev/create_node_relationships
Enabling relationship lines in the Scene Tree enables them in the Create New Node dialog as well
2017-11-17 09:22:23 +01:00
Geequlim
fab66af7e9 Move the remote scene tree to the scene tree dock.
Ignore all script constants in the global section of the breakpoint stack.
Check property size before send to avoid too large of data be sent.
Fix crash while clear the remote objects from the debugger.
2017-11-17 12:01:54 +08:00
Daniel J. Ramirez
8eb12806b8 Updated some icons. 2017-11-16 20:15:30 -06:00
geequlim
c655fc7cd8 Better supported for remote object editing with the inspector with a simple dictionary editor implement 2017-11-17 09:20:33 +08:00
geequlim
ccf76798d5 Send script members, contants and globals to debugger
Remove remote inspector panel
2017-11-17 09:20:32 +08:00
George Marques
b96ee28acd
Add a print handler for the editor output panel 2017-11-16 21:57:02 -02:00
Rémi Verschelde
b44cb4e3b9
Merge pull request #12583 from volzhs/select-multiple-files
Not to be slow when select multiple files
2017-11-17 00:37:01 +01:00
Rémi Verschelde
7ae8ba2d47
Merge pull request #12976 from Paulb23/scene_tree_add_undo_issue_6125
Fixed scene tree updating when undo/redo root node creation, issue 6125
2017-11-16 23:37:24 +01:00
Michael Alexsander Silva Dias
496e4e0d2f Enabling relationship lines in the Scene Tree enables them in the Create New Node dialog as well. 2017-11-16 20:24:33 -02:00
Paulb23
ad87dac77e Fixed scene tree updating when undoing root node creation, issue 6125 2017-11-16 22:22:51 +00:00
Rémi Verschelde
3330c4b4de
Merge pull request #12971 from Chaosus/saveandrunscenefix
Fix current scene run when scene saved
2017-11-16 22:31:38 +01:00
Chaosus
acc45ccf41 Fix current scene run when scene saved 2017-11-16 21:47:10 +03:00
Rémi Verschelde
bb1d1912ea
Merge pull request #12488 from djrm/pr_gridmap_fixes
Several improvements to GridMap.
2017-11-16 19:27:27 +01:00
Rémi Verschelde
763ca3dae1
Merge pull request #12970 from leezh/module_docs
Added modules' doc files to make_doc_header
2017-11-16 19:10:12 +01:00
Zher Huei Lee
fbcb2edeeb Added modules' doc files to make_doc_header
They were somehow never included. This fixes that.
2017-11-17 01:57:28 +08:00
Rémi Verschelde
2070b80fc0
Merge pull request #12966 from SaracenOne/convcol
Added 'convcol' flag for importing meshes as convex collision
2017-11-16 16:38:38 +01:00
Saracen
f8a95499bd Added 'convcol' flag for importing meshes as convex collision and completed code
for parsing collision flags to mesh data.
2017-11-16 13:06:30 +00:00
Juan Linietsky
dc463e1e42 Add support for remote debug in scene tree. 2017-11-15 22:21:49 -03:00
Rémi Verschelde
ed2b66f023 Improve code style of generated headers 2017-11-15 21:29:34 +01:00
Rémi Verschelde
e7701bb2de doc: Rename "@Global Scope" to "@GlobalScope"
Spaces in filenames are evil.
2017-11-15 20:41:16 +01:00
Rémi Verschelde
967bfb0c4a doc: Remove revision.module_config from version string
It is now "3.0-alpha" instead of "3.0.alpha.custom_build{,.mono}",
limits unnecessary diffs.
2017-11-15 20:41:16 +01:00
Juan Linietsky
9543801d51
Merge pull request #12949 from karroffel/gdnative-export
[GDNative] export plugin
2017-11-15 14:05:21 -03:00
Karroffel
f1099c7221 [GDNative] export plugin 2017-11-15 17:24:32 +01:00
Juan Linietsky
0130bbfac0 Make sure scan happens after all nodes enter scene (including plugins), fixes #9286 2017-11-15 12:42:08 -03:00
Juan Linietsky
a5c3e3084a When script changes, defer tree updating. Fixes #9704 2017-11-15 10:41:31 -03:00
sersoong
13b07fef81 add open feture to dependency_editor.cpp 2017-11-15 14:26:38 +08:00
Przemysław Gołąb (n-pigeon)
9cc6d21d9f Implemented planar scaling with two modes.
Modes:
- Scale uniformly on two axes
- Hold SHIFT to scale non uniformly
2017-11-14 23:51:27 +01:00
Rémi Verschelde
61a693cf78
Merge pull request #12922 from eska014/engine-singletons
Singleton management changes
2017-11-14 20:44:55 +01:00
Juan Linietsky
04edfc090b Finalized ability to convert from CanvasItem/Spatial/Particles materials to ShaderMaterial, closes #10242 2017-11-14 15:45:30 -03:00
Leon Krause
9b7b46143d Move singleton management from ProjectSettings to Engine 2017-11-14 15:15:13 +01:00
Rémi Verschelde
4685674389
Merge pull request #12842 from ianb96/shader_editor_fix
Shader Editor context menu and line operations and style fix
2017-11-14 07:33:04 +01:00
Ian
c478c1ded5 remove debug msg 2017-11-13 18:16:59 -05:00
Rémi Verschelde
c4f9820c2f
Merge pull request #12909 from n-pigeon/tra_gizmo_fix_2
Fix uninitialized bool. Breaks translation in release_debug target.
2017-11-13 23:11:04 +01:00
Przemysław Gołąb (n-pigeon)
9a4f6d6689 Fix uninitialized bool. Breaks translation in release_debug target. 2017-11-13 22:54:33 +01:00
Rémi Verschelde
4755bc9e2b
Merge pull request #12854 from poke1024/fix-poly2d-editor-handle
Fix minor drawing order glitch in polygon 2D editor
2017-11-13 22:18:56 +01:00
Rémi Verschelde
05a780a101
Merge pull request #12869 from ianb96/script_list_move
Script List Reorder
2017-11-13 21:55:09 +01:00
George Marques
4c77f48067
Refresh import options when changing importer 2017-11-13 17:31:00 -02:00
Bernhard Liebl
89f7032c2e Fix drawing order of polygon 2d editor handles 2017-11-13 18:49:06 +01:00
Rémi Verschelde
390e957ba4
Merge pull request #12893 from Chaosus/dupsignals
Duplicate signals fixes
2017-11-13 17:13:11 +01:00
Chaosus
6496b53549 Duplicate signals fixes 2017-11-13 18:42:07 +03:00
Rémi Verschelde
faf097d350
Merge pull request #12895 from volzhs/better-ttr-format
Better TTR format
2017-11-13 12:46:39 +01:00
volzhs
2e7345c00f Better TTR format 2017-11-13 20:37:28 +09:00
Przemysław Gołąb (n-pigeon)
e2160afcd8 Fixed View plane local rotation.
Plus some cleanups.
2017-11-13 09:15:41 +01:00
Webster Sheets
05dce362d5 Fix for #12056, though GTLF import of that file is still incorrect. 2017-11-12 23:47:51 -05:00
Ian
9f6a06b992 add script list drag n drop 2017-11-12 15:45:42 -05:00
Ian
9126a2072c move item up/down context menu and shortcut 2017-11-12 15:45:42 -05:00
Ian
798a14eb33 add script editor list context menu 2017-11-12 15:45:42 -05:00
Rémi Verschelde
47e5b43160
Merge pull request #12852 from djrm/pr_import_fixes
Update meshes when reimporting,
2017-11-12 21:17:58 +01:00
Rémi Verschelde
858d3d4adc
Merge pull request #12864 from Paulb23/root_node_delete_undo_issue_3642
Fixed scene tree not updating when undo/redo delete of root node, issue 3642
2017-11-12 21:16:45 +01:00
Rémi Verschelde
dd55cc7879
Merge pull request #12860 from leezh/doc_fix
Moved doc description formatting. Fixes #12798
2017-11-12 21:14:07 +01:00
Rémi Verschelde
b0f10c6643
Merge pull request #12855 from Hinsbart/remove_preview
Remove preview when closing "change default type" dialog.
2017-11-12 21:03:42 +01:00
Daniel J. Ramirez
2932cc79ee Update meshes when reimporting,
Save scene preview even when not doing save and play.
2017-11-12 13:41:44 -06:00
Rémi Verschelde
31117588fd
Merge pull request #12823 from Web-eWorks/meshdropfix
Fix #12571: Dragging OBJ mesh files no longer instances a scene
2017-11-12 20:31:51 +01:00
Paulb23
7ec55de8ec Fixed scene tree not updating when undo/redo delete of root node, issue 3642 2017-11-12 16:12:53 +00:00
Zher Huei Lee
34f4ae18b8 Moved doc description formatting. Fixes #12798
Paragraph spacing is now applied only during rendering (so doctool
preserves formatting).

Paragraph spacing now no longer applies within [code] tags.

Extra bbcode is now ignored within [code] tags.
2017-11-12 22:32:59 +08:00
Poommetee Ketson
968c490302
Merge pull request #12841 from djrm/pr_fixes
Fixed theme update and some widgets.
2017-11-12 16:58:54 +07:00
Andreas Haas
58fafea485
Remove preview when closing "change default type" dialog. 2017-11-12 10:50:32 +01:00
Andreas Haas
b3c08a8326
Merge pull request #12822 from Web-eWorks/importerfixes
Allow changing importers in the import dock.
2017-11-11 21:08:06 +01:00
Andreas Haas
b3cef1b61e
Merge pull request #12829 from ianb96/project_settings_fix
Project Settings Crash fix
2017-11-11 21:03:05 +01:00
Ian
94b3e786cd shader editor context menu and line operations and style fix 2017-11-11 14:46:59 -05:00
Daniel J. Ramirez
592ee82010 Fixed theme update and some widgets. 2017-11-11 11:58:30 -06:00
Jakub Grzesik
518d907914 ability to lock spatial nodes transform in editor 2017-11-11 12:56:37 +01:00
Poommetee Ketson
aca18b6a49
Merge pull request #12806 from letheed/unify-degrees
Unify degree methods and properties
2017-11-11 13:27:02 +07:00
Poommetee Ketson
9bbcc96b70
Merge pull request #12821 from viprip/fix_remove_icon
Replace Del icon by Remove icon
2017-11-11 13:25:37 +07:00
Ian
e09d76e67d fix #12769 project settings crash 2017-11-10 21:24:57 -05:00
Daniel J. Ramirez
8cf0d6ceb4 Some fixes and improvements.
Changed FileDialogs for EditorFileDialogs in EditorNode.
Updated CheckButton.
2017-11-10 16:45:08 -06:00
Webster Sheets
5c88ad9457 Dropping a mesh file into the scene no longer creates an instanced scene. 2017-11-10 16:31:53 -05:00
William McKIE
fd01e7d89e Replace Del icon by Remove icon
It would seem there are editors that still used the old del icon
inherited from 2.X instead of the fresh remove icon from 3.X
resulting to be replaced to an "Error" textual icon.
2017-11-10 21:57:39 +01:00
Webster Sheets
21b3d62237 Allow changing importers in the import dock.
Still needs a major refactor to allow editing the properties of the
new importer without having to reimport and re-select the items again.
2017-11-10 15:53:01 -05:00
letheed
482e07af7e Unify degree members and properties 2017-11-10 12:52:07 +01:00
Peter Todorov
73f27632f6 Fix for disappearing import panel contents (#11451) 2017-11-10 12:16:58 +02:00
Gilles Roudiere
e2785fbded
Merge pull request #12797 from viprip/12668_fix_texture_region_dock_zoom_icon_is_misaligned
Fix misaligned zoom icon in Texture Region Editor plugin
2017-11-10 10:07:49 +01:00
Rémi Verschelde
9a4a59ce13
Merge pull request #12796 from djrm/pr_some_virtual_classes
Expose some editor singletons as virtual
2017-11-10 10:07:02 +01:00
Rémi Verschelde
98d9423fa3
Merge pull request #12402 from MillionOstrich/filesystem-drag-move
Filesystem drag & drop moving fixes
2017-11-10 09:58:07 +01:00
Rémi Verschelde
346b4b5a1c
Merge pull request #12390 from MillionOstrich/filesystem-folder-drag
Improved file/folder drag preview for filesystem dock
2017-11-10 09:57:23 +01:00
Rémi Verschelde
94a915135d
Merge pull request #12786 from n-pigeon/spatial_transform_gizmo
Cleanups in Spatial Transform Gizmo
2017-11-10 09:53:43 +01:00
Przemysław Gołąb (n-pigeon)
f1c2a18e57 Cleanups in Spatial Transform Gizmo
Fixed translation i local space - changed a bit how it was implemented.
Fixed bug with rotations when object is scaled.
Added safety check preventing scaling to 0 in local space.
All Gizmoz display numerical output message on the bottom of the viewport.
Unified code a bit, so it will be easier to maintain.
2017-11-10 08:22:11 +01:00
Rémi Verschelde
2e89dd19b1
Merge pull request #12794 from djrm/pr_visual_improvements
Fixed project manager and dialog fonts.
2017-11-10 08:01:32 +01:00
Rémi Verschelde
eef1e3bb98
Merge pull request #12470 from djrm/pr_fix_editor_settings
Fixed editor settings disappearing.
2017-11-10 07:45:24 +01:00
William McKIE
1fc787e6ac Fix misaligned zoom icon in Texture Region Editor plugin
The zoom icon was aligned on top compared to the others zoom buttons
from the HBox container.

Closes #12668.
2017-11-10 07:31:36 +01:00
Daniel J. Ramirez
31147ea3ed Expose some editor singletons as virtual 2017-11-09 22:25:10 -06:00
Daniel J. Ramirez
c57fc8ee7d Fixed editor settings disappearing.
Some items that are no longer defined may disappear, but thats expected i guess.
2017-11-09 22:10:48 -06:00
Daniel J. Ramirez
12251a3a15 Fix theme with custom font. 2017-11-09 20:45:18 -06:00
Juan Linietsky
192a4d7de5 Reworked how servers preallocate RIDs, should fix #10970 2017-11-09 23:35:34 -03:00
Daniel J. Ramirez
01512efbe6 Removed show type icons option 2017-11-09 19:45:21 -06:00
Daniel J. Ramirez
e524cc7135 Fixed project manager and dialog fonts. 2017-11-09 19:38:48 -06:00
Daniel J. Ramirez
1b7f99d9e5 Several improvements to GridMap.
Fixed crash when undoing.
More ergonomic shortcuts.
Fixed freelook navigation.
2017-11-09 16:18:48 -06:00
Caleb Richardson
a607e6125e Fix crash when converting empty scene to TileSet
Closes #12708.
Cherry-picked from #12732.
2017-11-09 18:39:29 +01:00
Chaosus
423f299530 Enable asset store for godot 3.0 2017-11-09 18:32:40 +03:00
Marc Gilleron
0b7ae364ea Fix tilemap undo/redo 2017-11-08 22:26:19 +01:00
Rémi Verschelde
b5e8cd3c70
Merge pull request #12718 from GodotExplorer/export-editor-theme
Create new theme from the current editor
2017-11-08 16:21:02 +01:00
Rémi Verschelde
7b26b3b67f
Merge pull request #12731 from mhilbrunner/issue-12584
Ignore files not ending with '.xml' when building doc header
2017-11-08 11:12:53 +01:00
mhilbrunner
c755b684c9 Editor: Update 2D viewport and inspector selection on delete. Fix #12591. 2017-11-08 03:10:31 +01:00
mhilbrunner
487afde3bb Ignore files not ending with '.xml' when building doc header 2017-11-07 22:57:17 +01:00
Chaosus
af5708e29e Fixed invalid license symbol 2017-11-07 23:01:43 +03:00
Geequlim
0781649456 Add menu to import current editor theme into theme editor 2017-11-07 13:32:04 +08:00
Nathan Warden
400db80d25 Fixed a bug where materials weren't assigned to scene on first import. 2017-11-07 00:06:11 -05:00
Poommetee Ketson
7376798a85
Merge pull request #12635 from poke1024/line2d-poly-editor
Use AbstractPolygon2DEditor for Line2D
2017-11-06 09:11:58 +07:00
Poommetee Ketson
d37d4ae1cd
Merge pull request #12631 from poke1024/docspolish
Docs cosmetics: add more space to Signals, Enumerations, Constants
2017-11-06 09:11:39 +07:00
Rémi Verschelde
a0ac0804ca
Merge pull request #12640 from poke1024/createnode-ui
In Create New Node, always select and show best (shortest) match
2017-11-05 11:51:59 +01:00
Rémi Verschelde
3149ef084b
Merge pull request #12639 from bojidar-bg/x-add-rest-template-listing
Change URL of the mirror list
2017-11-05 11:49:02 +01:00
Bernhard Liebl
88007e91cf Use AbstractPolygon2DEditor for Line2D 2017-11-04 20:26:38 +01:00
Bernhard Liebl
8f204d78fd In Create New Node, always select and show best (shortest) match 2017-11-04 20:21:41 +01:00
Bojidar Marinov
40acb850c0
Change URL of the mirror list 2017-11-04 20:08:13 +02:00
Bernhard Liebl
a8012f1b25 Fixes random sorting order in Create New Node dialog 2017-11-04 19:01:01 +01:00
Bernhard Liebl
8c6cc4dc2d Docs cosmetics: add more space to Signals, Enumerations, Constants;
aligned table layout for setters and getters
2017-11-04 14:09:45 +01:00
MillionOstrich
f6ca9d34a2 Improve file/folder drag preview on filesystem dock
Added icons for files/folders in drag preview
Fixed folders getting an empty string label
Don't show "1 more file(s)" label instead of the file
Added "more folders" case if moving folders exclusively
Merged drag_files and drag_files_and_dirs to reduce code duplication
Simplified get_drag_data_fw and removed commented out code
2017-11-03 21:39:53 +00:00
MillionOstrich
078371cfb6 Fix dragging a resource onto filesystem dock
Call push_item before save_resource_as because the save button uses editor_history current.
Reject the drop in can_drop_data if it isn't on a folder or the files list.
Removed some duplicated code
2017-11-03 20:50:51 +00:00
MillionOstrich
9c65924b3d Don't try to move if dragging a folder into itself
If a folder would be moved to an invalid location disallow the drag
Don't treat dragging a file/folder to its current location as invalid
Allow dragging onto empty space / files in the files list
Fix dragging a folder onto "Favourites" starting an invalid move
2017-11-03 20:49:36 +00:00
volzhs
3babb19515 Not to be slow when select multiple files 2017-11-02 23:47:07 +09:00
Rémi Verschelde
c880302754
Merge pull request #12566 from bncastle/select_anim_fix
Select correct animation on creation of a new one
2017-11-02 14:21:09 +01:00
Juan Linietsky
79f81b77e2 -Modules can now add custom version info (added it for Mono)
-Version string takes this version info
-Ability to download templates from the interweb (listing does not work yet)
2017-11-01 23:13:27 -03:00
scorched
1d99f93a7a Fix compilation on Visual Studio 2013 again. 2017-11-01 23:47:05 +03:00
bncastle
95408c8670 Select correct animation on creation of a new one
-  Select the correct animation when creating a new one.
- Removed unneeded new_name variable.
2017-11-01 15:40:58 -04:00
Gilles Roudiere
025f138561
Merge pull request #10618 from poke1024/polygon2d-selection
Proposal for modified Polygon2D editor controls
2017-11-01 18:16:33 +01:00
Cradmon
93e8468d92 Fix to issue #12554, due to error in refactoring in PR #10261 2017-11-01 11:31:13 +00:00
Konstantin Zaitsev
56b25b5fc8 Add command line support to export pck or zip 2017-11-01 14:39:20 +07:00
Rémi Verschelde
58889102b6
Merge pull request #12538 from akien-mga/editorsettings
Code quality refactoring in EditorSettings
2017-11-01 08:25:03 +01:00
Rémi Verschelde
fc6ef93cc8
Merge pull request #12548 from SaracenOne/vertex_compression_import_fix
Restores functionality of the use_compression flag in Collada import
2017-11-01 07:59:39 +01:00
Saracen
ef90965883 Restores functionality of the use_compression flag in the Collada importer. 2017-11-01 00:01:24 +00:00
Zher Huei Lee
0804dd5336 Added String::dedent() to remove text indentation
This functions similarly to Python's textwrap.dedent()

It's also been applied to doc_data.cpp to remove extra whitespace while
parsing the XML.
2017-11-01 07:20:20 +08:00
Rémi Verschelde
63adc9f113
Merge pull request #12539 from bncastle/InputMapDialogClearAction
Clear action name text input when the action is successfully added to the Input Map

[ci skip]
2017-10-31 23:37:01 +01:00
Rémi Verschelde
0438f4875d Some more harmonization of EditorSettings code 2017-10-31 23:36:03 +01:00
Rémi Verschelde
ca31174dd0
Merge pull request #10261 from Cradmon/refactor
Make the File System Dock more user friendly
2017-10-31 23:01:32 +01:00
Juan Linietsky
a4ea63737c Ability to shrink 3D viewport by half 2017-10-31 14:23:47 -03:00
bncastle
a7feec3992 Clear text when a new action is added Project Settings Input Map
When editing the Input Map under Project Settings:
Clear the action name the 'Add' button is clicked and the action is
successfully added.
2017-10-31 12:59:30 -04:00
Rémi Verschelde
2d5de0b185 Reorder EditorSettings code for better legibility
No functional change, only moving stuff around.
2017-10-31 15:16:37 +01:00
Benjamin
2b82997052 Use node name as default filename when attaching script.
When attaching a script to a node that isn't saved to a scene file,
use its name as default filename. If the edited scene's root node *has*
been saved to a file, use that directory.
2017-10-31 09:47:38 +01:00
Rémi Verschelde
31a487660a
Merge pull request #12499 from Zylann/freelook_toggle_mode
Add option to use freelook with a toggle shortcut
2017-10-31 09:29:54 +01:00
Marc Gilleron
b9521f862d Add option to use freelook with a toggle shortcut (like Blender) instead of holding RMB (like Unity) 2017-10-30 23:23:55 +01:00
Rémi Verschelde
a6ddc5a9a4
Merge pull request #12363 from groud/implement_guides
Implement 2D editor guides
2017-10-30 22:58:46 +01:00
Juan Linietsky
495bcd7301 Clean up GI Probe baking, proper button and progress bar. 2017-10-30 16:33:37 -03:00
Rémi Verschelde
80427c1aa2
Merge pull request #12489 from groud/fix_moving_control_with_direction_key
Fixes keybord directionnal keys not moving nodes in the 2D editor
2017-10-30 09:15:34 +01:00
Rémi Verschelde
981ef0be59 Add support for non-ISO locale identifiers via renames map
Windows apparently uses "no" for Norwegian Bokmål, even though its
ISO 639-1 language code is "nb"... Closes #12479.

Also did some non-intrusive cleanup while at it.
2017-10-30 00:02:55 +01:00
Gilles Roudiere
32502a4b68 Fixes keybord directionnal keys not moving nodes in the 2D editor 2017-10-29 22:00:03 +01:00
Rémi Verschelde
277e730d34 Fix typo in project manager
[ci skip]
2017-10-29 18:48:42 +01:00
Rémi Verschelde
f327fba627 i18n: Sync translation templates with current source
[ci skip]
2017-10-29 14:04:00 +01:00
Rémi Verschelde
d3939dcddb i18n: Sync translations with Weblate 2017-10-29 14:03:22 +01:00
Rémi Verschelde
5f24a0b250
Merge pull request #12389 from Chaosus/continuehotkey
Added hotkey for Continue action in Script editor

[ci skip]
2017-10-28 17:52:02 +02:00
Rémi Verschelde
feb30bf329
Merge pull request #12448 from larsonjj/fix/property_editor_hidpi
Fixed scaling issues with editor action button and value editor popovers
2017-10-28 14:19:11 +02:00
Rémi Verschelde
44d4898a64
Merge pull request #12430 from sersoong/master-test
3.0 Add copy button to sprite_frames_editor_plugin
2017-10-28 11:32:29 +02:00
Poommetee Ketson
9449a34f4f ProjectSettings: show error msg in a label instead 2017-10-28 09:35:09 +07:00
Jake Larson
5e641153a6 Fixed interface scaling issues with editor action button and value editor popovers 2017-10-27 19:22:52 -05:00
sersoong
831d601a83 Add copy button to sprite_frames_editor_plugin 2017-10-28 08:03:49 +08:00
Rémi Verschelde
ad85224ebc Merge pull request #12432 from larsonjj/fix/property_editor_action_buttons
Fix editor action button layout
2017-10-27 13:24:43 +02:00
Jake Larson
6c889a3ab5 Fix editor action button layout 2017-10-27 05:55:56 -05:00
Rémi Verschelde
3fe72c7f77 Merge pull request #12386 from zedutchgandalf/popup-text-margins
Fix text margins in property editor pop-up.
2017-10-27 12:47:31 +02:00
sheepandshepherd
53188abed0 Add language option button to project manager
Closes #4901
2017-10-26 14:40:07 -05:00
Robin Arys
ae11255710 Fix text margins in value editor pop-up. 2017-10-25 12:47:52 +02:00
Chaosus
70566c0935 Added hotkey for Continue action 2017-10-25 00:01:18 +03:00
Gilles Roudiere
06a4e2e3ad Implement guides 2017-10-24 22:32:00 +02:00
Rémi Verschelde
847c55bcb1 Merge pull request #12365 from neikeq/p
Add ScriptLanguage::supports_builtin_mode and improve ScriptCreateDialog
2017-10-24 18:59:26 +02:00
Ignacio Etcheverry
e218a13a64 Add ScriptLanguage::supports_builtin_mode and improve ScriptCreateDialog
- Make ScriptCreateDialog disable the built-in script checked button if the language does not support it.
- ScriptLanguage's get_template and make_template now receive the script path as class name if the the script language does not have named classes.
2017-10-24 15:48:58 +02:00
Rémi Verschelde
4af59c5b3f Merge pull request #12340 from homer666/orbit-inertia-toned-down
Reduce default orbit inertia value

[ci skip]
2017-10-24 09:11:50 +02:00
Indah Sylvia
79dda1350d Finished transition of Patch9Rect to NinePatchRect 2017-10-24 13:01:45 +07:00
Rémi Verschelde
16fde4c3b6 Merge pull request #12186 from DmitriySalnikov/ability_to_filter_locales_in_remaps_tab
Added the ability to filter the list of locales in the Remap tab.
2017-10-24 07:32:19 +02:00
DimOkGamer
509f6f81ad Added the ability to filter the list of locales in the Remap tab. 2017-10-24 01:07:40 +03:00
Rémi Verschelde
ad5613ec40 Merge pull request #12310 from Paulb23/toggle_highlight_current_line
Added setting to toggle current line highlighting
2017-10-23 23:25:11 +02:00
Rémi Verschelde
9f7887837a Merge pull request #12360 from volzhs/ttr-format
Fix warning message format for addon plugin

[ci skip]
2017-10-23 23:24:08 +02:00
Rémi Verschelde
19f83e57de Merge pull request #12334 from Zylann/tilemap_bresenham_paint
Use bresenham line in freehand tilemap painting to fill discontinuities
2017-10-23 23:14:45 +02:00
volzhs
59cc6f2ff5 Fix warning message format for addon plugin 2017-10-24 05:31:26 +09:00
Poommetee Ketson
7f1d719c9a
Monitor: add checkbox to monitor list
so that users don't have to hold CTRL to select multiple entries.
2017-10-24 01:16:27 +07:00
Bernhard Liebl
7c245e9f6d adds alternative editing of nodes: you can select nodes, use del to delete nodes, and split edges by simply clicking into edge 2017-10-23 19:01:14 +02:00
Daniel J. Ramirez
a97c8504fb Improved monitors units and colors. 2017-10-23 02:11:02 -05:00
homer666
0be1c893b0 Reduce default orbit inertia value 2017-10-23 16:18:15 +11:00
Marc Gilleron
e9f6ff5bd1 Use bresenham line in freehand tilemap painting to fill discontinuities 2017-10-23 01:26:51 +02:00
Cradmon
2aef4ce0fe Make file system dock more user friendly.
Edited files:
editor/filesystem_dock.h
editor/filesystem_dock.cpp
2017-10-22 15:41:52 +01:00
Paulb23
45670df354 Added setting to toggle current line highlighting 2017-10-22 13:42:08 +01:00
Rémi Verschelde
99c8a8c7b1 Merge pull request #11401 from SaracenOne/snapped_drag
Added snapping to spatial drag and drop.
2017-10-22 12:06:00 +02:00
Alexander Holland
a9876869de Change theme button name to edit theme
[ci skip]
2017-10-22 11:54:37 +02:00
Rémi Verschelde
6dd25b5a5b Merge pull request #11882 from Noshyaar/pr-filedialog
FileDialog: enlarge the file list a bit
2017-10-22 10:35:30 +02:00
Poommetee Ketson
3a71471edd FileDialog: enlarge the file list a bit 2017-10-22 09:14:11 +07:00
Pedro J. Estébanez
27be483a74 Fix TileMap editor not getting input
Fixes #12265.
2017-10-22 03:58:29 +02:00
Rémi Verschelde
b7bebb0f92 Merge pull request #12254 from seixasfelipe/fix_recent_scenes_resizing_font
Fix recent scenes layout when resizing font
2017-10-21 23:41:33 +02:00
Rémi Verschelde
c9894669a9 Merge pull request #12290 from Noshyaar/enum
Bind unbound enums, rearrange some by value

[ci skip]
2017-10-21 23:08:36 +02:00
Poommetee Ketson
9cadb9e5f3 Bind unbound enums, rearrange some by value 2017-10-22 01:58:02 +07:00
Rémi Verschelde
6361e24f29 Cleanup unnecessary debug prints 2017-10-21 20:41:07 +02:00
Felipe Seixas
651246cbff Fix drop-down size when resizing font #12207
Fixes Scene > Open Recent
Fixes ScriptEditor > File > Open Recent
2017-10-21 11:53:53 -04:00
Jakob Sinclair
d9d371fb53 File names for scripts can include '-'
Fixes #12261

Signed-off-by: Jakob Sinclair <sinclair.jakob@mailbox.org>
2017-10-21 17:28:53 +02:00
Poommetee Ketson
9b634180aa Refactor Fixed to Physics 2017-10-21 21:28:08 +07:00
Rémi Verschelde
722a2bb9db i18n: Sync translation templates with current source 2017-10-21 12:04:36 +02:00
Rémi Verschelde
4e9b7bf32e i18n: Sync translations with Weblate 2017-10-21 12:04:36 +02:00
Rémi Verschelde
35683b9f32 Merge pull request #12031 from NathanWarden/export_cancel_to_done
Changed the export and fix dependencies dialog cancel button names to "Close"

[ci skip]
2017-10-21 00:15:48 +02:00
Rémi Verschelde
8cb76888ae Merge pull request #12228 from hi-ogawa/fix-spatial-shader-conversion-with-texture
Fix spatial shader conversion with texture
2017-10-20 23:55:58 +02:00
Rémi Verschelde
7969565de7 Merge pull request #12052 from hi-ogawa/particle-material-conversion-plugin
Create ParticlesMaterialConversionPlugin
2017-10-20 23:54:56 +02:00
scorched
3ba5ee42c3 Fix compilation on Visual Studio 2013 (#10219). 2017-10-20 12:55:22 +02:00
Rémi Verschelde
eacdcd7239 Merge pull request #12206 from SaracenOne/drag_and_drop_fix
Fix drag and drop collision with non-centred origin points.

[ci skip]
2017-10-20 12:43:02 +02:00
Rémi Verschelde
84251d7aec Merge pull request #12195 from groud/fix_snapping
Fix snapping with 2D nodes

[ci skip]
2017-10-20 12:42:35 +02:00
Indah Sylvia
cf8537ad37 Adjusted editable_warning for "This resource was imported...." alert:
- fixed a typo from it's to its
- added 'then' to make it clearer
2017-10-20 09:47:29 +07:00
Hiroshi Ogawa
3bd2a4c421 Fix spatial shader conversion with texture 2017-10-19 16:10:24 +09:00
Saracen
c566899dcf Fix drag and drop collision with non-centred origin points. 2017-10-18 05:16:05 +01:00
Daniel J. Ramirez
e119337ef4 Improved viewport zoom and speed icons 2017-10-17 17:10:34 -05:00
Gilles Roudiere
907970aab6 Restored files mode 2017-10-18 00:05:08 +02:00
Gilles Roudiere
fc02605b49 Fixes snapping and replaces the _draw_canvas by forward_canvas_draw 2017-10-18 00:01:59 +02:00
Rémi Verschelde
bac99b6811 Merge pull request #12121 from Paulb23/editor_settings_undo_redo
Separated Editor settings and Scene undo redo stack
2017-10-17 21:29:41 +02:00
Marc Gilleron
59e6a27da1 Added icon under zoom/speed indicator bar 2017-10-15 21:20:51 +02:00
Rémi Verschelde
0c9d201044 Merge pull request #11407 from toger5/selection_override_color
added option to keep font color on selection + use consistent selection color in help (fixes: #11501)
2017-10-15 20:49:38 +02:00
Rémi Verschelde
e498f017fa Merge pull request #11428 from MillionOstrich/filesystem-dock-folders
Filesystem dock folder handling
2017-10-15 20:48:20 +02:00
Rémi Verschelde
61a26dc23e Merge pull request #11927 from Zylann/freelook_interpolation_fix
Freelook interpolation fixes
2017-10-15 20:40:16 +02:00
Rémi Verschelde
fedd3f0cc6 Merge pull request #11989 from minifigmaster125/export-fix
Fix export(float ...) so that step is .01
2017-10-15 20:24:43 +02:00
Rémi Verschelde
ba91747efe Merge pull request #12045 from vonzimr/master
Add an option to clear recent scenes in the 'Open Recent' submenu
2017-10-15 20:23:54 +02:00
Rémi Verschelde
5cf925c64d Merge pull request #12113 from RandomShaper/anim-easing-type-value
Add ability to type easing value for key transition
2017-10-15 20:17:56 +02:00
Paulb23
4224871460 Separated Editor settings and Scene undo redo stack 2017-10-15 18:17:28 +01:00
Rémi Verschelde
56908d40b2 Merge pull request #12115 from DmitriySalnikov/fix_deleting_remap_option
Fix deleting localization remap option.
2017-10-15 10:10:08 +02:00
Rémi Verschelde
eeb9257a95 Merge pull request #12110 from djrm/pr_spatial_editor_fixes
Return camera to origin when creating a new scene and going to 3d edi…
2017-10-15 10:04:33 +02:00
DimOkGamer
b137bfd7ff Fix deleting localization remap option. 2017-10-15 04:43:02 +03:00
Pedro J. Estébanez
f0a58c5fd1 Add ability to type easing value for key transition 2017-10-15 03:14:13 +02:00
Daniel J. Ramirez
c04f8721f3 Return camera to origin when creating a new scene and going to 3d editor. 2017-10-14 19:05:09 -05:00
Suchaaver Chahal
02c7566b50 keep display int if int range 2017-10-14 12:20:04 -07:00
Paulb23
ca24310a13 Fixed help overview visibility, issue 12011 and 10407 2017-10-14 18:51:35 +01:00
Rémi Verschelde
688deaa1d0 Merge pull request #12059 from AntiSC2/master
Added error dialog when failing to export project
2017-10-14 11:08:55 +02:00
Daniel J. Ramirez
9001ba26aa Added and improved some missing icons, plus some other visual fixes. 2017-10-13 16:39:17 -05:00
Poommetee Ketson
98322a8876
EditorHelp: use '<' to show inheritance
...making it consistent with official docs
2017-10-13 20:02:48 +07:00
Cong
524ffc9712 Use "Command" for OSX in translation strings (#1619) 2017-10-13 20:12:58 +11:00
Jakob Sinclair
a5cabaeb8d Added error dialog when failing to export project
Fixes #11836

Signed-off-by: Jakob Sinclair <sinclair.jakob@mailbox.org>
2017-10-13 00:40:19 +02:00
Daniel J. Ramirez
dbc37afcd9 Added and improved some icons, plus some other minor visual fixes. 2017-10-12 14:43:11 -05:00
vonzimr
b7b13d010b Add an option to clear recent scenes in the 'Open Recent' submenu 2017-10-12 10:59:57 -07:00
Hiroshi Ogawa
d777681882 Create ParticlesMaterialConversionPlugin and format generated shader code 2017-10-12 21:30:19 +09:00
Rémi Verschelde
064f2f4763 Merge pull request #12038 from Hinsbart/argument_names
Fix argument names in method bindings.

[ci skip]
2017-10-11 23:01:17 +02:00
Rémi Verschelde
0e8f0da2fd Merge pull request #12017 from jagt/fix_clear_recent_scripts_crash
fix script editor clear recent scripts crash
2017-10-11 22:42:16 +02:00
Rémi Verschelde
8ed5e64656 Merge pull request #11998 from DmitryKrutskikh/filter-input-events-in-project-manager-3-0
Skip unhandled input events on asset library tab. (3.0)

[ci skip]
2017-10-11 22:31:46 +02:00
Rémi Verschelde
490722c34f Merge pull request #11875 from endragor/fix-export-loop
Fix command-line export looping infinitely
2017-10-11 22:21:52 +02:00
Nathan Warden
cedd95ba85 Changed the export/dependencies dialog button names from "Cancel" to "Close" 2017-10-11 13:21:05 -05:00
Andreas Haas
d7b9847864
Fix argument names in method bindings.
Adds a couple of missing argument names.
2017-10-11 20:00:25 +02:00
jagt
21c2bf84e6 fix script editor clear recent scripts crash 2017-10-11 16:24:57 +08:00
DmitryKrutskikh
3df42cdefb Skip unhandled input events on asset library tab. 2017-10-10 18:23:11 +03:00
Suchaaver Chahal
e29931b22a change step to .01 for float 2017-10-09 22:34:29 -07:00
Marc Gilleron
de42e53671 Freelook interpolation fixes
- Smooth freelook position more explicitely
- Don't let orbit zoom produce translation when it shouldn't
- Make base speed framerate-independent (and tweaked setting for that)
- Don't rely on camera for calculations because it no longer reflect immediate state
- Avoid potential divide-by-zero with zoom inertia
- Make speed/zoom relation optional (if enabled, speed is adjusted from zoom)
- Never change zoom distance when freelook is active
- Orbit inertia also applies on freelook
2017-10-10 02:38:17 +02:00
Gilles Roudiere
ae94758374 Merge pull request #11019 from poke1024/refactor-polygon-v2
Refactoring of polygon editors to a common code base (v2)
2017-10-09 19:47:54 +02:00
MillionOstrich
0939c0a9ce Add right click option to create folders. 2017-10-09 15:11:44 +01:00
MillionOstrich
40d1866b05 Rework DependencyRemoveDialog for deleting folders
DependencyRemoveDialog now takes two lists (files and folders) to delete.
Sort the folders above files in DependencyRemoveDialog & use some more icons.
Stop files which will be deleted from also being listed as having broken dependencies.
Add right-click option for removing folder to filesystem folder tree.
2017-10-09 15:10:40 +01:00
MillionOstrich
716e5b2943 Reworked rename & move for files & folders.
Move/rename don't depend on the path variable anymore.
Fixed dependencies not updating correctly when dragging folders in the folder tree.
Dependencies will only update for files which sucessfully moved.
Reduced code duplication between move & rename.
Added rename & move options to folders tree.
2017-10-09 15:07:36 +01:00
MillionOstrich
e1fb38e891 Can now right click folders in filesystem dock.
Disallow selecting ".." in the file-system dock.
Show In Explorer just uses this->path rather than trying to work it out from the item.
Add support for copy to path to folders .
Removed old commented out code.
2017-10-09 14:59:48 +01:00
Rémi Verschelde
bf12b45986 Merge pull request #11965 from SaracenOne/navgen_fix
Navmesh Generation Fix

[ci skip]
2017-10-09 15:23:40 +02:00
Rémi Verschelde
438e32d652 Merge pull request #11941 from Paulb23/members_selected_scroll_issue_11648
Consistant scroll when using members overview, issue 11648
2017-10-09 15:19:15 +02:00
Rémi Verschelde
11202b8e89 Merge pull request #11922 from Toizi/editor_double_escape
Fixed double escape for quotes in generated about files

[ci skip]
2017-10-09 15:05:30 +02:00
Saracen
70e47996b8 Fix bug in navmesh generation when using meshes with multiple
surfaces.
2017-10-09 13:14:27 +01:00
Rémi Verschelde
cb4830ef5e Merge pull request #11887 from Hinsbart/vs_crash_get_node
VisualScript: Fix crash with get_node().

[ci skip]
2017-10-09 12:47:23 +02:00
Rémi Verschelde
1cb4fc1510 Merge pull request #11846 from gabrielformiga/fix-ik-bone-drag
Fix IK Bone Drag on Viewport
2017-10-09 12:30:56 +02:00
Rémi Verschelde
3091cfcebd Merge pull request #11842 from n-pigeon/rotate_gizmo_fix
Fixed rotating in local space using 3D Gizmo.
2017-10-09 12:29:35 +02:00
Rémi Verschelde
3151b08c48 Merge pull request #11821 from groud/margins_preset_menu
Replaces (and extends) the anchor menu to a Layout one
2017-10-09 12:21:57 +02:00
Rémi Verschelde
2e0c7bb22a Merge pull request #11718 from poke1024/retina
Fixes some retina problems on multi monitor setups
2017-10-09 11:04:46 +02:00
Paulb23
b07dfd75ea Consistant scroll when using members overview, issue 11648 2017-10-08 14:29:27 +01:00
Marius Guggenmos
1d380bf03d fixed double escape for quotes in editor/SCsub 2017-10-07 21:15:35 +02:00
Rémi Verschelde
84e7bbafb7 Merge pull request #11843 from hoelzl/pr-python3-build
Fix Python 3 build
2017-10-07 10:54:58 +02:00
Andreas Haas
dfb6602da0
VisualScript: Fix crash with get_node(). 2017-10-06 21:24:21 +02:00
Poommetee Ketson
59def13b74 EditorSettings: remove duplicate set_favorite_dirs 2017-10-06 20:22:05 +07:00
Andreas Haas
3926c9e893 Merge pull request #11814 from groud/fix_draw_pre_drag_rect
Fixes the Control pre-drag rect not drawn correctly
2017-10-06 13:20:37 +02:00
Ruslan Mustakov
0cd9993ed5 Fix command-line export looping infinitely
EditorProgress calls Main::iteration which calls MessageQueue::flush
which may result in _fs_changed being called again. This fixes the loop
Godot enters in such case.

Fixes #11189
2017-10-06 12:30:54 +07:00
Gilles Roudiere
a25d70ab31 Extends the anchors menu to a presets 2017-10-05 21:53:36 +02:00
Juan Linietsky
3d87b70f7a Added the set/get_setting function in Editor/Project settings. Renamed has() to has_setting. Fixes #11844 2017-10-05 15:34:34 -03:00
Bernhard Liebl
a7f18798aa fixes several scaling problems on multi monitor retina/non-retina setups on OS X 2017-10-05 08:12:17 +02:00
Gabriel
f931093812 Fix IK Bone Drag on Viewport 2017-10-04 21:58:13 -03:00
Matthias Hoelzl
727a381fc9 Fix Python 3 build
- Take care of the differences in handling unicode characters in
  `escape_string` (formerly in `editor/SCsub`, now in `compat.py)`.
- Conditionally include `_winreg` or `winreg` in the Mono editor
  module.
2017-10-04 23:21:32 +02:00
Przemysław Gołąb (n-pigeon)
a6ff281966 Fixed rotating in local space using 3D Gizmo. 2017-10-04 23:18:31 +02:00
Gilles Roudiere
3f279d2a3e Fixes the pre drag rect not drawn correctly 2017-10-03 22:44:34 +02:00
Juan Linietsky
3cadecf17b fixed the OS.has_feature() API, and added support for 32 and 64. 2017-10-03 17:36:14 -03:00
Bernhard Liebl
f815a3df7e Refactoring of polygon editors to a common code base
includes rebase and manual application 67a706fc1b and 4537977d6d
2017-10-03 13:10:45 +02:00
Daniel J. Ramirez
bb69855f1a VS now supports white themes. 2017-10-02 21:31:32 -05:00
Daniel J. Ramirez
6d874ea685 Added correct initialization for script editor theme.
Some style fixes for VS interface.
2017-10-02 18:33:42 -05:00
toger5
975e18895a added spacing to tabs 2017-10-03 00:34:47 +02:00
Andreas Haas
3c1dab7be7 Merge pull request #11770 from Noshyaar/pr-๓
CurveEditor: fix can't edit right tangent
2017-10-03 00:26:12 +02:00
Andreas Haas
5cd68abf88 Merge pull request #11478 from n-pigeon/scale_gizmo
Scale editing Gizmo for Spatial Editor
2017-10-03 00:03:01 +02:00
Andreas Haas
de9cc6ed96 Merge pull request #11592 from SaracenOne/header_generator_fix
Python header generator now generates strings with escape characters.
2017-10-02 23:31:40 +02:00
Andreas Haas
5303efb2fa Merge pull request #11659 from AndreaCatania/prephysics
Renamed fixed_process to physics_process
2017-10-02 23:10:36 +02:00
Andreas Haas
359704bccf Merge pull request #11706 from toger5/create_node_preferred_logic
added smart searching with preferrence to root node
2017-10-02 22:49:28 +02:00
Poommetee Ketson
0ce4d82bbf
CurveEditor: fix can't edit right tangent 2017-10-03 03:48:11 +07:00
Andreas Haas
7cfbef91b3 Merge pull request #11747 from Noshyaar/pr-๑
EditorAudioBus: restore delete option on master bus
2017-10-02 22:36:10 +02:00
Andreas Haas
15dd5c2c60 Merge pull request #11767 from Noshyaar/pr-๒
3DEditorGizmo: fix spotlight and camera gizmo & handle
2017-10-02 22:23:09 +02:00
Poommetee Ketson
478fd21e07 Merge pull request #11575 from marcelofg55/move_path_to_trash
FileSystemDock will now remove files/dirs to trashcan using OS::move_to_trash
2017-10-02 23:52:09 +07:00
Poommetee Ketson
34ea271380 Merge pull request #11646 from djrm/pr_visual_improvements
Several visual improvements.
2017-10-02 23:49:44 +07:00
Poommetee Ketson
ef643690c3 Merge pull request #11661 from mhilbrunner/issue-11616-always-validate
Editor: Run validation on every text change, not only inserts
2017-10-02 23:48:02 +07:00
Poommetee Ketson
4b57e078ae Merge pull request #11674 from marcelofg55/master
Prevent a possible crash when exporting to MeshLibrary
2017-10-02 23:47:23 +07:00
Poommetee Ketson
980e78749b Merge pull request #11743 from groud/zoom_button_fix
Fix zoom button not zooming on the screen center
2017-10-02 23:42:43 +07:00
Poommetee Ketson
520467376b 3DEditorGizmo: fix spotlight and camera gizmo & handle 2017-10-02 10:59:39 +07:00
Gilles Roudiere
6c25c42c77 Merge pull request #11755 from gabrielformiga/fix-draw-bones
Fix bone draw on viewport
2017-10-01 21:32:42 +02:00
Gilles Roudiere
6af38d119e Merge pull request #11399 from toger5/bottom_panel_debugger
Bottom panel debugger
2017-10-01 21:30:43 +02:00
Gabriel
24249a2c4d Fix bones draw on viewport 2017-10-01 16:00:44 -03:00
Poommetee Ketson
872dd67876 EditorAudioBus: restore delete option on master bus 2017-10-01 21:26:17 +07:00
Gilles Roudiere
a0fb178b58 Fix zoom button not zooming on the screen center 2017-10-01 11:30:38 +02:00
Poommetee Ketson
f058fa660d Merge pull request #11720 from ISylvox/EnhanceExperience-onUsing-DragNDropAssetTo2DViewport
Rename Patch9Rect into NinePatchRect on "Drag & Drop Asset to 2D Viewport" Feature
2017-09-30 22:28:25 +07:00
AndreaCatania
4537977d6d Renamed fixed_process to physics_process 2017-09-30 16:19:07 +02:00
Gilles Roudiere
c9e1bff93f Fixes node2D not lockable/groupable 2017-09-30 15:30:51 +02:00
Indah Sylvia
1f30bcb264 Renamed Patch9Rect (which was expected to be renamed to NinePacthRect) into NinePatchRect on "drag & drop asset to 2D viewport" feature. 2017-09-30 20:18:58 +07:00
Gilles Roudiere
854afba672 Merge pull request #11668 from scayze/open_empty_script_fix
fixed not beeing able to open empty scripts
2017-09-30 12:52:36 +02:00
Gilles Roudiere
e6dfce6b52 Merge pull request #11704 from Hinsbart/move_interface_properties
EditorSettings: Move interface/ properties to interface/editor
2017-09-30 12:38:59 +02:00
Juan Linietsky
f494470005 Restored ability to import OBJ files as meshes directly. Finally closes #9445. 2017-09-29 20:38:27 -03:00
mhilbrunner
cfd75f7a4e Editor: Run validation on every text change, not only inserts 2017-09-30 00:48:16 +02:00
toger5
3f423342f4 create dialog search preferrence fixes: #11697 2017-09-29 21:00:10 +02:00
Andreas Haas
20eb17a685
EditorSettings: Move interface/ properties to interface/editor
Fixes inconsistent behaviour where clicking on the "Interface"
in the Editor Settings wouldn't collapse the category as is the
case for all the other categories.
2017-09-29 18:52:56 +02:00
Marcelo Fernandez
da970c5c5f Prevent a possible crash when exporting to MeshLibrary 2017-09-28 22:08:13 -03:00
Scayze
296941f745 fix not beeing able to open empty scripts 2017-09-28 23:58:45 +02:00
toger5
541b0d0238 fixed help bg 2017-09-28 23:21:44 +02:00
Daniel J. Ramirez
15986ea343 Several visual improvements.
Added proper label sizing
Improved text editor status bar
Fixed some issues with ItemList and also some style fixes
Added background to color picker samples (the mrcdk fix)
Fixed slider ticks.
Added VS breakpoint and error styleboxes.
2017-09-28 15:00:43 -05:00
toger5
e8c620abac fixed bottom panel debugger exception
- make it work in combination with the border for tabs
 - fixed updating when changing theme
2017-09-28 16:52:34 +02:00
toger5
e49ac08c24 do not overlap current line with selection color 2017-09-28 16:12:12 +02:00
toger5
d9272bfdbf always use the adaptive code theme selection color in help since it wont changed based on the code theme anyways. 2017-09-28 14:17:35 +02:00
toger5
d58a159e38 keep font color on selection as default 2017-09-28 14:17:14 +02:00
Rémi Verschelde
da144fed4c Merge pull request #11617 from groud/fix_bad_display
Fixes bad display
2017-09-27 22:15:00 +02:00
Guilherme Felipe
bdd5361548 Fix remove icon in autoload panel 2017-09-27 10:08:28 -03:00
Gilles Roudiere
6f185cc9f7 Remove unecessary anchors&margins set causing bad display (sons of containers) 2017-09-27 00:38:28 +02:00
Przemysław Gołąb (n-pigeon)
aad234d5ac Scale editing Gizmo for Spatial Editor
Added support for axis locked scaling with handles, supports both world and local space. Local space recommended for most editing tasks.
Also fixed some small bugs, polished Gizmo looks and cleaned up some dead code.
Happy scaling! :)
2017-09-26 20:39:41 +02:00
volzhs
3e0d18b9c0 Update theme property respectively 2017-09-26 20:08:25 +09:00
Rémi Verschelde
da03791e45 Merge pull request #11598 from djrm/pr_fix_code_editor_close
Fix missing code editor find and replace missing hover icon.

[ci skip]
2017-09-26 08:03:41 +02:00
Rémi Verschelde
777f26fe29 Merge pull request #11597 from djrm/pr_interface_colors
Removed most of the custom colors from the interface.
2017-09-26 08:03:00 +02:00
Daniel J. Ramirez
541c4bfd6e Fix missing code editor find and replace missing hover icon. 2017-09-25 23:40:22 -05:00