Skip to content

Commit f6b84dc

Browse files
Core Solver - mmSolverAffects fix printing debug timer.
Printing the line: "mmSolverAffects: setAttrsOnMarkers: Create animation curves completed! Time taken 0.091 seconds" Should only happen in debug mode.
1 parent e8baf17 commit f6b84dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mmSolver/cmd/MMSolverAffectsCmd.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ MStatus setAttrsOnMarkers(
364364
}
365365
setAttr_dgmod.doIt();
366366

367-
{
367+
if (debug) {
368368
create_curve_timer.stop();
369369
const double duration_seconds = create_curve_timer.get_seconds();
370370
MMSOLVER_MAYA_INFO(

0 commit comments

Comments
 (0)