Archimesh: fix floor creation #104446

Merged
Damien Picard merged 1 commits from pioverfour/blender-addons:dp_archimesh_fix_mods into blender-v3.5-release 2023-02-28 10:40:00 +01:00
Member

The option to create a floor was broken for a long time, because it
relied on the presence of a Diffuse BSDF in a new material, however it
has been replaced by the Principled BSDF long ago.

Additionally, use the data API to create the modifiers instead of the
ops API, and assign nodes to variables instead of getting them by
name, which will not work any more if the UI is translated.

The option to create a floor was broken for a long time, because it relied on the presence of a Diffuse BSDF in a new material, however it has been replaced by the Principled BSDF long ago. Additionally, use the data API to create the modifiers instead of the ops API, and assign nodes to variables instead of getting them by name, which will not work any more if the UI is translated.
Damien Picard added 1 commit 2023-02-27 20:25:52 +01:00
The option to create a floor was broken for a long time, because it
relied on the presence of a Diffuse BSDF in a new material, however it
has been replaced by the Principled BSDF long ago.

Additionally, use the data API to create the modifiers instead of the
ops API, and assign nodes to variables instead of getting them by
name, which will not work any more if the UI is translated.
Damien Picard requested review from Antonio Vazquez 2023-02-27 20:26:22 +01:00
Damien Picard changed target branch from main to blender-v3.5-release 2023-02-27 20:29:33 +01:00
Antonio Vazquez approved these changes 2023-02-28 10:05:08 +01:00
Antonio Vazquez left a comment
Member

LGTM... thanks a lot for the fix.

Do you have commit rights? If not, I can merge the Pull Request myself.

LGTM... thanks a lot for the fix. Do you have commit rights? If not, I can merge the Pull Request myself.
Damien Picard merged commit dd91f21836 into blender-v3.5-release 2023-02-28 10:40:00 +01:00
Damien Picard deleted branch dp_archimesh_fix_mods 2023-02-28 10:40:01 +01:00
Author
Member

Do you have commit rights? If not, I can merge the Pull Request myself.

Thank you, I can commit :)

> Do you have commit rights? If not, I can merge the Pull Request myself. Thank you, I can commit :)

@pioverfour @ThomasDinges This Pull Request was merged in 3.5, but I guess it needs to be merged in addons git repo, is that correct? In this case, the commit must be cherrypick to addons git repo too.

@pioverfour @ThomasDinges This Pull Request was merged in 3.5, but I guess it needs to be merged in addons git repo, is that correct? In this case, the commit must be cherrypick to addons git repo too.
Author
Member

@antoniov I don’t think it needs to be cherrypicked, but merged instead. I’ll do it from home tonight if somebody hasn’t until then!

@antoniov I don’t think it needs to be cherrypicked, but merged instead. I’ll do it from home tonight if somebody hasn’t until then!

Yes, the same workflow that applies to Blender applies to add-ons as well. https://wiki.blender.org/wiki/Process/Using_Stabilizing_Branch

Commit to the stabilizing branch (in this case 3.5), and merge to main afterwards.

Yes, the same workflow that applies to Blender applies to add-ons as well. https://wiki.blender.org/wiki/Process/Using_Stabilizing_Branch Commit to the stabilizing branch (in this case 3.5), and merge to main afterwards.
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#104446
No description provided.