[Bf-blender-cvs] [3513275] alembic: Stub function for Alembic init when Alembic is not enabled.

Lukas Tönne noreply at git.blender.org
Thu Mar 26 13:55:06 CET 2015


Commit: 35132757cca7008f242af01f9d5ae54e73c70e45
Author: Lukas Tönne
Date:   Mon Mar 23 13:31:16 2015 +0100
Branches: alembic
https://developer.blender.org/rB35132757cca7008f242af01f9d5ae54e73c70e45

Stub function for Alembic init when Alembic is not enabled.

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

M	source/blender/pointcache/PTC_api.cpp

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

diff --git a/source/blender/pointcache/PTC_api.cpp b/source/blender/pointcache/PTC_api.cpp
index 30ac05a..cc29eb3 100644
--- a/source/blender/pointcache/PTC_api.cpp
+++ b/source/blender/pointcache/PTC_api.cpp
@@ -44,6 +44,12 @@ extern "C" {
 
 using namespace PTC;
 
+#ifndef WITH_PTC_ALEMBIC
+void PTC_alembic_init()
+{
+}
+#endif
+
 void PTC_error_handler_std(void)
 {
 	ErrorHandler::clear_default_handler();




More information about the Bf-blender-cvs mailing list