ryu-sw / alembic

Automatically exported from code.google.com/p/alembic
Other
0 stars 0 forks source link

Alembic could not import the scene correctly with "-crt/createIfNotFound" and "-rm/removeIfNoUpdate" both enabled. #255

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Alembic could not import the scene correctly with "-crt/createIfNotFound" and 
"-rm/removeIfNoUpdate" both enabled. 
Options "-crt/createIfNotFound" and "-rm/removeIfNoUpdate" could be used when 
"-ct" option is used. 
"-crt/createIfNotFound" means: If the selected hierarchy in the maya scene 
doesn't contain some nodes existing in the Alembic file, then when importing 
the Alembic file, the missed nodes would be created in the Maya scene. 
"-rm/removeIfNoUpdate" means: If the selected hierarchy in the maya scene 
contains some nodes which don't exist in the Alembic file, then when importing 
the Alembic file, such nodes would be removed from the Maya scene. 

Attached are three maya files: test.mb, test3.mb and test_anim_export.mb, one 
Alembic file: ALEMBIC_TEST.abc which is exported from test_anim_export.mb. 
test_anim_export.mb contains one animated sphere and one animated plane. 
test.mb contains one static sphere. 
test3.mb contains one static plane. 

Steps: 
1) Load test.mb or test3.mb 
2) Select the SPHERE_TEST transform node 
3) Import ALEMBIC_TEST.abc with "-ct -crt -rm" 

Result: After importing the scene is totally wrong. In the outliner only the 
sphere is left, but in the viewport you can only see the plane with the 
sphere's animation.

tested with 1.0.2

Original issue reported on code.google.com by mdavies...@gmail.com on 10 Nov 2011 at 5:53

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by miller.lucas on 10 Nov 2011 at 6:21

GoogleCodeExporter commented 8 years ago
http://code.google.com/r/millerlucas-dev/source/detail?r=7322a7fcc539eb5cbd63d00
b65e0fc00cdb77127

Fixes 254 and 255

Original comment by miller.lucas on 26 Jun 2012 at 9:22

GoogleCodeExporter commented 8 years ago
Fixed in the new released 1.1

Original comment by miller.lucas on 2 Aug 2012 at 11:11