linux-traipu team mailing list archive
-
linux-traipu team
-
Mailing list archive
-
Message #06830
[Bug 932976] Re: New Animated Title: Exploding Text
So you can replace the whole test by this code :
if ground=='1':
bpy.data.objects['Ground'].hide_render = False
bpy.data.objects['Ground'].hide = False
bpy.ops.object.select_all(action='DESELECT')
#selecting Text
bpy.context.scene.objects.active = bpy.data.objects['Ground']
bpy.context.scene.objects.active.select = True
#if bpy.data.objects['Ground'].modifiers.keys()[0] != 'Collision':
if bpy.data.objects['Ground'].modifiers.items() == []:
print("collision = empty")
bpy.ops.object.modifier_add(type="COLLISION")
else:
print("OK")
else:
bpy.ops.object.select_all(action='DESELECT')
#selecting Text
bpy.context.scene.objects.active = bpy.data.objects['Ground']
bpy.context.scene.objects.active.select = True
bpy.ops.object.modifier_remove(modifier="Collision")
bpy.data.objects['Ground'].hide = True
bpy.data.objects['Ground'].hide_render = True
--
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to OpenShot Video Editor.
https://bugs.launchpad.net/bugs/932976
Title:
New Animated Title: Exploding Text
Status in OpenShot Video Editor:
Fix Released
Bug description:
I write some python script to get a exploding text from a "standard
text". Results can be viewed here
http://www.youtube.com/watch?v=y1wtdgLISeY
I've attached the blend (just press "Run script" to insert animation)
file which had produced the video animation and my addon in a separate
file (see video to know how to use)
Hope this helps
To manage notifications about this bug go to:
https://bugs.launchpad.net/openshot/+bug/932976/+subscriptions
References