Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-01-18FBX Import: skip invalid custom enum propertiesPhilipp Oeser
This was (correctly) asserting before, now handle this more gracefully and just skip (and warn about this) a custom property that has an invalid value set. Seems there are a couple of exporters out there that do this wrong, I think this tradeoff can be made though. Fixes T91062, T81657, T83501, T86595 Maniphest Tasks: T91062, T86595, T83501, T81657 Differential Revision: https://developer.blender.org/D12354
2020-01-29io_scene_fbx: Fix incorrect identity useCampbell Barton
2020-01-24Revert "FBX Import: corrected import camera. Added setting camera (invert or ↵Bastien Montagne
not invert)." While it's nice to see attempts to fix cameras (their orientations are know broken in some case for ages), this commit has several issues: - It did not get any review. - It changes default behavior. - It adds yet another parameter. - It does not actually fixes anything, nor does it explain anything. The first two points in particular are red lights. But the last two are also more and more annoying, unless someone can provide a good, valid understanding of how camera orientation is supposed to work in FBX, am fairly not keen on accepting any more hack like that. This is just adding more parameters that users just don’t understand, and which generates by themselves even more bug reports. This reverts commit 9eddf664d68a2ed6be1bf17b0b26d6d66d81c0eb.
2020-01-19FBX Import: corrected import camera. Added setting camera (invert or not ↵Spivak Vladimir (cwolf3d)
invert).
2019-12-20Fix T72413: FBX import error on missing filesCampbell Barton
While it's an error case, the ascii detection caused the missing file case to raise a full exception before running code which handles this case more gracefully.
2019-11-05Fix T70879: FBX importer wrong normal map strength.Bastien Montagne
that value was not exported, and imported with some weird conversion without any proper explanation for it. For now, just export and import the value as-is, we can always come back and tweak it once we know what BumpFactor is supposed to be exactly in FBX...
2019-10-10Fix T70666: FBX IO: Add support for new emission option of Principled BSDF.Bastien Montagne
2019-10-03Fix T70298: FBX IO: Apply squared crease transform when importing/exporting.Samuli Raivio
Blender maps crease sharpness from internal [0, 1] to OpenSubdiv's [0, 10] by squaring the value (see `get_edge_sharpness()`). Other software seems to treat FBX crease as linear times 10 using OpenSubdiv. This commits attempts to make FBX exported by Blender consistent with the results from FBX exported from Maya regarding crease intensity. Differential Revision: https://developer.blender.org/D5930
2019-09-25Fix T70244: FBX bug import when having children rigs of parent one.Bastien Montagne
Note that such complex rig features remains barely supported anyway, such complex setup will require some manual editing after import...
2019-09-07Fix part of T69526: FBX import/export error after recent mapping node changesBrecht Van Lommel
There are still other add-ons to fix.
2019-09-02Fix T69358: Missing Quaternions interpolqtion in importer.Bastien Montagne
Based on investigation and patch by Yannick (@kschoice), many thanks!
2019-08-29Add optional subdivision surface support to the FBX exporterSamuli Raivio
Add option 'Export Subdivision Surface' to the FBX exporter (disabled by default). When enabled the exporter will write the **last active Catmull-Clark subdivision surface modifier** as FBX properties instead of applying it. Edge crease data is also written to the FBX file if 'Use Creases' is enabled in the subsurf modifier. Reviewers: mont29 Tags: #add-ons Differential Revision: https://developer.blender.org/D4982
2019-06-27Fix potential issues with absolute-like paths in expected-relative properties.Bastien Montagne
Relative filepath having a 'absolute look' (starting with a path separator) can lead to recursively checking for the whole root! This is nasty, so try to avoid it by making relative paths actually relative. Based on D5143 (report and patch) by andreas atteneder (@atti), thanks!
2019-05-29Fix T64833: FBX Import fails with long names.Bastien Montagne
Classical stupid issues when trying to shorten an utf8 string to match a given bytes length... ;)
2019-05-24Fix T65065: FBX import principled alpha 0.Bastien Montagne
3DSMax can produce pure white `TransparentColor` with (default, from template) `TransparencyFactor` of 0.0... Looks like we are supposed to use `Opacity` then... sigh...
2019-05-15FBX IO: use new Principled BSDF Alpha option for transparency.Bastien Montagne
Much better option than using Principled's Transmission setting. Related to T64609.
2019-05-14FBX: Cleanup minor comment fix.Bastien Montagne
2019-05-11Revert "Fix (unreported) broken FBX import due to API change."Bastien Montagne
This reverts commit 9524a08a60cf570e9b0540a6ae195a269b403817.
2019-05-11Fix (unreported) broken FBX import due to API change.Bastien Montagne
Sequell to rB55d0ff708c617f, grrrrr....
2019-03-27Fix T62984: Backtrace when importing FBX file from the Unity asset store.Bastien Montagne
Although we had no way to reproduce the issue, that fix indeed seems needed from code logic point of view. Investigation and patch by Pete Chown (@PeteX), thanks!
2019-03-05Fix T62224: FBX importer dosen't import uv-maps correctly when there is 2 or ↵Bastien Montagne
more maps. Do not do 'smart' init of our UV/VCol data layers, this is lost computation and can generate issues when not all items are explicitely defined in FBX file.
2019-02-01Fix T61096: fbx import crashes on file from mixamo.Bastien Montagne
Blender only supports 8 UVMaps per mesh, avoid crashing addon when trying to import more.
2019-01-24Fix T51140: FBX import fails to read file exported from Max.Bastien Montagne
Usual crap with PoS of FBX... feeling bad though, that report skipped out of my radar for too long. :|
2019-01-24Partially fix T58877: FBX Importer Doesn't Respect Size and Hierarchy.Bastien Montagne
Quiet hard to believe, but looks like that critical recursive call has never been there... This basically broke any real-life case of 'objects parented to bones' relationships. Scaling issues remain though, this will be for some other time.
2018-12-19Merge branch 'master' into blender2.8Campbell Barton
2018-12-19Fix invalid string comparisonsCampbell Barton
Identity checks should never be used with strings, it may fail based on Python's interning logic.
2018-11-08Update for changes in Blender's APICampbell Barton
2018-11-06Updates for change in ViewLayer RNA API.Bastien Montagne
2018-10-19Spelling fixes in comments and descriptions, patch by luzpaz.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D3746
2018-10-16FBX IO: add support for exporting nodal shaders.Bastien Montagne
Getting textures to work was a bit tricky, since we basically have no more texture IDs in modern shaders (they are mere nodes). Modified specular conversion to be quadratic (between FBX Phong exponent to Pricipled specular factor). Also fixed several issues in both importers and exporters. And cleaned up ugly usage of 'mat' short name for materials in exporter (mat is reserved for matrix in Blneder code in general, 'ma' is short for material).
2018-10-13FBX Import: add back basic material import.Bastien Montagne
Using new ShaderWrapper from nodes_shader_utils. Note that porting is not exact same as in 2.7x (which was using cycles_shader_compat wrapper). New one does not support as many features, and not in the same exact way (since it's based on Principled BSDF), but goal here is to have soon a matching nodal material support in the exporter...
2018-10-11FBX import: cleanup: remove 'use_cycles' parameter.Bastien Montagne
That's now useless in 2.8, we always 'use cycles' materials. :p
2018-09-30FBX import: Fix removed 'show_edge_sharp' parameter from meshes.Bastien Montagne
That kind of display helpers are now fully overlays settings, no way for us to set that to meshes anymore.
2018-09-26FBX import: Add comment about how to handle texture clamping.Bastien Montagne
2018-09-24Fix FBX import of armatures.Bastien Montagne
Some typos, and missing named parameters...
2018-09-21Initial port of FBX to 2.8.Bastien Montagne
Default cube scene exports and imports ok (besides missing features like nodal material handling). Anything else is either known broken, or yet to be tested. :P Note that I raised main number of addon version, so that we can keep track of smaller fixes that can be done in both 2.7x and 2.8 versions of the addon.
2018-09-10Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: io_scene_fbx/export_fbx.py io_scene_fbx/import_fbx.py
2018-09-10Fix T56732: FBX camera import fails with assert(fbx_props[0] is not None).Bastien Montagne
Those asserts were already commented out in quiet a few places, now it's obvious that having that set of properties defined in actual data nodes is totally optional, so remove them alltogether. Also fixed a bug in property fetching, with newer (>= 7.4) FBX files we would never get templates... Stupid mistake. :/
2018-07-06Update for renaming lamp to light.Brecht Van Lommel
2018-03-19Fix T54354: FBX addon fails on "blen_read_shape" for fome fbx files.Bastien Montagne
Code would break on empty shapekey names, and was actually broken in all cases where Blender would have to alter the shapekey name when creating it.
2018-02-19FBX IO: add support for import & export of camera focal length animation.Bastien Montagne
Requested in T54050, usually would not add new stuff to FBX but this looked like totally needed for compo needs...
2018-01-22Fix T53812: FBX import fails with long custom property names.Bastien Montagne
This file also has insanely long object names etc. So added a generic way to handle names for Blender data (IDs, but also non-ID data like customprops names, UVLayers, etc.), by truncating names and adding seven digits from their sha1 hash to their end. Not sure how much an issue name collisions would be here, but in doubt that should not hurt. Too complex/risky of a change to add that one to 2.79a, though.
2018-01-22Fix T53841: Can not import .obj or .fbx generated from Marvelous DesignerBastien Montagne
FBX part at least - note that we are actualy coping with totally invalid FBX file, strings there should always be in utf-8 encoding as per offcial FBX doc... But this error-handling does not hurt really. Based in D3012 by Philipp Oeser (@lichtwerk). To be backported to 2.79a.
2017-11-06Fix T53254: Fbx import assertion error on some Enum custom property.Bastien Montagne
Do not try to get some string namecode of Enum items if string part of the custom FBX Enum property is empty! Just stick to basic int value in this case.
2017-10-19Fix T53103: FBX: Add diffuse_color material animation import.Bastien Montagne
Based on patch by Gábor Vásárhelyi (@vasarhelyi), just slightly modified mainly to avoid another extra dict.
2017-10-18Fix T53065: stupid animation linked to nothing in FBX file broke import.Bastien Montagne
2017-10-05Fix (unreported) broken FBX import after adding forth alpha component to vcol.Bastien Montagne
2017-09-20Fix T52846: Wrong normals when importing FBX from Revit.Bastien Montagne
Not sure when this has been broken, or whether it ever worked... To be backported to 2.79a should we do it.
2017-07-11Fix T52029: Blender 2.78a doesn't import user properties from FBX file.Bastien Montagne
Customprop handling helper was called with wrong data for objects and bones. Many thanks to Nik S (@proteamer) for spotting the issue, investigating it and finding the solution!
2017-05-27Move FBX importer's Cycles material 'convertor' to modules.Bastien Montagne
That way other addons may use it as well.