Blender Git Commit Log

Git Commits -> Revision d6db819

Revision d6db819 by Juho Vepsalainen (master)
October 29, 2007, 14:37 (GMT)
Crop Compositing Node:

This commit adds a new node, crop, to the compositor. This node can be used to
crop input image. It has two modes of operation. It can either crop image
size (Crop Image Size option) or crop while retaining original size of the
image. This latter mode can be used to preview the crop.

Use X1, Y1, X2, Y2 controls to manage the area to be cropped.

Note that I added a check for image preview min and max values to node_update.
This is because it could give inappropriate values in certain cases when
Crop Image Size option was toggled (values such as x1=0, y1=0, x2=60, y2=0 would
result in eternal loop due to bad min and max (min bigger than max!)). The check
makes sure that min and max values are always valid.

Commit Details:

Full Hash: d6db819a8366c515b30378b46a77f7341fc9fc67
SVN Revision: 12429
Parent Commit: 8a3f926
Lines Changed: +179, -2

1 Added Path:

/source/blender/nodes/intern/CMP_nodes/CMP_crop.c (+119, -0) (View)

5 Modified Paths:

/source/blender/blenkernel/BKE_node.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/node.c (+1, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+4, -0) (Diff)
/source/blender/nodes/CMP_node.h (+1, -0) (Diff)
/source/blender/src/drawnode.c (+53, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021