SpaceImage.curves --> curve for consistency.
[blender.git] / source / blender / editors / space_image / image_buttons.c
index 8b3ceecc7da8681688ce8bf6d6a717350eb1ff0f..6a50de566ac7c69da17fc9f045c6399b95b07d79 100644 (file)
@@ -346,7 +346,7 @@ static void image_panel_curves(const bContext *C, Panel *pa)
                levels= (ibuf->channels==4);
 
                RNA_pointer_create(&sc->id, &RNA_SpaceImageEditor, sima, &simaptr);
-               uiTemplateCurveMapping(pa->layout, &simaptr, "curves", 'c', levels, 0);
+               uiTemplateCurveMapping(pa->layout, &simaptr, "curve", 'c', levels, 0);
        }
 
        ED_space_image_release_buffer(sima, lock);