Commit graph

3610 commits

Author SHA1 Message Date
Daniel Rakos
6df53e0401 MeshLibrary export improvements
- From now materials assigned to the MeshInstance (not the Mesh) get exported
  into the MeshLibrary when such materials exist. This enables workflows where
  the MeshLibrary is exported from an imported scene (e.g. GLTF) where the
  materials assigned to the Mesh (not the MeshInstance) get overwritten on
  re-import, thus can't use editor set materials in the exported MeshLibrary
  unless they are assigned to the MeshInstance whose materials get saved with
  the inherited scene thus persist across re-imports.
- When appending to an existing MeshLibrary only generate previews for newly
  added or modified meshes.
- During preview generation transform camera and lights instead of the mesh
  and use the source MeshInstance's transform for the mesh to avoid weird
  previews being generated for meshes with a position dependent material
  (e.g. when using triplanar mapping).
- Adjust the camera angle and light directions used in mesh preview generation
  for better results.
2019-02-03 22:48:35 +01:00
Rémi Verschelde
c21ca98e4c
Merge pull request #25469 from ankitpriyarup/master
Fixes error when new name contains only unallowed characters
2019-01-30 12:05:35 +01:00
Ankit Priyarup
ee560dd987 Invalid node name should check if new_name is empty then cancel rename, fixes 25226 2019-01-29 22:21:50 +05:30
volzhs
1c14da3273 Remove unnecessary call VS::get_singleton() twice 2019-01-29 02:55:13 +09:00
Rémi Verschelde
70689ebffd Remove unused iostream includes 2019-01-28 12:16:22 +01:00
Juan Linietsky
98ffb6b37e Instantiate global classes properly, fixes #20857 2019-01-27 18:18:54 -03:00
Rémi Verschelde
2ad6212a3f
Merge pull request #25372 from JFonS/add_gizmo_docs
Minor fixes and documentation for Spatial Gizmos
2019-01-27 19:06:42 +01:00
JFonS
e90fb5b0ab Minor fixes and documentation for Spatial Gizmos 2019-01-27 18:40:01 +01:00
Rémi Verschelde
4cfce99955
Merge pull request #25355 from YeldhamDev/color_picker_changes
Make some small enhancements to the ColorPicker
2019-01-27 18:37:48 +01:00
Rémi Verschelde
1bed784c9a
Merge pull request #25380 from godotengine/fix_pivot
Fixes the pivot setting with control nodes
2019-01-27 18:20:06 +01:00
Rémi Verschelde
86e1de71df
Merge pull request #25383 from akien-mga/editorinspector-property_changed_update_all
Fix EditorInspector property_changed argument mismatch
2019-01-27 17:58:12 +01:00
Juan Linietsky
a089061120 Fix pixelized previews, but also instances of breaking ImageTexture cache. Closes #25378. 2019-01-27 13:41:47 -03:00
Rémi Verschelde
563139e5f3 Fix EditorInspector property_changed argument mismatch
Bug introduced in #21701, missed in 541422a4a2.
2019-01-27 17:37:24 +01:00
Gilles Roudiere
d3619f8743 Disables the Layout menu when a Control node is child of a container 2019-01-27 16:36:10 +01:00
Gilles Roudiere
3cfd80b0bf Fixes the pivot setting with control nodes 2019-01-27 15:51:45 +01:00
Michael Alexsander Silva Dias
182f26fe5e Make some small enhancements to the ColorPicker 2019-01-27 12:44:39 -02:00
Rémi Verschelde
c3b0ee5941 Fix code style issues 2019-01-26 22:35:31 +01:00
Rémi Verschelde
16fa788510 i18n: Sync translation template with current source 2019-01-26 22:27:36 +01:00
Rémi Verschelde
8cc9bf5969 i18n: Sync translations with Weblate 2019-01-26 22:24:25 +01:00
Rémi Verschelde
d9268265dc
Merge pull request #25354 from Ranoller/patch-5
Profiler list functions from max to less expensive
2019-01-26 20:44:10 +01:00
Juan Linietsky
ed1b9c1f15 Avoid crash in import (though model still does not work well), fixes #19346 2019-01-26 16:32:05 -03:00
Ranoller
d7c72dc2d1
Profiler list functions from max to less expensive
Solves https://github.com/godotengine/godot/issues/25328 and partially  https://github.com/godotengine/godot/issues/5682
2019-01-26 19:54:04 +01:00
Rémi Verschelde
1365bed8ed
Merge pull request #25338 from DualMatrix/search_inaccurate
Fixed Recent/Favorite in Create Node dialog not selecting right node
2019-01-26 14:24:35 +01:00
DualMatrix
e3648c0a79 Fixed Recent/Favorite in Create Node dialog not selecting right node
Fixes #6535
2019-01-26 13:52:53 +01:00
Rémi Verschelde
35c1694c04
Merge pull request #24923 from groud/add_color_audio_buses_buttons
Adds color to the audio buses buttons
2019-01-26 12:02:24 +01:00
Rémi Verschelde
6e600706e9
Merge pull request #25237 from eska014/pjmgr-rasterizerselect
Add renderer selection to New Project dialog
2019-01-26 00:14:45 +01:00
Juan Linietsky
b3335e943b Implement missing autorestart in oneshot node, closes #22238 2019-01-25 18:15:29 -03:00
Juan Linietsky
b0758b2d73 Stop preview generator before reimporting resources with different type. 2019-01-25 17:27:50 -03:00
Juan Linietsky
5bd3f72878 Properly warn about the effects of changing an import type, as well as force editor restart. Fixes #23874 2019-01-25 17:23:56 -03:00
Juan Linietsky
853f985b63 Make sub-inspectors not listen to node removals, since they never edit nodes. Fixes #23554 2019-01-25 15:14:56 -03:00
Juan Linietsky
32fa136cc7 Ability to keep images in ImageTexture cached while using editor, fixes #25243 2019-01-25 13:40:23 -03:00
Rémi Verschelde
c298b5267a
Merge pull request #25306 from DualMatrix/no_showup
Fixed function names of built-in scripts not showing up in debugger
2019-01-25 14:41:23 +01:00
DualMatrix
f119e0b156 Fixed function names of built-in scripts not showing up in debugger
Fixes #25198
2019-01-25 12:54:50 +01:00
Leon Krause
12bdb46706 Add renderer selection to New Project dialog 2019-01-25 01:49:55 +01:00
groud
cb37de33ad Adds color to the audio buses buttons 2019-01-24 23:02:53 +01:00
groud
8676370aa5 Fixes Node2D selection not adapting to editor zoom level 2019-01-24 20:43:11 +01:00
Rémi Verschelde
3551e3478a
Merge pull request #25260 from neikeq/qq
PluginConfigDialog: Add partial support for more script language
2019-01-23 15:41:11 +01:00
Ignacio Etcheverry
504508e61c PluginConfigDialog: Add partial support for more script language 2019-01-23 14:54:33 +01:00
Marcin Zawiejski
e53c5d858a
Fix global settings consistency
Fixes #25161
2019-01-23 00:09:22 +01:00
Juan Linietsky
cd45f05f7e Forbid making root on inherited scenes, closes #24484 2019-01-22 13:49:03 -03:00
Juan Linietsky
c70c43c888 Make inspector gain focus on refresh only if it has it, fixes #24979, closes #25053 2019-01-22 12:29:26 -03:00
Rémi Verschelde
4a184a79e0
Merge pull request #25215 from akien-mga/scripteditor-goto-line
Fix going to script line on VisualScript errors
2019-01-22 12:19:15 +01:00
Rémi Verschelde
8cc83accd3
Merge pull request #25195 from YeldhamDev/texregion_editor_sprite3d
Make the Texture Region Editor able to edit regions of Sprite3Ds
2019-01-22 11:44:12 +01:00
Rémi Verschelde
79a4c41b22 Fix going to script line on VisualScript errors
Fixes #18103, which was a regression from #16888.
2019-01-22 10:55:55 +01:00
Juan Linietsky
6fa632b821 Add function to obtain filesystem type from DirAccess.
Change EditorFileSystem to not use directory modification times on FAT32, fixes #20946
2019-01-21 18:06:14 -03:00
Rémi Verschelde
100154a131 i18n: Sync translation template with current source 2019-01-21 20:36:37 +01:00
Rémi Verschelde
f1f65d9c05 i18n: Sync translations with Weblate 2019-01-21 20:35:16 +01:00
Michael Alexsander Silva Dias
f1cd587bbd Make the Texture Region Editor able to edit regions of Sprite3Ds 2019-01-21 16:52:57 -02:00
Rémi Verschelde
2323464f5e ExportDialog: Make error messages translatable
Also fix missing newlines that caused #24202.
2019-01-21 18:34:53 +01:00
Rémi Verschelde
26cf4fed6e
Merge pull request #25163 from ankitpriyarup/master
Disable autowrap for export dialog errors
2019-01-21 18:07:35 +01:00