Преглед на файлове

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() {