Changeset View
Changeset View
Standalone View
Standalone View
source/blender/depsgraph/intern/builder/deg_builder_rna.h
| Show First 20 Lines • Show All 87 Lines • ▼ Show 20 Lines | protected: | ||||
| /* Construct identifier of the node which corresponds given configuration | /* Construct identifier of the node which corresponds given configuration | ||||
| * of RNA property. */ | * of RNA property. */ | ||||
| RNANodeIdentifier construct_node_identifier(const PointerRNA *ptr, | RNANodeIdentifier construct_node_identifier(const PointerRNA *ptr, | ||||
| const PropertyRNA *prop, | const PropertyRNA *prop, | ||||
| RNAPointerSource source); | RNAPointerSource source); | ||||
| /* Make sure ID data exists for the given ID, and returns it. */ | /* Make sure ID data exists for the given ID, and returns it. */ | ||||
| RNANodeQueryIDData *ensure_id_data(const ID *id); | RNANodeQueryIDData *ensure_id_data(const ID *id); | ||||
| /* Check whether prop_identifier contains rna_path_component. | |||||
| * | |||||
| * This checks more than a substring: | |||||
| * | |||||
| * prop_identifier contains(prop_identifier, "location") | |||||
| * ------------------------ ------------------------------------- | |||||
| * location true | |||||
| * ["test_location"] false | |||||
| * pose["bone"].location true | |||||
| * pose["bone"].location.x true | |||||
| */ | |||||
| static bool contains(const char *prop_identifier, const char *rna_path_component); | |||||
| }; | }; | ||||
| } // namespace deg | } // namespace deg | ||||
| } // namespace blender | } // namespace blender | ||||