浏览代码

The function in ClassDB is register_class not register_types

The function in ClassDB is register_class not register_types
Tyler Yocolano 8 年之前
父节点
当前提交
e0769435ba
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      development/cpp/custom_modules_in_cpp.rst

+ 1 - 1
development/cpp/custom_modules_in_cpp.rst

@@ -141,7 +141,7 @@ With the following contents:
 
     void register_summator_types() {
 
-            ClassDB::register_type<Summator>();
+            ClassDB::register_class<Summator>();
     }
 
     void unregister_summator_types() {