diff options
author | Aras Pranckevicius <aras@nesnausk.org> | 2022-09-01 20:38:56 +0300 |
---|---|---|
committer | Aras Pranckevicius <aras@nesnausk.org> | 2022-09-01 20:38:56 +0300 |
commit | f366d197db24cf611866a8d847b4022a6a46504e (patch) | |
tree | ea79b5c35d6103fcacaba7d8006a43ffee61adbb /source/creator | |
parent | ad4dcfe2273790584743abd83dacb57ce99d16a6 (diff) |
Fix T100737: OBJ/USD import: imported object has no active material, material has 2 users
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.
Reviewed By: Bastien Montagne
Differential Revision: https://developer.blender.org/D15831
Diffstat (limited to 'source/creator')
0 files changed, 0 insertions, 0 deletions