diff options
Diffstat (limited to 'source/blender/depsgraph/intern/builder/deg_builder_pchanmap.h')
-rw-r--r-- | source/blender/depsgraph/intern/builder/deg_builder_pchanmap.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_pchanmap.h b/source/blender/depsgraph/intern/builder/deg_builder_pchanmap.h index 1fb634a8707..0c1d22f9345 100644 --- a/source/blender/depsgraph/intern/builder/deg_builder_pchanmap.h +++ b/source/blender/depsgraph/intern/builder/deg_builder_pchanmap.h @@ -28,27 +28,27 @@ struct GHash; namespace DEG { struct RootPChanMap { - /* ctor and dtor - Create and free the internal map respectively. */ - RootPChanMap(); - ~RootPChanMap(); - - /* Debug contents of map. */ - void print_debug(); - - /* Add a mapping. */ - void add_bone(const char *bone, const char *root); - - /* Check if there's a common root bone between two bones. */ - bool has_common_root(const char *bone1, const char *bone2); - -protected: - /* The actual map: - * - Keys are "strings" (const char *) - not dynamically allocated. - * - Values are "sets" (const char *) - not dynamically allocated. - * - * We don't use the C++ maps here, as it's more convenient to use - * Blender's GHash and be able to compare by-value instead of by-ref. */ - struct GHash *map_; + /* ctor and dtor - Create and free the internal map respectively. */ + RootPChanMap(); + ~RootPChanMap(); + + /* Debug contents of map. */ + void print_debug(); + + /* Add a mapping. */ + void add_bone(const char *bone, const char *root); + + /* Check if there's a common root bone between two bones. */ + bool has_common_root(const char *bone1, const char *bone2); + + protected: + /* The actual map: + * - Keys are "strings" (const char *) - not dynamically allocated. + * - Values are "sets" (const char *) - not dynamically allocated. + * + * We don't use the C++ maps here, as it's more convenient to use + * Blender's GHash and be able to compare by-value instead of by-ref. */ + struct GHash *map_; }; } // namespace DEG |