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:
authorCampbell Barton <ideasman42@gmail.com>2011-02-07 11:13:28 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-02-07 11:13:28 +0300
commitd272b70ee09be8c949247404c9324cfffc833976 (patch)
tree28a9339ba56e77cebae3ddc61815f1437e34b465 /source/blender/makesrna/intern/rna_ID.c
parentad8c79405ac053bafea606ee954c4324d066d5fa (diff)
rename ID.update() --> update_tag() since this function only tags for updating and scene.update() executes the update.
Diffstat (limited to 'source/blender/makesrna/intern/rna_ID.c')
-rw-r--r--source/blender/makesrna/intern/rna_ID.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_ID.c b/source/blender/makesrna/intern/rna_ID.c
index a428c811061..e1c0bc30102 100644
--- a/source/blender/makesrna/intern/rna_ID.c
+++ b/source/blender/makesrna/intern/rna_ID.c
@@ -250,7 +250,7 @@ ID *rna_ID_copy(ID *id)
return NULL;
}
-static void rna_ID_update(ID *id, ReportList *reports, int flag)
+static void rna_ID_update_tag(ID *id, ReportList *reports, int flag)
{
/* XXX, new function for this! */
/*if (ob->type == OB_FONT) {
@@ -478,7 +478,7 @@ static void rna_def_ID(BlenderRNA *brna)
func= RNA_def_function(srna, "animation_data_clear", "BKE_free_animdata");
RNA_def_function_ui_description(func, "Clear animation on this this ID.");
- func= RNA_def_function(srna, "update", "rna_ID_update");
+ func= RNA_def_function(srna, "update_tag", "rna_ID_update_tag");
RNA_def_function_flag(func, FUNC_USE_REPORTS);
RNA_def_function_ui_description(func, "Tag the id to update its display data.");
RNA_def_enum_flag(func, "refresh", update_flag_items, 0, "", "Type of updates to perform.");