Skip to content

Commit

Permalink
WriteAlembic
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouhang95 committed Aug 11, 2023
1 parent de66405 commit 8ca3356
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions projects/Alembic/WriteAlembic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ struct WriteAlembic2 : INode {
virtual void apply() override {
auto prim = get_input<PrimitiveObject>("prim");
bool flipFrontBack = get_input2<int>("flipFrontBack");
float fps = get_input2<float>("fps");
float fps = has_input("fps")? get_input2<float>("fps") : 24.0f;
int frameid;
if (has_input("frameid")) {
frameid = get_input2<int>("frameid");
Expand Down Expand Up @@ -493,7 +493,7 @@ ZENDEFNODE(WriteAlembic2, {
{"writepath", "path", ""},
{"int", "frame_start", "0"},
{"int", "frame_end", "100"},
{"float", "fps", "24"},
{"fps"},
{"bool", "flipFrontBack", "1"},
},
{},
Expand Down

0 comments on commit 8ca3356

Please sign in to comment.