bugfix [#24574] setting location gained from a matrix_world.copy().translation_part() (visual loc) after constraints causes NAN in object location after python script ends
shrinkwrap constraint was dividing by zero. also the shrinkwrap UI was incorrectly trying to draw a subtarget.
This commit is contained in:
@@ -624,7 +624,7 @@ class ConstraintButtonsPanel():
|
||||
self.space_template(layout, con)
|
||||
|
||||
def SHRINKWRAP(self, context, layout, con):
|
||||
self.target_template(layout, con)
|
||||
self.target_template(layout, con, False)
|
||||
|
||||
layout.prop(con, "distance")
|
||||
layout.prop(con, "shrinkwrap_type")
|
||||
|
Reference in New Issue
Block a user