david-cattermole/mayaMatchMoveSolver

Solver UI - Object Relationships Feature Cannot be Disabled

Closed this issue · 1 comments

Problem

In the Solver UI, when a Collection's "Object Relationships" checkbox is enabled, and the solver is run, then the checkbox is disabled and the solver is run, the effects of the "Object Relationships" checkbox being enabled is still observed.

Expected behavior:
When the "Object Relationships" checkbox is disabled the Object Relationships should have no affect.

Actual behavior:
After being enabled once, the "Object Relationships" feature persists and causes issues with the solver.

Steps to Reproduce

In the Solver UI, when a Collection's "Object Relationships" checkbox is enabled, and the solver is run, then the checkbox is disabled and the solver is run, the effects of the "Object Relationships" checkbox being enabled is still observed.

  1. Open Solver UI, for a basic solve set up.
  2. Run the Solver, with default values.
  3. Set "Object Relationships" checkbox to enabled, then run the solver.
  4. Set "Object Relationships" checkbox to disabled, then run the solver.
  5. The solver will not work the same as in step 2.

Software Versions

  • mmSolver version: v0.3.13 (perhaps previous versions too)
  • Maya version: All supported.
  • Operating System (OS): All supported.

This issue has not been addressed, and merged into the develop_v0.3.x branch.

This issue ended up needing multiple sub-issue fixes (not documented in GitHub), including:

  • New user preference "Solver UI - Allow Object Relationships" added, off by default to avoid users using the feature unless they really want it.
  • The need to close all mmSolver windows when Maya needs to close the current Maya scene file (fixing crashes).
  • Changes to the internal mmSolver code to ensure markers/attributes are not removed, unless the user really wants the Eval Object Relationships feature enabled.
  • Minor bug fix when solving the current frame only.

This fix will be included in v0.3.14.