hello i have a really simple problem
if my active object is an mesh i want to do an action, if its an empty another one, ... ect
so i want for example in this case, move the location of the active object only if it's an empty
so i tried
if bpy.context.object.type = 'EMPTY' bpy.context.object.location = 8.46184
i really dont understand why it doesnt work, when i type
in blender python console, i have 'EMPTY' as an response...
what is wrong ?