"Bpy.ops.object.camera_add" doesn't take the rotation argument into account #65878

Closed
opened 2019-06-17 11:16:07 +02:00 by SagRU · 5 comments

System Information
Operating system: Windows-10-10.0.17763 64 Bits
Graphics card: Intel(R) HD Graphics 530 Intel 4.5.0 - Build 25.20.100.6323

Blender Version
Broken: version: 2.80 (sub 74), branch: blender2.7, commit date: 2019-06-16 23:08, hash: blender/blender@12da679fa0

Short description of error
"Bpy.ops.object.camera_add" doesn't take the rotation argument into account.

Exact steps for others to reproduce the error

  1. Run this code snippet in Python console:
location = (20.0, 20.0, 20.0)
rotation = (90.0, 0.0, 90.0)
bpy.ops.object.camera_add(location = location, rotation = rotation)
  1. Check camera's object properties: location's applied correctly, rotation isn't applied at all
**System Information** Operating system: Windows-10-10.0.17763 64 Bits Graphics card: Intel(R) HD Graphics 530 Intel 4.5.0 - Build 25.20.100.6323 **Blender Version** Broken: version: 2.80 (sub 74), branch: blender2.7, commit date: 2019-06-16 23:08, hash: `blender/blender@12da679fa0` **Short description of error** "Bpy.ops.object.camera_add" doesn't take the rotation argument into account. **Exact steps for others to reproduce the error** 1) Run this code snippet in Python console: ``` location = (20.0, 20.0, 20.0) rotation = (90.0, 0.0, 90.0) bpy.ops.object.camera_add(location = location, rotation = rotation) ``` 2) Check camera's object properties: location's applied correctly, rotation isn't applied at all
Author

Added subscriber: @WannaBe

Added subscriber: @WannaBe
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Philipp Oeser self-assigned this 2019-06-17 13:58:19 +02:00
Member

Confirmed, checking...

Confirmed, checking...

This issue was referenced by blender/blender@3b8a14a3c0

This issue was referenced by blender/blender@3b8a14a3c072b01c833c18781612960fc9e78cc3
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#65878
No description provided.