Hi Allen,
Allen Bierbaum wrote:
>
> How would I go through the list and find the ones I want? For example
> how would I know which attachment container is "MyEditorStuff" if there
> are possibly other attachment containers off the root of the scene?
Even after removing the group id you would still attach container with
their FCType id, so if you have a MyEditorStuff class you would get
direct access to it.
> The way you described GroupIds before, wouldn't this restrict the
> attachment containers to only allow one attachment of a given FCType?
No, that's what the other UInt16 (forgot the name) is for. That is an
additional index to allow more than one. The groupID was for allowing
derived classes to compete with base classes, which was a nice idea, but
never used so a candidate for simplification.
> Yes, you are probably right. If I wanted named attachments I would need
> to add a new attachment container type that is indexed by string. After
> looking at the code for the current attachment container though I have
> to admit I don't think I am skilled enough to add this. Maybe I will
> just try to hack something for now with the current attachment
> containers. :)
;)
Dirk
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users