Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Same name, different family instances #219

Closed
tokejepsen opened this issue Aug 11, 2015 · 1 comment
Closed

Same name, different family instances #219

tokejepsen opened this issue Aug 11, 2015 · 1 comment
Labels

Comments

@tokejepsen
Copy link
Member

You can have same named instances in different families, which messes with the processing of the instances.

import pyblish.api

class SameNames(pyblish.api.Collector):
  """"""

  def process(self, context):

    instance = context.create_instance(name='scene')
    instance.set_data('family', value='render')

    instance = context.create_instance(name='scene')
    instance.set_data('family', value='scene')

pyblish.api.register_plugin(SameNames)
import pyblish_maya
pyblish_maya.show()
@mottosso mottosso added the bug label Aug 11, 2015
@mottosso
Copy link
Member

Good find! This has been missed by a large number of tests!

mottosso added a commit to mottosso/pyblish-base that referenced this issue Aug 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants