Commit: 24686351746532a72a5dac9a5bca0c6fed4fe832 Author: Sergey Sharybin Date: Wed Oct 28 10:39:37 2020 +0100 Branches: master https://developer.blender.org/rB24686351746532a72a5dac9a5bca0c6fed4fe832
Tracking: Move optical center to lens panel Optical center is in fact a property of lens rather than a camera body. =================================================================== M release/scripts/startup/bl_ui/space_clip.py =================================================================== diff --git a/release/scripts/startup/bl_ui/space_clip.py b/release/scripts/startup/bl_ui/space_clip.py index 7cf45e73a27..a0cf22877d5 100644 --- a/release/scripts/startup/bl_ui/space_clip.py +++ b/release/scripts/startup/bl_ui/space_clip.py @@ -877,10 +877,6 @@ class CLIP_PT_tracking_camera(Panel): col.prop(clip.tracking.camera, "sensor_width", text="Sensor Width") col.prop(clip.tracking.camera, "pixel_aspect", text="Pixel Aspect") - col = layout.column() - col.prop(clip.tracking.camera, "principal", text="Optical Center") - col.operator("clip.set_center_principal", text="Set Center") - class CLIP_PT_tracking_lens(Panel): bl_space_type = 'CLIP_EDITOR' @@ -916,6 +912,10 @@ class CLIP_PT_tracking_lens(Panel): col.prop(camera, "focal_length_pixels") col.prop(camera, "units", text="Units") + col = layout.column() + col.prop(clip.tracking.camera, "principal", text="Optical Center") + col.operator("clip.set_center_principal", text="Set Center") + col = layout.column() col.prop(camera, "distortion_model", text="Lens Distortion") if camera.distortion_model == 'POLYNOMIAL': _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs