mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-04 08:46:09 +00:00
Define fill_toolloop_params_from_tool_preferences() only when needed
This commit is contained in:
parent
3163d00e1e
commit
2bfd3261b5
@ -62,6 +62,8 @@ namespace app {
|
||||
|
||||
using namespace ui;
|
||||
|
||||
#ifdef ENABLE_UI
|
||||
|
||||
static void fill_toolloop_params_from_tool_preferences(ToolLoopParams& params)
|
||||
{
|
||||
ToolPreferences& toolPref =
|
||||
@ -74,6 +76,8 @@ static void fill_toolloop_params_from_tool_preferences(ToolLoopParams& params)
|
||||
params.freehandAlgorithm = toolPref.freehandAlgorithm();
|
||||
}
|
||||
|
||||
#endif // ENABLE_UI
|
||||
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
// Common properties between drawing/preview ToolLoop impl
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user