Commit Graph

1593 Commits

Author SHA1 Message Date
Rémi Verschelde
4e9f88b649 Merge pull request #7719 from RandomShaper/backport-code-edit-goodies-2.1
Backport goodies for the code editors (2.1)
2017-02-12 23:11:31 +01:00
Rémi Verschelde
9e3f063e99 Revert "Fixes #7630 Hint was be appending for every language. Changed to only fill hint with the matching language."
This reverts commit b6468db118,
the bug will be properly fixed by the cherry-pick of 6b5c595.
2017-02-08 16:18:22 +01:00
Pedro J. Estébanez
0dbfb864ad Backport goodies for the code editors
Refactor duplicated code (from 0159e4f969)
Add line length guideline to code editors (from d9c1729a8f)
Allow turning off zero-padding for line numbers (from 00b3af246b)
(In 3.0 zero-padding is off by default, but for 2.1 I'm setting the default to be on because it's how it always worked.)
Fixed line lenght guideline drawing with color option (from @Paulb23's 6b42cd5fe6)
2017-02-04 16:24:33 +01:00
William Tumeo
f3bc5d443c Add ColorFrame control (2.1)
- cherry-pick from 95eb7466df
2017-02-02 18:22:03 -02:00
Rémi Verschelde
34b6caa433 Merge pull request #7678 from volzhs/fix-save-branch
Fix crash when saving root node by "Save Branch as Scene" with unsaved scene
2017-02-02 08:15:28 +01:00
Rémi Verschelde
6a01cf96b2 Merge pull request #7671 from RandomShaper/load-placeholder-dup-2.1
Replicate load-as-placeholder state on node duplication (2.1)
2017-02-02 08:14:02 +01:00
Rémi Verschelde
1d0997b01e Merge pull request #7660 from zombieCraig/translationfix
Fixes #7630  Editor Translation Import Crash fix
2017-02-02 08:11:39 +01:00
Rémi Verschelde
bd71020354 Merge pull request #7651 from leezh/collada_import_tweaks
Re-Implemented Texture Actions for Scene Import (2.1 Branch)
2017-02-02 08:10:10 +01:00
volzhs
43a2599801 Fix crash when saving root node by "Save Branch as Scene" with unsaved scene
Fix #7667
2017-01-30 07:00:03 +09:00
Pedro J. Estébanez
936f2e3b4e Replicate load-as-placeholder state on node duplication (2.1) 2017-01-29 11:50:42 +01:00
Craig Smith
b6468db118 Fixes #7630 Hint was be appending for every language. Changed to only fill hint with the matching language. 2017-01-27 22:43:44 -08:00
Zher Huei Lee
f3b32746de Re-Implemented Texture Actions for Scene Import
Moved the shared_textures config to the editor category so that it would
be visible in the project settings window again. Fixes #7579

Added option to import textures to the same folder as the source
textures, or to reuse the files without re-importing (flags may need to
be applied manually).
2017-01-26 16:44:27 +08:00
Rémi Verschelde
ad899a0dd9 Merge pull request #7639 from volzhs/fix-scrollbar-2d-editor-2.1
Fix weird scrollbar appearance on 2D editor (2.1)
2017-01-25 20:39:45 +01:00
volzhs
5b2c31a18a Fix weird scrollbar appearance on 2D editor (2.1) 2017-01-25 23:34:41 +09:00
Rémi Verschelde
9038a96e49 Merge pull request #7632 from RandomShaper/hide-lock-icons-2.1
2D Editor: Don't show lock icons for hidden nodes (2.1)
2017-01-25 07:38:16 +01:00
Pedro J. Estébanez
2ac89f6540 Include filesystem dock split offset in editor layouts 2017-01-25 02:46:44 +01:00
Andreas Haas
8f11304dfc 2D Editor: Don't show lock icons for hidden nodes.
Now we only draw those icons for visible Nodes.
Fixes #7518

Cherry-picked/adapted from a043ce7304
2017-01-25 00:58:14 +01:00
Rémi Verschelde
7c47769aa2 Remove Quick Filter Files and fix FS search hotkey
The new Quick Filter Files behaviour since 8b47e26 had not been implemented,
so this implements it and makes it an editor hotkey instead of a menu entry.
Fixes #7582.

(cherry picked from commit c4d6e54e93)
2017-01-21 13:44:27 +01:00
Rémi Verschelde
0669c9816e Merge pull request #7557 from RandomShaper/ordered-image-group-files-2.1
Make image-groups map in export.cfg ordered (2.1)
2017-01-16 21:05:28 +01:00
Pedro J. Estébanez
8e380677cb Make image-groups map in export.cfg ordered
This improves the VCS experience because otherwise they change their order everytime producing spurious changes.
2017-01-16 19:00:48 +01:00
Pedro J. Estébanez
8fca6870c4 Added favorites and recent history to create dialog
Cherry-picked from 8d785812351a0a3eca88214f2436bb7574d55873 and 827a9aa829
2017-01-16 12:38:46 +01:00
Juan Linietsky
9f3c594f9e Making bits of docs appear in different dialogues is made easier with EditorHelpBit 2017-01-16 11:56:00 +01:00
Pedro J. Estébanez
b3d0596c4b Add EditorNode::set_visible_editor()
Cherry-picked from d8af6330e5
2017-01-16 11:56:00 +01:00
Bruno Ortiz
4f35fdd1e3 Exposing edit_resource method of EditorNode in the EditorPlugin (#7355)
(cherry picked from commit 7e0d0d0bb9)
2017-01-12 19:15:30 +01:00
Rémi Verschelde
d8223ffa75 Welcome in 2017, dear changelog reader!
That year should bring the long-awaited OpenGL ES 3.0 compatible renderer
with state-of-the-art rendering techniques tuned to work as low as middle
end handheld devices - without compromising with the possibilities given
for higher end desktop games of course. Great times ahead for the Godot
community and the gamers that will play our games!

(cherry picked from commit c7bc44d5ad)
2017-01-12 19:15:30 +01:00
Marc Gilleron
ba50bb9cb1 Added option to toggle bucket fill preview
(cherry picked from commit 39771f22b6)
2017-01-12 19:15:29 +01:00
Marc Gilleron
2a60bf1cd9 Added bucket fill preview
(cherry picked from commit 36d0281a2b)
2017-01-12 19:15:29 +01:00
volzhs
f520e7788e Show visual notice for visibility on Scene Dock
(cherry picked from commit f33e21e7af)
2017-01-12 19:15:28 +01:00
volzhs
580031e6f5 Able to change visibility when ancestor node is hidden
(cherry picked from commit 792ff11642)
2017-01-12 19:15:28 +01:00
Guilherme Felipe
eea6c43676 Add new option to always open output on play
(cherry picked from commit faf6f865dd)
2017-01-12 19:15:28 +01:00
Guilherme Felipe
3a4c412153 Fix visibility of bottom panel when start playing
(cherry picked from commit 83b82fc267)
2017-01-12 19:15:28 +01:00
Ivan P. Skodje
0701e7c2d8 PopupMenu upgrade: Hide on item selection (#7306)
* Added the option to set hide on item selection. Usable in GDScript and from within the source code when you want to specify popup menus you don't want to close immediately when selecting an item

* Renamed getter from get_ to is_, fixed parent/child behavior, renamed bool variable to match most code and added ADD_PROPERTYNO to save some memory

(cherry picked from commit da950cd0f2)
2017-01-12 19:15:28 +01:00
bebae
0aebdb346a Allows to start the scene with custom arguments within the editor
fixes #7346

Path from the current scene isn't added too the argumens anymore by default and needs to be added throug the custom arguments, with $scene. Matches the behaviour of the executable without any arguments.
Custom Arguments are read from editor/main_run_args

(cherry picked from commit abdedc3522)
2017-01-12 19:15:28 +01:00
Andreas Haas
5bfd0bbe5e TextureRegionEditor: Fix mouse wheel scroll speed.
Any given mouse wheel input will generate two InputEvents in godot.
The zoom methods here acted on both ones, effectively giving a step value of 4 instead of 2.
Fixes #7236

(cherry picked from commit c2040324be)
2017-01-12 19:15:27 +01:00
Andreas Haas
1e34e8d5e1 Fix crash on project importing by dragging a folder.
Fixes #7226

(cherry picked from commit d82c2687f3)
2017-01-12 19:15:27 +01:00
volzhs
f184455187 Show selected node in Scene dock when parent node is folded
Fix #7228

(cherry picked from commit a192e0785e)
2017-01-12 19:15:27 +01:00
volzhs
c07fe5e8de Check keystore field when export Android release apk
(cherry picked from commit 36b4b45170)
2017-01-12 19:15:27 +01:00
Dmitry Kram
6227e8f343 Fix snap mode selector sticking in texture region module
When changing snap mode in texture region plugin ticks was not updating. Issue fixed changing order of setting checked status and setting snap mode.

(cherry picked from commit d766738991)
2017-01-12 19:15:26 +01:00
Ben Hickling
601f056b6f Added snapping to 3D path handles to bring it in line with its 2D counterpart
(cherry picked from commit 4d1acab79b)
2016-11-15 08:44:53 +01:00
volzhs
14b46c4263 Check entered and trimmed path when create, import, install project
(cherry picked from commit 2d9e89ea2a)
2016-11-15 08:44:53 +01:00
volzhs
679e9f413c Fix crash when select target path on import 3d scene window
(cherry picked from commit b0cf201ea3)
2016-11-15 08:44:53 +01:00
volzhs
2d6dabc68e Prevent to select children if selection lock or instanced scene
Fix #7086

(cherry picked from commit c3f4d676c0)
2016-11-15 08:37:48 +01:00
volzhs
9219ac7e44 Fix resetting to default value in EditorSettings
(cherry picked from commit 70cce6152d)
2016-11-15 08:36:53 +01:00
Pawel Kowal
f1c2d70f1a Export immediately if only one device present
(cherry picked from commit 938f9388dd)
2016-11-15 08:35:01 +01:00
volzhs
7d09222b37 Set project name as directory name instead of '.'
(cherry picked from commit 571f33f863)
2016-11-15 08:34:38 +01:00
volzhs
dd8b87f58e Select newly created or imported project automatically
(cherry picked from commit b8f80e9450)
2016-11-15 08:34:32 +01:00
volzhs
64f38490df Prevent to make UndoRedo for duplicate if no selected node
(cherry picked from commit d82928eb49)
2016-11-15 08:29:56 +01:00
Keetz
86c6aabf27 Fix scene tree drag & drop places node as child (#6912)
(cherry picked from commit 2afcbc4b1f)
2016-11-15 08:28:52 +01:00
Saracen
e5f210693c Fixed flag for importing animation and skipping value tracks.
(cherry picked from commit 0063471edd)
2016-11-15 08:28:26 +01:00
Rémi Verschelde
eaf803f71e style: Various other PEP8 fixes in Python files
Done with `autopep8 --select=E7`, fixes:

- E701 - Put colon-separated compound statement on separate lines.
- E702 - Put semicolon-separated compound statement on separate lines.
- E703 - Put semicolon-separated compound statement on separate lines.
- E711 - Fix comparison with None.
- E712 - Fix (trivial case of) comparison with boolean.
- E713 - Fix (trivial case of) non-membership check.
- E721 - Fix various deprecated code (via lib2to3).
2016-11-02 22:30:34 +01:00