Page MenuHome

Context Overrides: Don't remove existing overrides when calling operator.
ClosedPublic

Authored by Jacques Lucke (JacquesLucke) on Aug 11 2020, 11:01 AM.

Details

Summary

This is part of T79690.

Arguably, this behavior is more correct. When I call some operator,
I expect that this operator runs in the context that my code is running
in currently. If the context my code is using is overridden already,
the called operator should run within that overridden context as well.

Diff Detail

Repository
rB Blender
Branch
context-override-no-reset (branched from master)
Build Status
Buildable 9456
Build 9456: arc lint + arc unit

Event Timeline

Jacques Lucke (JacquesLucke) requested review of this revision.Aug 11 2020, 11:01 AM
Jacques Lucke (JacquesLucke) created this revision.

Merging the context overrides is needed to fully solve this, but it's better than what we have.

Please add a comment to this code explaining this.

This revision is now accepted and ready to land.Aug 11 2020, 11:44 AM