[Bf-blender-cvs] [765107799a6] temp-node-error-messages: Fix node height not increasing

Hans Goudey noreply at git.blender.org
Tue Jan 19 22:56:14 CET 2021


Commit: 765107799a6c77f3586af159f69abf023a94db33
Author: Hans Goudey
Date:   Tue Jan 19 13:01:33 2021 -0600
Branches: temp-node-error-messages
https://developer.blender.org/rB765107799a6c77f3586af159f69abf023a94db33

Fix node height not increasing

===================================================================

M	source/blender/editors/space_node/node_draw.c

===================================================================

diff --git a/source/blender/editors/space_node/node_draw.c b/source/blender/editors/space_node/node_draw.c
index c9c9f742468..cdfd9b15b5d 100644
--- a/source/blender/editors/space_node/node_draw.c
+++ b/source/blender/editors/space_node/node_draw.c
@@ -560,6 +560,7 @@ static void node_update_basis(const bContext *C, bNodeTree *ntree, bNode *node)
       UI_block_layout_resolve(node->block, NULL, &buty);
 
       buty = min_ii(buty, dy - NODE_DY);
+      dy = buty;
     }
   }



More information about the Bf-blender-cvs mailing list