← Back to team overview

openshot.bugs team mailing list archive

[Bug 1788478] [NEW] Title 3D zoom clapboard does not fit the text well

 

Public bug reported:

1) Manjaro Linux 4.17.17-1-MANJARO #1 SMP PREEMPT x86_64 GNU/Linux
2) Installation method Pacman/Yaourt
3) Openshot 2.4.2
4) melt 6.10.0
5) Blender 2.79 (sub 0)

I add this with zoom_clapboard.py for correct placement text for
rendering.

# Panel background of clapboard
bpy.context.scene.objects.active = bpy.data.objects["Cube"]
bpy.data.objects["Cube"].select = True
# Center axes of object
bpy.ops.object.origin_set(type='ORIGIN_GEOMETRY')

# Text of clapboard
bpy.context.scene.objects.active = bpy.data.objects["Text"]
bpy.data.objects["Text"].select = True
# Center axes of object
bpy.ops.object.origin_set(type='ORIGIN_GEOMETRY')
# Same position of x for center
bpy.data.objects["Text"].location[0] = bpy.data.objects["Cube"].location[0]
# Same position of z for center
bpy.data.objects["Text"].location[2] = bpy.data.objects["Cube"].location[2]
# Fit width of text to adapt board clapboard
bpy.data.objects["Text"].dimensions[0] = 0.95 * bpy.data.objects["Cube"].dimensions[0]

** Affects: openshot
     Importance: Undecided
         Status: New

** Patch added: "Patch for correct file zoom_clapboard.py"
   https://bugs.launchpad.net/bugs/1788478/+attachment/5179319/+files/patch.txt

-- 
You received this bug notification because you are a member of OpenShot
Bugs, which is subscribed to OpenShot Video Editor.
https://bugs.launchpad.net/bugs/1788478

Title:
  Title 3D zoom clapboard does not fit the text well

Status in OpenShot Video Editor:
  New

Bug description:
  1) Manjaro Linux 4.17.17-1-MANJARO #1 SMP PREEMPT x86_64 GNU/Linux
  2) Installation method Pacman/Yaourt
  3) Openshot 2.4.2
  4) melt 6.10.0
  5) Blender 2.79 (sub 0)

  I add this with zoom_clapboard.py for correct placement text for
  rendering.

  # Panel background of clapboard
  bpy.context.scene.objects.active = bpy.data.objects["Cube"]
  bpy.data.objects["Cube"].select = True
  # Center axes of object
  bpy.ops.object.origin_set(type='ORIGIN_GEOMETRY')

  # Text of clapboard
  bpy.context.scene.objects.active = bpy.data.objects["Text"]
  bpy.data.objects["Text"].select = True
  # Center axes of object
  bpy.ops.object.origin_set(type='ORIGIN_GEOMETRY')
  # Same position of x for center
  bpy.data.objects["Text"].location[0] = bpy.data.objects["Cube"].location[0]
  # Same position of z for center
  bpy.data.objects["Text"].location[2] = bpy.data.objects["Cube"].location[2]
  # Fit width of text to adapt board clapboard
  bpy.data.objects["Text"].dimensions[0] = 0.95 * bpy.data.objects["Cube"].dimensions[0]

To manage notifications about this bug go to:
https://bugs.launchpad.net/openshot/+bug/1788478/+subscriptions