Skip to content

[BUG] Import skin doesn't break if a bone is missing. #530

@RemiCuxac

Description

@RemiCuxac

🐞 Bug Report

Description

When importing a skin (.jSkin), if a bone is missing in the scene, the script says "Imported skin for: myObj" but doesn't breaks and doesn't import the skin anyway. So it just does nothing.

Steps to Reproduce

  1. Export a skin
  2. Edit the .jSkin and delete a bone from the data
  3. Import it to the scene

Expected Behavior

When importing, it should raise an error like in mGear 4

Actual Behavior

Nothing happens.

Maya Version

  • Maya Version: 2023
  • OS: Windows 11

mGear Version

  • mGear Version: 5.0.7

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

WIP

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @miquelcampos@RemiCuxac

      Issue actions

        [BUG] Import skin doesn't break if a bone is missing. · Issue #530 · mgear-dev/mgear