toonz/sources/toonz/mainwindow.cpp
void MainWindow::TogglePlasticNextMode() {
  if (TApp::instance()->getCurrentTool()->getTool()->getName() == T_Plastic)
    CommandManager::instance()
        ->getAction("A_ToolOption_SkeletonMode")
        ->trigger();
  else
    CommandManager::instance()->getAction(T_Plastic)->trigger();
}
//-----------------------------------------------------------------------------
/*-- Plastic tool + mode switching shortcuts --*/
Plastic tool + mode switching shortcuts
Plastic tool + mode switching shortcuts
void MainWindow::TogglePlasticNextMode() {
  if (TApp::instance()->getCurrentTool()->getTool()->getName() == T_Plastic)
    CommandManager::instance()
        ->getAction("A_ToolOption_SkeletonMode")
        ->trigger();
  else
    CommandManager::instance()->getAction(T_Plastic)->trigger();
}
void MainWindow :: TogglePlasticNextMode ( ) { if ( TApp :: instance ( ) -> getCurrentTool ( ) -> getTool ( ) -> getName ( ) == T_Plastic ) CommandManager :: instance ( ) -> getAction ( " " ) -> trigger ( ) ; else CommandManager :: instance ( ) -> getAction ( T_Plastic ) -> trigger ( ) ; }
Plastic tool + mode switching shortcuts
Plastic tool + mode switching shortcuts