Re: How to replace one Texture with another Texture using code
by rkv104 » Sun May 29, 2016 1:17 pm
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...