Commit: d8c1d2d843a8f30fb596d05840865ce6f6971525
Author: Sergey Sharybin
Date:   Fri May 22 12:56:51 2015 +0500
Branches: alembic
https://developer.blender.org/rBd8c1d2d843a8f30fb596d05840865ce6f6971525

Alembic: Update stubs file so building without alembic works fine

===================================================================

M       source/blender/pointcache/PTC_api.cpp

===================================================================

diff --git a/source/blender/pointcache/PTC_api.cpp 
b/source/blender/pointcache/PTC_api.cpp
index 2cb1f6e..c8ab2cc 100644
--- a/source/blender/pointcache/PTC_api.cpp
+++ b/source/blender/pointcache/PTC_api.cpp
@@ -51,8 +51,9 @@ using namespace PTC;
 
 class StubFactory : public Factory {
        const std::string &get_default_extension() { static std::string ext = 
""; return ext; }
-       WriterArchive *open_writer_archive(Scene */*scene*/, const std::string 
&/*name*/, ErrorHandler */*error_handler*/) { return NULL; }
-       ReaderArchive *open_reader_archive(Scene */*scene*/, const std::string 
&/*name*/, ErrorHandler */*error_handler*/) { return NULL; }
+       WriterArchive *open_writer_archive(double /*fps*/, float 
/*start_frame*/, const std::string &/*name*/, ErrorHandler * /*error_handler*/) 
{ return NULL; }
+       ReaderArchive *open_reader_archive(double /*fps*/, float 
/*start_frame*/, const std::string &/*name*/, ErrorHandler * /*error_handler*/) 
{ return NULL; }
+       void slice(ReaderArchive * /*in*/, WriterArchive * /*out*/, float 
/*start_frame*/, float /*end_frame*/) {}
        Writer *create_writer_object(const std::string &/*name*/, Scene 
*/*scene*/, Object */*ob*/) { return NULL; }
        Reader *create_reader_object(const std::string &/*name*/, Object 
*/*ob*/) { return NULL; }
        Writer *create_writer_group(const std::string &/*name*/, Group 
*/*group*/) { return NULL; }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to