Commit: 653e741e81b8f899c74d3d3afd84970e472f072f
Author: Sybren A. Stüvel
Date:   Thu Dec 15 11:07:28 2016 +0100
Branches: temp-sybren-poselib
https://developer.blender.org/rB653e741e81b8f899c74d3d3afd84970e472f072f

Documented an assumption of the code in a comment.

===================================================================

M       release/scripts/startup/bl_operators/poselib.py

===================================================================

diff --git a/release/scripts/startup/bl_operators/poselib.py 
b/release/scripts/startup/bl_operators/poselib.py
index b0ff33d..24e8123 100644
--- a/release/scripts/startup/bl_operators/poselib.py
+++ b/release/scripts/startup/bl_operators/poselib.py
@@ -119,6 +119,7 @@ class POSELIB_OT_render_previews(Operator):
 
         im = bpy.data.images['Render 
Result'].copy_from_render(scene=context.scene)
 
+        # Scale to image and then icon size. Assumption: icon size is smaller 
than image size.
         im.scale(*self.image_size)
         plib.preview.image_frame_img_set(plib_index, im)

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to