This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import hou | |
import viewerstate.utils as su | |
class State(object): | |
MSG = "LMB to add points to the construction plane." | |
def __init__(self, state_name, scene_viewer): | |
self.state_name = state_name | |
self.scene_viewer = scene_viewer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import threading | |
import time | |
class ThreadedLoader(threading.Thread): | |
def __init__(self): | |
self.__is_loading = False | |
threading.Thread.__init__(self) | |
@persistent |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bpy | |
import bmesh | |
class ModalIslandSelectionOperator(bpy.types.Operator): | |
bl_idname = "wm.modal_island_selection_operator" | |
bl_label = "Modal Island Operator" | |
def execute(self, context): |