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:
authorRoman Pogribnyi <pogribnyi@gmail.com>2014-07-22 18:44:57 +0400
committerRoman Pogribnyi <pogribnyi@gmail.com>2014-07-22 18:44:57 +0400
commit0f64929d797d31500c48195763920211f618e0c9 (patch)
treeb5480e15a84b5033c5a63e6fe0f10f8445f71913 /source/blender/python/manta_pp/pwrapper/registry.cpp
parentbab35daf74da926629e631f2e9ab6b143c93089b (diff)
added debug messages
Diffstat (limited to 'source/blender/python/manta_pp/pwrapper/registry.cpp')
-rw-r--r--source/blender/python/manta_pp/pwrapper/registry.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/python/manta_pp/pwrapper/registry.cpp b/source/blender/python/manta_pp/pwrapper/registry.cpp
index 3dd268e5857..7ee336a8dc6 100644
--- a/source/blender/python/manta_pp/pwrapper/registry.cpp
+++ b/source/blender/python/manta_pp/pwrapper/registry.cpp
@@ -658,24 +658,31 @@ void setReference(Manta::PbClass* cls, PyObject* obj) {
}
Register::Register(const string& className, const string& funcName, GenericFunction func) {
+ cout<<"reg_method__"<<className<< ":::" << funcName << endl;
WrapperRegistry::instance().addMethod(className, funcName, func);
}
Register::Register(const string& className, const string& funcName, OperatorFunction func) {
+ cout<<"reg_oper__"<<className<< ":::" << funcName << endl;
WrapperRegistry::instance().addOperator(className, funcName, func);
}
Register::Register(const string& className, const string& funcName, Constructor func) {
+ cout<<"reg_constr__"<<className<< ":::" << funcName << endl;
WrapperRegistry::instance().addConstructor(className, func);
}
Register::Register(const string& className, const string& property, Getter getter, Setter setter) {
+ cout<<"reg_getset__"<<className<< ":::" << property << endl;
WrapperRegistry::instance().addGetSet(className, property, getter, setter);
}
Register::Register(const string& className, const string& pyName, const string& baseClass) {
+ cout<<"reg_class__"<<className<< ":::" << pyName << endl;
WrapperRegistry::instance().addClass(pyName, className, baseClass);
}
Register::Register(const string& file, const string& pythonCode) {
+ cout<<"reg_pyCode__"<<file<< ":::" << pythonCode << endl;
WrapperRegistry::instance().addPythonCode(file, pythonCode);
}
Register::Register(InitFunc func) {
+ cout<<"reg_initfunc"<< endl;
WrapperRegistry::instance().addExternalInitializer(func);
}