Skip to content

Commit 2e469c6

Browse files
Core Solver - Disable forcing solver triggering.
The trick was originally added to force Maya into evaluating nodes that it didn't (by accident?), but that trick no longer seems to work and just results in a performance reduction - so lets turn it off.
1 parent 550cca0 commit 2e469c6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/mmSolver/adjust/adjust_measureErrors.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,10 @@ namespace mmsg = mmscenegraph;
8484
// the matrix of a marker node. It doesn't matter which marker node,
8585
// however it does matter that it's a marker node, if the eval is
8686
// performed with a bundle node the error continues to happen.
87-
#define FORCE_TRIGGER_EVAL 1
87+
//
88+
// 2023-02-06 (YYYY-MM-DD): Disabling this toggle. It doesn't seem to
89+
// make any difference in real-world tests.
90+
#define FORCE_TRIGGER_EVAL 0
8891

8992
// Pre-processor-level on/off switch for re-use of the Marker
9093
// positions. This is an optimisation to avoid re-evaluating the

0 commit comments

Comments
 (0)