Hello,
Big fan of this project, i wanted to try some variant authoring with this project and help contribute by writing an example. I have a draft pr #57
I am using following code to create variant set
sphere_spec.add(
FieldKey::VariantSetNames,
Value::TokenListOp({
let mut op = ListOp::default();
op.prepended_items = vec!["color".into()];
op
}),
);
but it creates variant set with prepend variantSetNames = "color" instead of prepend variantSets = "color" which makes the result usda file invalid.
I was wondering if there was any other way to create valid variantSet or authoring variantSet is not supported at the moment ?
Reading of variant set works fine.
Hello,
Big fan of this project, i wanted to try some variant authoring with this project and help contribute by writing an example. I have a draft pr #57
I am using following code to create variant set
but it creates variant set with
prepend variantSetNames = "color"instead ofprepend variantSets = "color"which makes the result usda file invalid.I was wondering if there was any other way to create valid
variantSetor authoring variantSet is not supported at the moment ?Reading of variant set works fine.