Merge pull request #574 from manongjohn/fix_setkeys_with_no_skeleton
Hide global set keys when no skeleton created
This commit is contained in:
commit
f9d0bea01c
1 changed files with 2 additions and 0 deletions
|
@ -188,6 +188,8 @@ void PlasticTool::leftButtonUp_animate(const TPointD &pos,
|
|||
void PlasticTool::addContextMenuActions_animate(QMenu *menu) {
|
||||
bool ret = true;
|
||||
|
||||
if (m_sd.getPointer() == nullptr) return;
|
||||
|
||||
if (!m_svSel.isEmpty()) {
|
||||
QAction *setKey = menu->addAction(tr("Set Key"));
|
||||
ret = ret && connect(setKey, SIGNAL(triggered()), &l_plasticTool,
|
||||
|
|
Loading…
Reference in a new issue