Skip to content

Commit

Permalink
Fix multiple clicks
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicogene committed Apr 5, 2024
1 parent 23f336d commit 3f7dd29
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/creo2urdf/src/Creo2Urdf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,12 @@ void Creo2Urdf::OnCommand() {

exportModelToUrdf(idyn_model, export_options);

// Let's clear the map in case of multiple click TODO UNIFY
m_yaml_path.clear();
m_csv_path.clear();
m_output_path.clear();
m_asm_model_ptr = nullptr;

return;
}

Expand Down

0 comments on commit 3f7dd29

Please sign in to comment.