dfki-ric / phobos

An add-on for Blender allowing to create URDF, SDF and SMURF robot models in a WYSIWYG environment.
BSD 3-Clause "New" or "Revised" License
709 stars 113 forks source link

"Define Joint(s)" dialog remembers and applies last joint name when creating new joint #350

Closed kevinfoley closed 5 months ago

kevinfoley commented 8 months ago

Summary: Phobos remembers the name of the last selected joint and applies this to any new joint that we create.

Steps to Reproduce:

  1. Create a new robot with at least 3 links
  2. Select one of the links and click "Define Joint(s)". In the dialog that appears, leave the "Joint Name" field blank so that Phobos will auto-generate a name for the joint
  3. Select the joint we created in Step 2 and click "Define Joint(s)". The dialog appears again, now showing the Joint Name field that Phobos generated.
  4. Select a different link and click "Define Joint(s)". The dialog appears again.

Expected result: the Joint Name field for the second joint is blank by default. Actual result: the Joint Name field for the second joint is set to the same name as the first joint (from Step 3).

Workaround: manually clear the "Joint Name" field when creating the new joint. This only works when the joint is first created.

Environment: