summaryrefslogtreecommitdiff
path: root/editor/import
AgeCommit message (Collapse)Author
2018-12-27doc: Sync classref with current sourceRémi Verschelde
Fix various code formatting issues and argument names.
2018-12-27Make error more explicit when OBJ/MTL files are missingRémi Verschelde
Fixes #24595.
2018-12-12Merge pull request #24241 from Rubonnek/move-to-initializer-listRémi Verschelde
Moved member variables to initializer list
2018-12-11Moved member variables to initializer listWilson E. Alvarez
2018-12-11Merge pull request #23361 from mrcdk/wav_loop_backwardRémi Verschelde
Add backward looping support to AudioStreamSample (wav files)
2018-12-08Reverse bitangent on everythings to ensure default normal map behavriour is ↵Bastiaan Olij
consistent
2018-12-03Merge pull request #23991 from glaforte/bugfix/19195Rémi Verschelde
Generate the tangents without de-indexing and re-indexing the vertices.
2018-11-28Merge pull request #24036 from glaforte/bugfix/18790Rémi Verschelde
Changes the check for a singular matrix to use the scale vector.
2018-11-28Changes the check for a singular matrix to use the scale vector.Guillaume Laforte
The check for the determinant does not have enough precision when used with a 0.01 uniform scale.
2018-11-26Generate the tangents without de-indexing and re-indexing the vertices.Guillaume Laforte
The support for shape keys / blend shapes depends on a consistent order for the vertices. Fixes https://github.com/godotengine/godot/issues/19195.
2018-11-25Do not normalize normal map when disabled, fixes #20761Juan Linietsky
2018-11-22Merge pull request #23885 from glaforte/bugfix/22848-attempt2Rémi Verschelde
Avoids error messages when importing zero scale transforms in the COLLADA importer
2018-11-22Do not crash on invalid file, closes #21083Juan Linietsky
2018-11-21Make SVG scale more accurateqarmin
2018-11-21Avoids spamming the user when the COLLADA importer detects a singular basis ↵Guillaume Laforte
during the animation import. Fixes https://github.com/godotengine/godot/issues/22848.
2018-11-19Fixing tangent and binormal logicBastiaan Olij
2018-11-02No longer force mipmaps on import of VRAM textures, closes #10221Juan Linietsky
2018-10-28Add backward looping support to AudioStreamSample (wav files)MrCdK
2018-10-07Baker fixesJuan Linietsky
2018-10-06Remove redundant "== false" codeAaron Franke
Some of this code has been re-organized. f
2018-09-29Fix warning about functions defined but not used [-Wunused-function]Rémi Verschelde
Fixes the following GCC 5 warnings: ``` core/io/zip_io.h:128:26: warning: 'zlib_filefunc_def zipio_create_io_from_file(FileAccess**)' defined but not used [-Wunused-function] core/script_debugger_remote.cpp:110:17: warning: 'ObjectID safe_get_instance_id(const Variant&)' defined but not used [-Wunused-function] drivers/unix/socket_helpers.h:103:12: warning: 'int _socket_create(IP::Type&, int, int)' defined but not used [-Wunused-function] drivers/unix/socket_helpers.h:45:15: warning: 'size_t _set_sockaddr(sockaddr_storage*, const IP_Address&, int, IP::Type)' defined but not used [-Wunused-function] drivers/unix/socket_helpers.h:76:15: warning: 'size_t _set_listen_sockaddr(sockaddr_storage*, int, IP::Type, IP_Address)' defined but not used [-Wunused-function] editor/editor_fonts.cpp:40:24: warning: 'Ref<BitmapFont> make_font(int, int, int, int, const int*, const Ref<Texture>&)' defined but not used [-Wunused-function] editor/editor_themes.cpp:85:26: warning: 'Ref<StyleBoxFlat> change_border_color(Ref<StyleBoxFlat>, Color)' defined but not used [-Wunused-function] editor/import/editor_import_collada.cpp:493:13: warning: 'void _generate_normals(const PoolVector<int>&, const PoolVector<Vector3>&, PoolVector<Vector3>&)' defined but not used [-Wunused-function] editor/import/editor_import_collada.cpp:524:13: warning: 'void _generate_tangents_and_binormals(const PoolVector<int>&, const PoolVector<Vector3>&, const PoolVector<Vector3>&, const PoolVector<Vector3>&, PoolVector<float>&)' defined but not used [-Wunused-function] editor/pvrtc_compress.cpp:118:13: warning: 'void _compress_etc(Image*)' defined but not used [-Wunused-function] modules/etc/image_etc.cpp:89:13: warning: 'void _decompress_etc1(Image*)' defined but not used [-Wunused-function] modules/etc/image_etc.cpp:93:13: warning: 'void _decompress_etc2(Image*)' defined but not used [-Wunused-function] modules/gdscript/editor/gdscript_highlighter.cpp:46:13: warning: 'bool _is_whitespace(CharType)' defined but not used [-Wunused-function] scene/2d/cpu_particles_2d.cpp:510:14: warning: 'float rand_from_seed_m1_p1(uint32_t&)' defined but not used [-Wunused-function] scene/3d/cpu_particles.cpp:474:14: warning: 'float rand_from_seed_m1_p1(uint32_t&)' defined but not used [-Wunused-function] scene/resources/default_theme/default_theme.cpp:123:20: warning: 'Ref<Shader> make_shader(const char*, const char*, const char*)' defined but not used [-Wunused-function] scene/resources/default_theme/default_theme.cpp:130:24: warning: 'Ref<BitmapFont> make_font(int, int, int, int, const int*, const Ref<Texture>&)' defined but not used [-Wunused-function] ``` Had to split `core/io/zip_io.h` into header and .cpp file without 'static' keyword. Not fixed yet (static definition in header used in some files but not all): ``` modules/websocket/lws_helper.h:111:13: warning: 'void _lws_make_protocols(void*, int (*)(lws*, lws_callback_reasons, void*, void*, size_t), PoolVector<String>, _LWSRef**)' defined but not used [-Wunused-function] ``` Also fixed a couple other warnings missed in previous commits.
2018-09-28SCons: Build thirdparty code in own env, disable warningsRémi Verschelde
Also remove unnecessary `Export('env')` in other SCsubs, Export should only be used when exporting *new* objects.
2018-09-27Fix various warnings: [-Waddress], [-Wpointer-arith], [-Wwrite-strings], ↵Rémi Verschelde
[-Wreturn-local-addr] and more Fixes the following GCC 5 warnings: ``` core/os/file_access.cpp:49:19: warning: the address of 'FileAccess::create_func' will always evaluate as 'true' [-Waddress] servers/audio_server.cpp:192:70: warning: comparison with string literal results in unspecified behaviour [-Waddress] drivers/gles2/rasterizer_storage_gles2.cpp:4095:90: warning: NULL used in arithmetic [-Wpointer-arith] modules/gdnative/register_types.cpp:237:3: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] platform/android/export/export.cpp:207:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] modules/gdscript/gdscript.h:150:67: warning: returning reference to temporary [-Wreturn-local-addr] servers/physics_2d/collision_object_2d_sw.h:119:56: warning: returning reference to temporary [-Wreturn-local-addr] servers/physics_2d/collision_object_2d_sw.h:123:56: warning: returning reference to temporary [-Wreturn-local-addr] servers/physics_2d/collision_object_2d_sw.h:127:50: warning: returning reference to temporary [-Wreturn-local-addr] servers/physics_2d/collision_object_2d_sw.h:131:52: warning: returning reference to temporary [-Wreturn-local-addr] editor/plugins/skeleton_editor_plugin.cpp:34:36: warning: extra tokens at end of #include directive modules/bullet/bullet_types_converter.cpp:31:9: warning: #pragma once in main file editor/import/editor_scene_importer_gltf.cpp:1996:51: warning: name lookup of 'i' changed modules/visual_script/visual_script_property_selector.cpp:402:45: warning: name lookup of 'E' changed scene/gui/tree.cpp:1268:25: warning: name lookup of 'i' changed scene/resources/visual_shader.cpp:808:32: warning: name lookup of 'i' changed ```
2018-09-16Check for absolute paths in OBJ loadercyclopsian
2018-09-13Merge pull request #21982 from luzpaz/misc-typosRémi Verschelde
Misc. typos
2018-09-12Misc. typosluz.paz
Found via `codespell -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"`
2018-09-12Merge pull request #21935 from goodyttoor/gltf_cubicRémi Verschelde
Fix cubic spline interpolation in glTF importer
2018-09-12Make core/ includes absolute, remove subfolders from include pathRémi Verschelde
This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
2018-09-10Fix cubic spline interpolation in glTF importerVivatchai Kaveeta
Should solve #21001 #14636
2018-09-02[Texture Import] Fix invert colorGuilherme Felipe
2018-08-29Add missing copyright headersRémi Verschelde
2018-08-27Fix BPTC and fix importing HDR images with LDR compressionelasota
2018-08-27In the GLTF importer normalize Quaternions after every operation and when ↵K. S. Ernest (iFire) Lee
reading from the format.
2018-08-27Removed fallback system and merged bptc into s3tcJuan Linietsky
2018-08-26Fix crash when importing layered textureselasota
2018-08-24Make some debug prints verbose-only, remove othersRémi Verschelde
2018-08-22Hide "no BPTC if RGB" and "HDR Mode" options when not using "Video RAM" import.elasota
2018-08-21BPTC supportelasota
2018-08-21Fix crash while importing corrupted wavPoommetee Ketson
Line 199 does division with 'bits per sample' but the check for 0 is missing.
2018-08-17[Texture Importer] Add option to invert colorGuilherme Felipe
2018-08-06Respect process order for out of order skeleton bones (fixes GLTF2 import ↵Juan Linietsky
issues).
2018-08-06Several fixes to GLTF2 importerJuan Linietsky
2018-08-06Added proper import support for 3D and Array texturesJuan Linietsky
2018-07-29Add support for line continuations (wtf) in obj format, fixes #7974Juan Linietsky
2018-07-29It is now possible to import images as a separate resource, closes #5738 and ↵Juan Linietsky
likely many others
2018-07-26Merge pull request #15967 from Gamblify/AudioRecordingModuleRémi Verschelde
Audio Recording from godot
2018-07-26Audio Recording moduleGustav Lund
Implements an Audio bus effect that outputs the audio from the bus into a wav file Now channels audio recording into an AudioStreamSample instead of saving to wav
2018-07-26Reduce unnecessary COW on Vector by make writing explicitHein-Pieter van Braam
This commit makes operator[] on Vector const and adds a write proxy to it. From now on writes to Vectors need to happen through the .write proxy. So for instance: Vector<int> vec; vec.push_back(10); std::cout << vec[0] << std::endl; vec.write[0] = 20; Failing to use the .write proxy will cause a compilation error. In addition COWable datatypes can now embed a CowData pointer to their data. This means that String, CharString, and VMap no longer use or derive from Vector. _ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug builds. This is a lot faster for Vector in the editor and while running tests. The reason why this difference used to exist is because force-inlined methods used to give a bad debugging experience. After extensive testing with modern compilers this is no longer the case.
2018-07-24Bones are now named and their parents are correct.K. S. Ernest (iFire) Lee
2018-07-05Merge pull request #15881 from dertom95/EditorScenePostImportMax Hilbrunner
EditorScenePostImport: added get_source_folder() and get_source_file(…