Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

Animation tool option: select camera after switching it

flurick7916c442fc00
diff --git a/toonz/sources/tnztools/tooloptions.cpp b/toonz/sources/tnztools/tooloptions.cpp
index d4b05d259..dc9d41a22 100644
--- a/toonz/sources/tnztools/tooloptions.cpp
+++ b/toonz/sources/tnztools/tooloptions.cpp
@@ -980,12 +980,12 @@ void ArrowToolOptionsBox::onCurrentStageObjectComboActivated(int index) {
return;
}
// switch the current object
- m_objHandle->setObjectId(id);
if (id.isCamera()) {
TXsheet *xsh = m_xshHandle->getXsheet();
if (xsh->getCameraColumnIndex() != id.getIndex())
m_xshHandle->changeXsheetCamera(id.getIndex());
}
+ m_objHandle->setObjectId(id);
}
//------------------------------------------------------------------------------