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:
authorDalai Felinto <dfelinto@gmail.com>2017-05-18 17:16:23 +0300
committerDalai Felinto <dfelinto@gmail.com>2017-05-18 17:53:02 +0300
commitc36eb9b291328a5345ad406a28435c97d5ac0155 (patch)
tree43645c5b1618cc7bb5da0a0f54ccdc8933571c83 /source/blender/makesrna
parent849b26c7460ace53573b063349228c1106a22b1d (diff)
Rename Iterator struct to BLI_Iterator
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r--source/blender/makesrna/intern/rna_depsgraph.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/makesrna/intern/rna_depsgraph.c b/source/blender/makesrna/intern/rna_depsgraph.c
index 571f07471a7..cc94bee2b3a 100644
--- a/source/blender/makesrna/intern/rna_depsgraph.c
+++ b/source/blender/makesrna/intern/rna_depsgraph.c
@@ -87,15 +87,15 @@ static void rna_Depsgraph_debug_stats(Depsgraph *graph, ReportList *reports)
static void rna_Depsgraph_objects_begin(CollectionPropertyIterator *iter, PointerRNA *ptr)
{
Depsgraph *graph = (Depsgraph *)ptr->data;
- iter->internal.custom = MEM_callocN(sizeof(Iterator), __func__);
+ iter->internal.custom = MEM_callocN(sizeof(BLI_Iterator), __func__);
DAG_objects_iterator_begin(iter->internal.custom, graph);
- iter->valid = ((Iterator *)iter->internal.custom)->valid;
+ iter->valid = ((BLI_Iterator *)iter->internal.custom)->valid;
}
static void rna_Depsgraph_objects_next(CollectionPropertyIterator *iter)
{
DAG_objects_iterator_next(iter->internal.custom);
- iter->valid = ((Iterator *)iter->internal.custom)->valid;
+ iter->valid = ((BLI_Iterator *)iter->internal.custom)->valid;
}
static void rna_Depsgraph_objects_end(CollectionPropertyIterator *iter)
@@ -106,7 +106,7 @@ static void rna_Depsgraph_objects_end(CollectionPropertyIterator *iter)
static PointerRNA rna_Depsgraph_objects_get(CollectionPropertyIterator *iter)
{
- Object *ob = ((Iterator *)iter->internal.custom)->current;
+ Object *ob = ((BLI_Iterator *)iter->internal.custom)->current;
return rna_pointer_inherit_refine(&iter->parent, &RNA_Object, ob);
}