From 66c3a7c5502815af082feee73165d144bee78fb1 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 22 Apr 2019 01:42:45 +1000 Subject: Cleanup: comments (long lines) in makesdna --- source/blender/makesdna/DNA_node_types.h | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'source/blender/makesdna/DNA_node_types.h') diff --git a/source/blender/makesdna/DNA_node_types.h b/source/blender/makesdna/DNA_node_types.h index 6befb9da522..4bdb348c74f 100644 --- a/source/blender/makesdna/DNA_node_types.h +++ b/source/blender/makesdna/DNA_node_types.h @@ -264,13 +264,14 @@ typedef struct bNode { rctf butr; /** Optional preview area. */ rctf prvr; - /* XXX TODO + /** + * XXX TODO * Node totr size depends on the prvr size, which in turn is determined from preview size. * In earlier versions bNodePreview was stored directly in nodes, but since now there can be - * multiple instances using different preview images it is possible that required node size varies between instances. - * preview_xsize, preview_ysize defines a common reserved size for preview rect for now, - * could be replaced by more accurate node instance drawing, but that requires removing totr from DNA - * and replacing all uses with per-instance data. + * multiple instances using different preview images it is possible that required node size + * varies between instances. preview_xsize, preview_ysize defines a common reserved size for + * preview rect for now, could be replaced by more accurate node instance drawing, + * but that requires removing totr from DNA and replacing all uses with per-instance data. */ /** Reserved size of the preview rect. */ short preview_xsize, preview_ysize; @@ -466,10 +467,12 @@ typedef struct bNodeTree { bNodeInstanceKey active_viewer_key; char _pad[4]; - /* execution data */ - /* XXX It would be preferable to completely move this data out of the underlying node tree, - * so node tree execution could finally run independent of the tree itself. This would allow node trees - * to be merely linked by other data (materials, textures, etc.), as ID data is supposed to. + /** Execution data. + * + * XXX It would be preferable to completely move this data out of the underlying node tree, + * so node tree execution could finally run independent of the tree itself. + * This would allow node trees to be merely linked by other data (materials, textures, etc.), + * as ID data is supposed to. * Execution data is generated from the tree once at execution start and can then be used * as long as necessary, even while the tree is being modified. */ -- cgit v1.2.3