Blender Git Commit Log
Git Commits -> Revision 6f0cbba
Revision 6f0cbba by Lukas Toenne (master) February 22, 2013, 10:46 (GMT) |
Simple preset function for setting common node sizes based on enum instead of explicit numbers. Most nodes use the default size now and don't need explicit function calls. Most remaining nodes can also use the preset variant instead of explicit size values, these are only needed for a few special nodes. Thanks to Sebastian König for suggesting this and doing the monkey work of changing node definitions. |
Commit Details:
Full Hash: 6f0cbba0d31b6b9b104df9f63652b40c40583cb3
SVN Revision: 54752
Parent Commit: ca689e8
Lines Changed: +32, -81
74 Modified Paths:
/source/blender/blenkernel/BKE_node.h (+7, -0) (Diff)
/source/blender/blenkernel/intern/node.c (+17, -3) (Diff)
/source/blender/nodes/composite/nodes/node_composite_alphaOver.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_bilateralblur.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_blur.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_bokehblur.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_bokehimage.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_boxmask.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_brightness.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_channelMatte.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_chromaMatte.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_colorcorrection.c (+1, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_colorMatte.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_colorSpill.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_composite.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_crop.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_defocus.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_despeckle.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_diffMatte.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_dilate.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_directionalblur.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_displace.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_distanceMatte.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_doubleEdgeMask.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_ellipsemask.c (+1, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_filter.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_flip.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_gamma.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_glare.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_huecorrect.c (+1, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_hueSatVal.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_idMask.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_image.c (+0, -2) (Diff)
/source/blender/nodes/composite/nodes/node_composite_inpaint.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_invert.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_keying.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_keyingscreen.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_lensdist.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_levels.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_lummaMatte.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_mapRange.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_mapUV.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_mapValue.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_mask.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_math.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_mixrgb.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_movieclip.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_moviedistortion.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_normal.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_normalize.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_outputFile.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_pixelate.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_premulkey.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_rgb.c (+1, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_rotate.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_scale.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_sepcombHSVA.c (+0, -2) (Diff)
/source/blender/nodes/composite/nodes/node_composite_sepcombRGBA.c (+0, -2) (Diff)
/source/blender/nodes/composite/nodes/node_composite_sepcombYCCA.c (+0, -2) (Diff)
/source/blender/nodes/composite/nodes/node_composite_sepcombYUVA.c (+0, -2) (Diff)
/source/blender/nodes/composite/nodes/node_composite_setalpha.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_splitViewer.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_stabilize2d.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_switch.c (+1, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_texture.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_tonemap.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_trackpos.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_transform.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_translate.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_valToRgb.c (+2, -2) (Diff)
/source/blender/nodes/composite/nodes/node_composite_value.c (+1, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_vecBlur.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_viewer.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_zcombine.c (+0, -1) (Diff)
/source/blender/blenkernel/intern/node.c (+17, -3) (Diff)
/source/blender/nodes/composite/nodes/node_composite_alphaOver.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_bilateralblur.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_blur.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_bokehblur.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_bokehimage.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_boxmask.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_brightness.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_channelMatte.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_chromaMatte.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_colorcorrection.c (+1, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_colorMatte.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_colorSpill.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_composite.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_crop.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_defocus.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_despeckle.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_diffMatte.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_dilate.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_directionalblur.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_displace.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_distanceMatte.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_doubleEdgeMask.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_ellipsemask.c (+1, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_filter.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_flip.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_gamma.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_glare.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_huecorrect.c (+1, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_hueSatVal.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_idMask.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_image.c (+0, -2) (Diff)
/source/blender/nodes/composite/nodes/node_composite_inpaint.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_invert.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_keying.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_keyingscreen.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_lensdist.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_levels.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_lummaMatte.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_mapRange.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_mapUV.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_mapValue.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_mask.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_math.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_mixrgb.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_movieclip.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_moviedistortion.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_normal.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_normalize.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_outputFile.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_pixelate.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_premulkey.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_rgb.c (+1, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_rotate.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_scale.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_sepcombHSVA.c (+0, -2) (Diff)
/source/blender/nodes/composite/nodes/node_composite_sepcombRGBA.c (+0, -2) (Diff)
/source/blender/nodes/composite/nodes/node_composite_sepcombYCCA.c (+0, -2) (Diff)
/source/blender/nodes/composite/nodes/node_composite_sepcombYUVA.c (+0, -2) (Diff)
/source/blender/nodes/composite/nodes/node_composite_setalpha.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_splitViewer.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_stabilize2d.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_switch.c (+1, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_texture.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_tonemap.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_trackpos.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_transform.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_translate.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_valToRgb.c (+2, -2) (Diff)
/source/blender/nodes/composite/nodes/node_composite_value.c (+1, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_vecBlur.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_viewer.c (+0, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_zcombine.c (+0, -1) (Diff)