Trouble with viz.ontimer
I've tried making a method that changes the textures on a different walls in a store. The walls are all different textures and can be changed by adjusting the slider in the GUI which calls this method:
Code:
def setLight(light): The problem is that the viz.ontimer (named disco in this case) doesn't turn off. I even tried using values 0 and 1 instead of viz.ON and viz.OFF, however the 'discolights' still can't be turned off. I've looked up other threads and tried adding booleans, but still this doesn't work. Does anyone have an idea? |
Resolved..
Apparently - the slider only went from 0-1-2 and back (but not to 3). |
All times are GMT -7. The time now is 08:13 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC