Changeset View
Changeset View
Standalone View
Standalone View
source/blender/alembic/intern/abc_curves.cc
| Context not available. | |||||
| #include "BKE_object.h" | #include "BKE_object.h" | ||||
| #include "ED_curve.h" | #include "ED_curve.h" | ||||
| #include "CLG_log.h" | |||||
| } | } | ||||
| using Alembic::Abc::IInt32ArrayProperty; | using Alembic::Abc::IInt32ArrayProperty; | ||||
| Context not available. | |||||
| #define ABC_CURVE_RESOLUTION_U_PROPNAME "blender:resolution" | #define ABC_CURVE_RESOLUTION_U_PROPNAME "blender:resolution" | ||||
| static CLG_LogRef LOG = { "abc.curves" }; | |||||
| /* ************************************************************************** */ | /* ************************************************************************** */ | ||||
| AbcCurveWriter::AbcCurveWriter(Object *ob, | AbcCurveWriter::AbcCurveWriter(Object *ob, | ||||
| Context not available. | |||||
| smp = schema.getValue(sample_sel); | smp = schema.getValue(sample_sel); | ||||
| } | } | ||||
| catch(Alembic::Util::Exception &ex) { | catch(Alembic::Util::Exception &ex) { | ||||
| printf("Alembic: error reading curve sample for '%s/%s' at time %f: %s\n", | CLOG_ERROR(&LOG, "error reading curve sample for '%s/%s' at time %f: %s", | ||||
| m_iobject.getFullName().c_str(), | m_iobject.getFullName().c_str(), | ||||
| schema.getName().c_str(), | schema.getName().c_str(), | ||||
| sample_sel.getRequestedTime(), | sample_sel.getRequestedTime(), | ||||
| Context not available. | |||||