← Back to team overview

linux-traipu team mailing list archive

[Bug 932976] Re: New Animated Title: Exploding Text

 

I've found a bug in my explode script  with ground management. If you
unselect ground and after reselect, the script run into an error :

>>> bpy.data.objects['Ground'].modifiers.keys()[0] != 'Collision'
Traceback (most recent call last):
  File "<blender_console>", line 1, in <module>
IndexError: list index out of range

it comes  from my 'collision' test which is wrong :

You can change at line 146

if bpy.data.objects['Ground'].modifiers.keys()[0] != 'Collision':

by
if bpy.data.objects['Ground'].modifiers.items() == []:

it works better

Yann

-- 
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