EGjoni / Everything-Will-Be-IK

A Robust Inverse Kinematics Library
MIT License
42 stars 4 forks source link

NullPointerException when calling getPin if enablePin was not called. #3

Closed adamscottv closed 8 years ago

adamscottv commented 8 years ago

To reproduce, construct a new Bone, then call bone.getPin(). A NPE will result. Then add bone.enablePin() before getPin(), and it returns a DVector. If the pin is not enabled, it should probably just return null and not error out.

EGjoni commented 8 years ago

Okay. Should be fixed now.

adamscottv commented 8 years ago

Cool.


From: Eron Gjoni notifications@github.com Sent: Sunday, May 8, 2016 11:25:00 AM To: EGjoni/Everything-WIll-Be-IK Cc: adamscottv; Author Subject: Re: [EGjoni/Everything-WIll-Be-IK] NullPointerException when calling getPin if enablePin was not called. (#3)

Closed #3https://github.com/EGjoni/Everything-WIll-Be-IK/issues/3.

You are receiving this because you authored the thread. Reply to this email directly or view it on GitHubhttps://github.com/EGjoni/Everything-WIll-Be-IK/issues/3#event-653732306