Freestyle: hide the Line Style tab from the Texture properties context when WITH_FREESTYLE build flag is off.

This commit is contained in:
2014-05-08 10:01:49 +09:00
parent bebcd4d5c5
commit 34bc1e528e

View File

@@ -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;
}