Fix #106794: Changing active camera changes other viewport local cameras #106799

Merged
Philipp Oeser merged 2 commits from lichtwerk/blender:106794 into main 2023-04-12 10:10:27 +02:00

2 Commits

Author SHA1 Message Date
Philipp Oeser cf9e1a6cd9 Add comment 2023-04-12 10:06:09 +02:00
Philipp Oeser 9ee7305317 Fix #106794: Changing active camera changes other viewport local cameras
f36543c5f5 took care of syncing multiple viewport`s cameras, but wasnt
fully meeting intentions [which was to only do this if both viewports
are locked to the scene camera].

Check was only done for the viewport this was executed in (if this was
locked to the scene camera, it would change all other viewports as
well), now also check if the target viewport prefers to use its own
local camera instead and skip it in that case.
2023-04-11 13:00:50 +02:00