mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 01:09:24 -04:00
engine designed to produce photorealistic images, animations, and visual effects. To ease initial maintenance, disable Doxygen API documentation generation, unit tests, installation of headers and Python bindings for now; there'll be OPTIONS for those things once the dust settles.
19 lines
797 B
C++
19 lines
797 B
C++
--- src/appleseed.studio/mainwindow/project/texturecollectionitem.cpp.orig 2015-06-13 09:38:53 UTC
|
|
+++ src/appleseed.studio/mainwindow/project/texturecollectionitem.cpp
|
|
@@ -108,11 +108,15 @@ namespace
|
|
texture_params.insert("filename", path);
|
|
texture_params.insert("color_space", "srgb");
|
|
|
|
+ // Workaround for GCC 4.2.1: we cannot construct object in .create() below
|
|
+ // because GCC will attempt to invoke copy ctor which is private of course.
|
|
+ SearchPaths paths;
|
|
+
|
|
return
|
|
DiskTexture2dFactory().create(
|
|
texture_name.c_str(),
|
|
texture_params,
|
|
- SearchPaths());
|
|
+ paths);
|
|
}
|
|
|
|
auto_release_ptr<TextureInstance> create_texture_instance(const string& texture_name)
|