#76 Some instance_* element\'s save without some attributes

v1.4
closed-fixed
5
2007-03-30
2007-01-19
Andy Lorino
No

Many instance_* element's can have an sid and name attribute.

Some of these don't get saved out if they are specified. This happens with instance_light, instance_node, instance_camera and probably most of the rest of them.

The problem stems from the fact that they inherit from domInstanceWithExtra but do not overwrite the mutator functions to set the validAttributeArray to true when you set the attribute. The dom checks for this when outputing optional attributes.

Discussion

  • Andy Lorino

    Andy Lorino - 2007-03-30

    Logged In: YES
    user_id=1434587
    Originator: YES

    This bug is fixed in the SVN repository. Please checkout from
    there if you need this fix before the next release package.

     
  • Andy Lorino

    Andy Lorino - 2007-03-30
    • status: open --> open-fixed
     
  • Andy Lorino

    Andy Lorino - 2007-03-30
    • summary: Some instance_ element's save without some attributes --> Some instance_ element\'s save without some attributes
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks