Created
December 2, 2012 01:04
-
-
Save sobotka/4186273 to your computer and use it in GitHub Desktop.
How to set the default to Gaussian Blur
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[...] | |
static void node_composit_init_blur(bNodeTree *UNUSED(ntree), bNode *node, bNodeTemplate *UNUSED(ntemp)) | |
{ | |
node->storage = MEM_callocN(sizeof(NodeBlurData), "node blur data"); | |
} | |
[...] | |
// Changes to: | |
static void node_composit_init_blur(bNodeTree *UNUSED(ntree), bNode *node, bNodeTemplate *UNUSED(ntemp)) | |
{ | |
NodeBlurData* pNodeBlurData = MEM_callocN(sizeof(NodeBlurData), "node blur data"); | |
pNodeBlurData->filtertype = R_FILTER_GAUSS; | |
node->storage = pNodeBlurData; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment