Synchronize selected node editor with selected objects selected material

Issue #35 resolved
Glen Blanchard created an issue

This will match several other renderers behavior and make it nicer.

Comments (4)

  1. Glen Blanchard reporter

    Fixed in 2.0.19 For any that are interested I needed to implement this classmethod in the CoronaNodeTree

        @classmethod
        def get_from_context(cls, context):
            ob = context.active_object
            if ob: #and ob.type not in BlenderUtils.NonGeometryTypes
                mat = ob.active_material
                if mat and mat.corona.node_tree:
                    ntree = bpy.data.node_groups[mat.corona.node_tree]
                    return ntree, ob, None
            return (None, None, None)
    
  2. Log in to comment