Renamed CTX_data_linestyle_from_scene() to BKE_get_linestyle_from_scene().
[blender.git] / source / blender / editors / space_buttons / buttons_texture.c
index 0aa3e47df4b44f47fe689bbdb4bf44c3daab3974..930a05088b1228abc98b1e56df2ec52172d5fe20 100644 (file)
@@ -53,8 +53,8 @@
 #include "DNA_world_types.h"
 #include "DNA_linestyle_types.h"
 
-
 #include "BKE_context.h"
+#include "BKE_linestyle.h"
 #include "BKE_material.h"
 #include "BKE_modifier.h"
 #include "BKE_node.h"
@@ -352,7 +352,7 @@ static void buttons_texture_users_from_context(ListBase *users, const bContext *
                ob = (scene->basact) ? scene->basact->object : NULL;
                wrld = scene->world;
                brush = BKE_paint_brush(BKE_paint_get_active_from_context(C));
-               linestyle = CTX_data_linestyle_from_scene(scene);
+               linestyle = BKE_get_linestyle_from_scene(scene);
        }
 
        if (ob && ob->type == OB_LAMP && !la)