Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Plisson <damien.plisson@yahoo.fr>2009-11-02 14:20:31 +0300
committerDamien Plisson <damien.plisson@yahoo.fr>2009-11-02 14:20:31 +0300
commit3b43a5228e37e8cb79063474295a951c423497b3 (patch)
tree42c4ef998bf36a442d3848a4e0c45909376da45e /source/creator
parentda1765765baf3bc84059548a43beec0c3a1c2d41 (diff)
Mac / COCOA :
- revert tiff load/save to use standard libtiff (to ensure 100% colorimetry & alpha interpretation across platforms) - include patch #18720 to fix load of libtiff dynlib (if present on system)
Diffstat (limited to 'source/creator')
-rw-r--r--source/creator/creator.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c
index 9749b724672..6f90c2ffe84 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -368,10 +368,8 @@ int main(int argc, char **argv)
switch(argv[a][1]) {
case 'a': /* -b was not given, play an animation */
-#if !(defined(__APPLE__) && defined(GHOST_COCOA))
/* exception here, see below, it probably needs happens after qt init? */
libtiff_init();
-#endif
// XXX playanim(argc-1, argv+1);
exit(0);
@@ -540,10 +538,6 @@ int main(int argc, char **argv)
#endif /* WITH_QUICKTIME */
-#if defined(__APPLE__) && defined(GHOST_COCOA)
- /* libtiff is not used, Cocoa services are used instead for tiff I/O */
- G.have_libtiff = 1;
-#else
/* dynamically load libtiff, if available */
libtiff_init();
if (!G.have_libtiff && (G.f & G_DEBUG)) {
@@ -551,7 +545,6 @@ int main(int argc, char **argv)
printf("Try setting the BF_TIFF_LIB environment variable if you want this support.\n");
printf("Example: setenv BF_TIFF_LIB /usr/lib/libtiff.so\n");
}
-#endif
/* OK we are ready for it */