forked from bartvdbraak/blender
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:
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)
|
||||
|
Loading…
Reference in New Issue
Block a user