|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: How to replace one Texture with another Texture using code » » » » Post: Re: How to replace one Texture with another Texture using code |
Print at Dec 17, 2025, 9:09:45 AM |
| Posted by rkv104 at May 29, 2016, 1:17:55 PM |
|
Re: How to replace one Texture with another Texture using code Thanks Puybaret, I could write code to access CatalogTexture object using texture name. I am writing code to undo texture changes in my plugin. i can see that undo code gets called and it is able to invoke wall.setLeftSideColour() method where i am changing colour of the wall. though this method is invoked the change is not reflected in 3d model display screen. if i double click on wall i could see that left side colour checkbox is checked..but colour change is not getting reflected in 3d display....... what could be the problem...do i need to call some extra method besides calling settter methods for changing colour and textures..so that the changes are reflected in 3d model... please reply |
|
|
Current timezone is GMT Dec 17, 2025, 9:09:45 AM |