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

1 Commits

Author SHA1 Message Date
23bd69cd2c Archimesh: fix floor creation
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.
2023-02-27 20:20:33 +01:00