Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Krita
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tusooa Zhu
Krita
Commits
3cefbd43
Commit
3cefbd43
authored
Sep 20, 2014
by
Halla Rempt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build on Windows with MSVC 2012
Still need to contact David Tschumperle about this
parent
1d5aa86b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
krita/plugins/extensions/gmic/gmic.cpp
krita/plugins/extensions/gmic/gmic.cpp
+4
-3
krita/plugins/extensions/gmic/kis_gmic_command.cpp
krita/plugins/extensions/gmic/kis_gmic_command.cpp
+1
-1
krita/plugins/extensions/gmic/tests/kis_gmic_tests.cpp
krita/plugins/extensions/gmic/tests/kis_gmic_tests.cpp
+1
-1
No files found.
krita/plugins/extensions/gmic/gmic.cpp
View file @
3cefbd43
...
...
@@ -13204,8 +13204,9 @@ int main(int argc, char **argv) {
// Explicitely instanciate constructor for float-valued images.
template gmic::gmic(const char *const commands_line,
gmic_list<float>& images, gmic_list<char>& images_names,
const char *const custom_commands=0,
const bool include_default_commands=true,
float *const p_progress=0, int *const p_cancel=0);
const char *const custom_commands,
const bool include_default_commands,
float *const p_progress,
int *const p_cancel);
#endif // #ifdef gmic_main
#endif // #ifdef cimg_plugin
krita/plugins/extensions/gmic/kis_gmic_command.cpp
View file @
3cefbd43
...
...
@@ -67,7 +67,7 @@ void KisGmicCommand::redo()
QString
gmicCmd
=
"-* 255 "
;
gmicCmd
.
append
(
m_gmicCommandString
);
dbgPlugins
<<
m_gmicCommandString
;
gmic
(
gmicCmd
.
toLocal8Bit
().
constData
(),
*
m_images
,
images_names
,
m_customCommands
,
true
);
gmic
(
gmicCmd
.
toLocal8Bit
().
constData
(),
*
m_images
,
images_names
,
m_customCommands
,
true
,
0
,
0
);
}
// Catch exception, if an error occured in the interpreter.
...
...
krita/plugins/extensions/gmic/tests/kis_gmic_tests.cpp
View file @
3cefbd43
...
...
@@ -337,7 +337,7 @@ bool KisGmicTests::filterWithGmic(KisGmicFilterSetting* gmicFilterSetting, const
{
QString
gmicCmd
=
"-* 255 "
;
gmicCmd
.
append
(
gmicFilterSetting
->
gmicCommand
());
gmic
(
gmicCmd
.
toLocal8Bit
().
constData
(),
images
,
images_names
);
gmic
(
gmicCmd
.
toLocal8Bit
().
constData
(),
images
,
images_names
,
true
,
0
,
0
);
}
// Catch exception, if an error occured in the interpreter.
catch
(
gmic_exception
&
e
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment