fix/workaround [#28040] float images reduced to 256 levels per channel upon save
[blender.git] / source / blender / editors / space_image / image_buttons.c
index e9ebe78da296d302b49217e932566d291c9a69ba..66e844e67a8f689bc694b1d83e9df424ea56aad0 100644 (file)
@@ -804,6 +804,7 @@ void uiTemplateImage(uiLayout *layout, bContext *C, PointerRNA *ptr, const char
                                col= uiLayoutColumn(split, 1);
                                uiItemR(col, &imaptr, "generated_width", 0, "X", ICON_NONE);
                                uiItemR(col, &imaptr, "generated_height", 0, "Y", ICON_NONE);
+                               uiItemR(col, &imaptr, "use_generated_float", 0, NULL, ICON_NONE);
 
                                uiItemR(split, &imaptr, "generated_type", UI_ITEM_R_EXPAND, NULL, ICON_NONE);
                        }