Page MenuHome

Fix T100737: OBJ/USD import: imported object has no active material, material has 2 users
ClosedPublic

Authored by Aras Pranckevicius (aras_p) on Sep 1 2022, 8:32 AM.

Details

Summary

Fixes issues in importers written in C++ (T100737):

  • Materials had one reference count too much. Affected Collada, Alembic, USD, OBJ importers, looks like "since forever".
  • Active material index was not properly set on imported meshes. Regression since 3.3 (D15145). Affected Alembic, USD, OBJ. Note: now it sets the first material as the active one, whereas previously the last one was set as active. First one sounds more "intuitive" to me.

Diff Detail

Repository
rB Blender