correct error in recent menu update for render slots, missing callback
authorCampbell Barton <ideasman42@gmail.com>
Wed, 12 Feb 2014 23:00:52 +0000 (10:00 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 12 Feb 2014 23:00:52 +0000 (10:00 +1100)
source/blender/editors/space_image/image_buttons.c

index 0a84f995c02c98be5f287d438dae97ae8c93bf6e..aaa3aa46cbbd92cd39956d5c9a4eab0f0499324e 100644 (file)
@@ -525,6 +525,7 @@ static void uiblock_layer_pass_buttons(uiLayout *layout, RenderResult *rr, Image
                char str[64];
                BLI_snprintf(str, sizeof(str), IFACE_("Slot %d"), *render_slot + 1);
                but = uiDefMenuBut(block, ui_imageuser_slot_menu, render_slot, str, 0, 0, wmenu1, UI_UNIT_Y, TIP_("Select Slot"));
+               uiButSetFunc(but, image_multi_cb, rr, iuser);
                uiButSetMenuFromPulldown(but);
        }