Compositor:

* Change default blur type (Blur Node) to Gaussian. Feature Request by Sebastian König. 

Patch by Troy Sobotka, approved by Campbell, Sergey and myself.
This commit is contained in:
Thomas Dinges 2012-12-02 14:41:42 +00:00
parent 1d09d0a9c5
commit bc3f34b4e8

@ -726,7 +726,9 @@ static void node_composit_exec_blur(void *data, bNode *node, bNodeStack **in, bN
static void node_composit_init_blur(bNodeTree *UNUSED(ntree), bNode *node, bNodeTemplate *UNUSED(ntemp))
{
node->storage = MEM_callocN(sizeof(NodeBlurData), "node blur data");
NodeBlurData* pNodeBlurData = MEM_callocN(sizeof(NodeBlurData), "node blur data");
pNodeBlurData->filtertype = R_FILTER_GAUSS;
node->storage = pNodeBlurData;
}
void register_node_type_cmp_blur(bNodeTreeType *ttype)