Skip to content
This repository has been archived by the owner on Jan 23, 2018. It is now read-only.

Commit

Permalink
Removed some debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
flo committed Nov 21, 2015
1 parent 17ea2c9 commit fba9246
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4247,13 +4247,11 @@ class M3_BILLBOARD_BEHAVIORS_OT_add(bpy.types.Operator):

def invoke(self, context, event):
scene = context.scene
print(dir(context))
behavior = scene.m3_billboard_behaviors.add()

selectedBoneName = None
if context.active_bone != None:
selectedBoneName = context.active_bone.name
print("Selected bone %s" % selectedBoneName)
if selectedBoneName == None or selectedBoneName in scene.m3_billboard_behaviors:
unusedName = self.findUnusedName(scene)
behavior.name = unusedName
Expand Down Expand Up @@ -4444,7 +4442,6 @@ class M3_TIGHT_HIT_TESTS_OT_hittestremove(bpy.types.Operator):
def invoke(self, context, event):
scene = context.scene
tightHitTest = scene.m3_tight_hit_test
print("x")
if bpy.ops.object.mode_set.poll():
bpy.ops.object.mode_set(mode='EDIT')
removeBone(scene, tightHitTest.boneName)
Expand Down

0 comments on commit fba9246

Please sign in to comment.