Changes in clip editor's public api to make it's more clear
[blender.git] / source / blender / editors / gpencil / gpencil_edit.c
index ed530bea4bdba541b76973aad9e0dded378a6459..3f53f0403d75bd5ad30ab592cfc53c041253832a 100644 (file)
@@ -146,7 +146,7 @@ bGPdata **gpencil_data_get_pointers(const bContext *C, PointerRNA *ptr)
                        case SPACE_CLIP: /* Nodes Editor */
                        {
                                SpaceClip *sc = (SpaceClip *)CTX_wm_space_data(C);
                        case SPACE_CLIP: /* Nodes Editor */
                        {
                                SpaceClip *sc = (SpaceClip *)CTX_wm_space_data(C);
-                               MovieClip *clip = ED_space_clip(sc);
+                               MovieClip *clip = ED_space_clip_get_clip(sc);
                                
                                if (clip) {
                                        if (sc->gpencil_src == SC_GPENCIL_SRC_TRACK) {
                                
                                if (clip) {
                                        if (sc->gpencil_src == SC_GPENCIL_SRC_TRACK) {