[Bf-blender-cvs] [d9c89ab54ca] temp-alembic-exporter-T73363-ms2: Alembic Export: Removed TODO
Sybren A. Stüvel
noreply at git.blender.org
Mon Mar 30 16:21:41 CEST 2020
Commit: d9c89ab54ca5bce856bae871eb8ffecab5651c33
Author: Sybren A. Stüvel
Date: Tue Mar 24 09:49:08 2020 +0100
Branches: temp-alembic-exporter-T73363-ms2
https://developer.blender.org/rBd9c89ab54ca5bce856bae871eb8ffecab5651c33
Alembic Export: Removed TODO
===================================================================
M source/blender/io/alembic/intern/export/abc_writer_abstract.cc
===================================================================
diff --git a/source/blender/io/alembic/intern/export/abc_writer_abstract.cc b/source/blender/io/alembic/intern/export/abc_writer_abstract.cc
index 4e324c8b215..951d728a41b 100644
--- a/source/blender/io/alembic/intern/export/abc_writer_abstract.cc
+++ b/source/blender/io/alembic/intern/export/abc_writer_abstract.cc
@@ -48,7 +48,8 @@ bool ABCAbstractWriter::is_supported(const HierarchyContext * /*context*/) const
void ABCAbstractWriter::write(HierarchyContext &context)
{
if (!frame_has_been_written_) {
- is_animated_ = true /* TODO(Sybren): args_.export_params.export_animation */ &&
+ /* The start and end frames being the same means "no animation". */
+ is_animated_ = (args_.export_params.frame_start != args_.export_params.frame_end) &&
check_is_animated(context);
}
else if (!is_animated_) {
More information about the Bf-blender-cvs
mailing list