diff --git a/source/blender/editors/space_buttons/buttons_texture.c b/source/blender/editors/space_buttons/buttons_texture.c index 7fb2d0fd538..b43ddf29cce 100644 --- a/source/blender/editors/space_buttons/buttons_texture.c +++ b/source/blender/editors/space_buttons/buttons_texture.c @@ -104,6 +104,7 @@ bool ED_texture_context_check_particles(const bContext *C) bool ED_texture_context_check_linestyle(const bContext *C) { +#ifdef WITH_FREESTYLE Scene *scene = CTX_data_scene(C); SceneRenderLayer *actsrl; FreestyleConfig *config; @@ -121,6 +122,7 @@ bool ED_texture_context_check_linestyle(const bContext *C) } } } +#endif return false; }