📋 Metadata

💬 Content

shogunato:

Can you please tell me if this is a bug or not ?

To fix that bug you can add ‘INVOKE_DEFAULT’ to the code. For example:

Replace
bpy.ops.view3d.viewnumpad(type='CAMERA')

with this:
bpy.ops.view3d.viewnumpad('INVOKE_DEFAULT', type='CAMERA')

🔗 View on Blender Artists