4

Python custom empty scale overwrite to 1,1,1 for primitives it work fine but for empty for some reason it`s overwrites to default 1 any idea why ?

import bpy
size=(3,3,3)
bpy.ops.object.empty_add(type='PLAIN_AXES', align='WORLD', location=(0, 0, 0), scale=size)

1 Answers1

4

I think it is a bug.

What works:

bpy.ops.object.empty_add(type='PLAIN_AXES', align='WORLD', location=(1, 0, 0), scale=(2,2,2))

bpy.context.object.scale = (2,2,2)

Chris
  • 59,454
  • 6
  • 30
  • 84