Example #1
0
    def process(self):
        inputs = self.inputs
        n_id = node_id(self)
        IV.callback_disable(n_id)

        # end if tree status is set to not show
        if not self.id_data.sv_show:
            return

        self.use_custom_color = True

        if not (self.activate and inputs['vertices'].is_linked):
            return

        self.generate_callback(n_id, IV)
Example #2
0
    def process(self):
        inputs = self.inputs
        n_id = node_id(self)
        IV.callback_disable(n_id)

        # end if tree status is set to not show
        if not self.id_data.sv_show:
            return

        self.use_custom_color = True

        if not (self.activate and inputs['vertices'].is_linked):
            return

        self.generate_callback(n_id, IV)
Example #3
0
 def free(self):
     IV.callback_disable(node_id(self))
Example #4
0
 def update(self):
     # used because this node should disable itself in certain scenarios
     # : namely , no inputs.
     n_id = node_id(self)
     IV.callback_disable(n_id)
Example #5
0
 def free(self):
     IV.callback_disable(node_id(self))
Example #6
0
 def update(self):
     # used because this node should disable itself in certain scenarios
     # : namely , no inputs.
     n_id = node_id(self)
     IV.callback_disable(n_id)