diff --git a/projects/Alembic/WriteAlembic.cpp b/projects/Alembic/WriteAlembic.cpp index 24e0c00374..662145c593 100644 --- a/projects/Alembic/WriteAlembic.cpp +++ b/projects/Alembic/WriteAlembic.cpp @@ -302,7 +302,7 @@ struct WriteAlembic2 : INode { virtual void apply() override { auto prim = get_input("prim"); bool flipFrontBack = get_input2("flipFrontBack"); - float fps = get_input2("fps"); + float fps = has_input("fps")? get_input2("fps") : 24.0f; int frameid; if (has_input("frameid")) { frameid = get_input2("frameid"); @@ -493,7 +493,7 @@ ZENDEFNODE(WriteAlembic2, { {"writepath", "path", ""}, {"int", "frame_start", "0"}, {"int", "frame_end", "100"}, - {"float", "fps", "24"}, + {"fps"}, {"bool", "flipFrontBack", "1"}, }, {},