Bug #2314
closedcomposites show up as classes not instances
0%
Description
when you drag a composite to the canvas, a purple box shows up surrounding the
actor indicating that the actor is a class that needs to be instantiated. This
is happening because when the actor is added to the library dynamically, the
moml parser is serializing the actor as a class instead of an entity. Even
though the composite is, in fact, a class (in the moml def), it should be
declared as an entity in the actor library if you want it to show up as an
instance on the canvas. I can't figure out how to convince the moml parser to
create an entity instead of a class. I've written to pthackers and kepler-dev
about this. hopefully someone will have an idea.
Updated by Chad Berkley almost 19 years ago
i fixed this thanks to edward's comments about using the instantiate() method.