📋 Metadata
- Author: roaoao
- Date: 2016-12-21 08:25:53
- Type:
answer - Reply to: post_00471
- Replies (1): post_00474
💬 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')