toonz/sources/toonz/mainwindow.cpp
void MainWindow::toggleGeometricNextShape() {
  if (TApp::instance()->getCurrentTool()->getTool()->getName() == T_Geometric)
    CommandManager::instance()
        ->getAction("A_ToolOption_GeometricShape")
        ->trigger();
  else
    CommandManager::instance()->getAction(T_Geometric)->trigger();
}
//---------------------------------------------------------------------------------------
/*-- Geometric tool + shape switching shortcuts --*/
Geometric tool + shape switching shortcuts
Geometric tool + shape switching shortcuts
void MainWindow::toggleGeometricNextShape() {
  if (TApp::instance()->getCurrentTool()->getTool()->getName() == T_Geometric)
    CommandManager::instance()
        ->getAction("A_ToolOption_GeometricShape")
        ->trigger();
  else
    CommandManager::instance()->getAction(T_Geometric)->trigger();
}
void MainWindow :: toggleGeometricNextShape ( ) { if ( TApp :: instance ( ) -> getCurrentTool ( ) -> getTool ( ) -> getName ( ) == T_Geometric ) CommandManager :: instance ( ) -> getAction ( " " ) -> trigger ( ) ; else CommandManager :: instance ( ) -> getAction ( T_Geometric ) -> trigger ( ) ; }
Geometric tool + shape switching shortcuts
Geometric tool + shape switching shortcuts