PonyDeluxe / alembic

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

AbcView - 1.0.7 doesn't show param values when array length is not > 1 #344

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. make an object in maya.
2. add custom attributes on the shape node (doubles) and animate them.
3. add custom attributes on the shape node (string)
4. Export to Alembic while export the added arbGeoParams created above.
5. Open on abcview, the sample widget displays the imath object and pressing it 
doesn't show the value at the value widget since it doesn't show except when 
the length is > 1 (line 918 tree_widget.py.

What is the expected output? What do you see instead?
Expecting to see the value of these arbitrary variables at each time sample, 
and in general, for regular users, the imath object is not needed to be 
displayed except when this is array of arrays where it needs two stages to 
display.
On the other side, string arb vars needs to be displayed directly since it's a 
static array of one element and isNotAnimated, so the one doesn't need to do 
two steps to show the values (in case we patch >1 to > 0)

What version of the product are you using? On what operating system?
I'm using abcview 1.0.7 (Alembic Core 1.5.4)

Please provide any additional information below.
I'm expecting the same behavior like how abcview v-1.0.1 was showing the arb 
values.

Attached is a my patched version that satisfies my needs as above, in case if 
you want to compare the behavior. 

Original issue reported on code.google.com by b.sa...@barajoun.com on 24 Jun 2014 at 7:49

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by miller.lucas on 24 Jun 2014 at 8:16

GoogleCodeExporter commented 8 years ago

Original comment by rsgalloway on 11 Jul 2014 at 10:45

GoogleCodeExporter commented 8 years ago
Fixed in Alembic 1.5.5 

Original comment by rsgalloway on 15 Jul 2014 at 6:31

GoogleCodeExporter commented 8 years ago

Original comment by rsgalloway on 24 Jul 2014 at 9:18