Fix part of #19309: editing node vector input in a popup did
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Mon, 21 Sep 2009 20:50:11 +0000 (20:50 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Mon, 21 Sep 2009 20:50:11 +0000 (20:50 +0000)
not keep it open after changing one of the buttons.

source/blender/editors/space_node/node_draw.c

index a87a141972b3fffe5be72cb6ade668a073cbed17..1d57f4e0d4c4f5eacfea9872fb33f67bd46f8a2f 100644 (file)
@@ -567,6 +567,7 @@ static uiBlock *socket_vector_menu(bContext *C, ARegion *ar, void *socket_v)
        }
        
        block= uiBeginBlock(C, ar, "socket menu", UI_EMBOSS);
+       uiBlockSetFlag(block, UI_BLOCK_KEEP_OPEN);
 
        /* use this for a fake extra empy space around the buttons */
        uiDefBut(block, LABEL, 0, "",                   -4, -4, 188, 68, NULL, 0, 0, 0, 0, "");