|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: How do i reset materials of furniture to default? |
|
| Print at Dec 20, 2025, 7:26:40 PM | View all posts in this thread on one page |
| Posted by jrmobile at Aug 13, 2020, 7:25:40 PM |
|
How do i reset materials of furniture to default? Good day everyone. Hope somebody will give mea clue on that subject. Anyway thanks in advance. In my plugin i'm setting a spevific color for furnitureItem. In particular moment i need to reset it's color to default model settings(that use initial materials) . When i open use modify furniture dialog, there is Material option. And modify button would let to selet default material. How do i set it in plugin? |
| Posted by Puybaret at Aug 14, 2020, 6:38:10 AM |
|
Re: How do i reset materials of furniture to default? Set color to null as said in the Javadoc. You could also have found the answer by studying the source code of HomeFurnitureController class. ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by jrmobile at Aug 14, 2020, 12:42:58 PM |
|
Re: How do i reset materials of furniture to default? Great. Thanks so much. |
|
|
Current timezone is GMT Dec 20, 2025, 7:26:40 PM |