Commit graph

2887 commits

Author SHA1 Message Date
DualMatrix
c43ffc8917 Prevent overwriting open scenes when saving
Prevent overwriting open scenes when saving, this fixes #17628
2018-09-07 15:54:26 +02:00
Rémi Verschelde
8804eb8c06
Merge pull request #21707 from JFonS/fix_instanced_selection
Fix selection of instanced scenes in 3D
2018-09-05 18:11:56 +02:00
Rémi Verschelde
2f4912ec69
Merge pull request #21767 from volzhs/expand-collapse-all
Make expand/collapse all properties menu working
2018-09-05 18:04:44 +02:00
Rémi Verschelde
021159330c
Merge pull request #21766 from volzhs/bitmask-color
Make better look for bitmask
2018-09-05 18:03:40 +02:00
volzhs
ce4067e38b Make expand/collapse all properties menu working 2018-09-05 11:03:10 +09:00
volzhs
192beed068 Make better look for bitmask 2018-09-05 10:49:48 +09:00
Rémi Verschelde
5fe01d4cfc Move ParticlesMaterial code to its own resource file
It's shared by both 2D and 3D particles (+ CPU ones), so it makes sense
to have as a common resource. It also allowed to disable compilation of
Particles (3D) when using 'disable_3d'.

Also cleaned up includes in SpatialEditorGizmos and some other places,
as well as dropped dead code in material_editor_plugin.cpp.
2018-09-04 11:32:56 +02:00
JFonS
4a412943d4 Fix selection of instanced scenes in 3D 2018-09-02 22:31:03 +02:00
Guilherme Felipe
4356af2a68 [Texture Import] Fix invert color 2018-09-02 11:35:48 -03:00
Hugo Locurcio
9c5ce5cf58
Fix the project manager window size on hiDPI displays on macOS
This closes #21525.
2018-09-02 11:52:26 +02:00
Rémi Verschelde
737c90963f
Merge pull request #21636 from akien-mga/docdata-variant
DocData: Fix return type listed as "var" instead of "Variant"
2018-09-01 23:40:11 +02:00
Rémi Verschelde
ab60283798
Merge pull request #21663 from Calinou/fix-editor-shortcut-defaults
Fix some editor shortcuts' default values not being set properly
2018-09-01 20:40:29 +02:00
Hugo Locurcio
af139af69e
Fix some editor shortcuts' default values not being set properly
This also changes the uppercase/lowercase/capitalize shortcuts
to Shift+F4, Shift+F5 and Shift+F6 respectively to avoid conflicts
with the new Find Next shortcut.

This closes #21612.
2018-09-01 16:20:47 +02:00
Ibrahn Sahir
02693b9af6 Removed some unneeded generated headers from the editor directory SCsub.
These headers are currently built in (and included from) the core directory.
Removing the editor directory versions to avoid confusion.
2018-09-01 13:00:04 +01:00
Michael Alexsander Silva Dias
8c74257d68 Make "Search Classes" dialog have relationship lines if the setting is enabled 2018-08-31 21:48:56 -03:00
Rémi Verschelde
f92b87e5f8 DocData: Fix return type listed as "var" instead of "Variant" 2018-08-31 22:41:14 +02:00
Kelly Thomas
e00baaf6ce emit more detailed type information for signal parameters 2018-08-31 22:34:22 +02:00
Rémi Verschelde
51dfdf549e ExportDialog: Validate path before allowing export
Otherwise one could quite easily end up with the exported game
being hidden files named ".x86_64" and ".pck" for example.

Also improved the default filename logic a bit to also include
extension, and never fallback to an empty string.

Also fixed being able to click "Export project" without selecting
a preset.
2018-08-31 11:19:13 +02:00
Will Nations
dee0ee749d Fix Script Classes not instancing with custom name. 2018-08-30 16:01:39 -05:00
JFonS
07d9b7af7a Fix regression #21262 in Path Gizmo
closes #21262
2018-08-30 14:24:24 +02:00
Rémi Verschelde
9eb4d4ab2d Add missing copyright headers 2018-08-29 22:41:17 +02:00
Rémi Verschelde
6003cf70b1
Merge pull request #21578 from volzhs/font-hindi
Add Hindi font for editor
2018-08-29 22:41:09 +02:00
volzhs
1dc6d47df9 Add Hindi font for editor 2018-08-30 05:11:09 +09:00
Juan Linietsky
cf834a22dc Ported CPU particles to 2D 2018-08-29 16:48:55 -03:00
Rémi Verschelde
39cbb992c3
Merge pull request #21516 from elasota/fix-bptc
Fix BPTC regressions
2018-08-29 16:35:34 +02:00
Marcelo Fernandez
20bea1e231 Unexpose TileMap set_celld 2018-08-29 09:00:00 -03:00
Rémi Verschelde
6c8aa939e4
Merge pull request #21539 from yurchor/master
Fix minor typos and word puzzles
2018-08-29 12:21:33 +02:00
Yuri Chornoivan
06e73522dc Fix vformat(), minor typos and word puzzles 2018-08-29 11:50:39 +03:00
Bernhard M. Wiedemann
83b856c046 BuildSystem: Sort input file lists
so that godot package builds reproducibly
in spite of indeterministic filesystem readdir order
and http://bugs.python.org/issue30461

See https://reproducible-builds.org/ for why this is good.

Sort font input file list, so that builtin_fonts.gen.h
is created in a reproducible way

Sort list of platforms, so that editor/register_exporters.gen.cpp
is created in a reproducible way

Sort list of source files, so that .a files and resulting godot binaries
are created in a reproducible way
2018-08-29 10:24:07 +02:00
Bernhard M. Wiedemann
f312582326 BuildSystem: Fix font list
We want to add the individual strings to the list
and not add a list object to the list.

Without this patch, sorting failed because "str < list"
is not a valid operation in python.
2018-08-29 10:24:07 +02:00
Rémi Verschelde
b6c170165c
Merge pull request #21485 from JFonS/fix_selection
Saner selection code for instanced scenes in 3D,  should close #21447
2018-08-29 10:08:41 +02:00
Rémi Verschelde
7e79fb80db Fix z-fighting on origin grid lines in spatial editor
Fixes #21264.
2018-08-29 09:27:50 +02:00
Will Nations
ca14766e3a Fix making _editor_icon meta during CLEAR_SCRIPT 2018-08-28 15:32:35 -05:00
Tommi Komulainen
aded18104b Scale the Item List Editor window size with the editor scale
Makes the dialog bigger and more usable on HiDPI screens.

Fixes #21520
2018-08-28 19:17:29 +02:00
Marcin Zawiejski
eaa0dbc7d8 Fix for p_width - 1=-1 out of size
Fixes a zero-size image creation by moving the profiler plot update call
to the Clear button handler so it is not called during initialization.
2018-08-28 11:49:12 +02:00
Rémi Verschelde
ac38b7e97b
Merge pull request #21496 from tko/macos-complete
[macOS] change "Complete Symbol" shortcut to not conflict with Spotlight
2018-08-28 07:40:55 +02:00
Rémi Verschelde
cda5a56808
Merge pull request #21495 from tko/macos-replace
[macOS] fix conflicting keybindings for (Find and) Replace...
2018-08-28 07:38:30 +02:00
elasota
084cbdefa2 Fix BPTC and fix importing HDR images with LDR compression 2018-08-27 23:05:04 -04:00
K. S. Ernest (iFire) Lee
fa62037ff6 In the GLTF importer normalize Quaternions after every operation and when reading from the format. 2018-08-27 14:59:28 -07:00
Tommi Komulainen
c2f0b4c9c6 [macOS] change "Complete Symbol" shortcut to not conflict with Spotlight
The default shortcut for Spotlight search is Command+Space so try not to
use it. Instead use Ctrl+Space similar to Xcode.
2018-08-27 20:39:43 +02:00
Tommi Komulainen
464756ec0f [macOS] fix conflicting keybindings for (Find and) Replace...
```
Play Scene        Command+R           (no change)
Replace...        Command+R        => Option+Command+F
Find Function...  Option+Command+F =>   Ctrl+Command+J
```

On macOS Option+Command+F is commonly used for Find and Replace so use
it instead to avoid conflicting with "Play Scene"

And as Option+Command+F is currently used by "Find Function..." rebind
the latter to Control+Command+J which is the Xcode shortcut for
"Jump to Definition"

Fixes #19817
2018-08-27 20:28:24 +02:00
Juan Linietsky
0565adb20f Removed fallback system and merged bptc into s3tc 2018-08-27 13:47:35 -03:00
Rémi Verschelde
9df5ddae29
Merge pull request #21456 from MarianoGnu/tileset_editor
TileSet editor Fixes
2018-08-27 17:49:02 +02:00
Rémi Verschelde
72996df656
Revert "Try closing gracefully before terminating process" 2018-08-27 17:32:43 +02:00
Omicron
71397e0e17
Typo in text string
reported by Yuri Chornoivan on weblate
2018-08-27 16:12:48 +02:00
JFonS
b58bb95c86 Saner selection code for instanced scenes in 3D, should close #21447
Selecting instanced scenes still doesn't work properly because gizmos are not being added to instanced nodes.
I will probably work on fixing all the shenanigans around selection, but that will take some time.
This part of the code should work better for the moment.
2018-08-27 16:02:49 +02:00
Rémi Verschelde
fc1d464f1f
Merge pull request #21381 from YeldhamDev/members_help_overview_fix
Fix Members/Help Overview getting their items deselected when a tooltip appears
2018-08-27 09:43:00 +02:00
Rémi Verschelde
0f4ba4481a
Merge pull request #21432 from JFonS/fix_material_convert
Fix "Convert To ShaderMaterial" option not working, closes #20891
2018-08-27 08:55:41 +02:00
Rémi Verschelde
a543c68959
Merge pull request #21466 from elasota/fix-layered-texture-import
Fix crash when importing layered textures
2018-08-27 08:00:15 +02:00
Michael Alexsander Silva Dias
df4f3aecd8 Fix Members/Help Overview getting their items deselected when a tooltip appears 2018-08-26 23:55:45 -03:00