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

Importing objects with same names in different metaobjects #47

Open
GoogleCodeExporter opened this issue Mar 16, 2015 · 0 comments
Open

Comments

@GoogleCodeExporter
Copy link

If you have two meta objects each with identical named polygon objects within 
them, then CellBlender will only import one of those of objects. For example, 
assume you have the following MDL:

meta_obj1 OBJECT {
  poly_obj POLYGON_LIST {
    ...
  }
}

meta_obj2 OBJECT {
  poly_obj POLYGON_LIST {
    ...
  }
}

Only one of the "poly_obj" objects will actually be imported. However, if the 
polygon objects have unique names, then this will work correctly, as in this 
example:

meta_obj1 OBJECT {
  poly_obj1 POLYGON_LIST {
    ...
  }
}

meta_obj2 OBJECT {
  poly_obj2 POLYGON_LIST {
    ...
  }
}

In the first example, we need to take care of naming conflicts to solve the 
problem. One possibility would be to import them with  fully qualified names 
(i.e "meta_obj1.poly_obj" and "meta_obj2.poly_obj"). 



Original issue reported on code.google.com by czech.ja...@gmail.com on 19 Mar 2014 at 11:15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant