diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-08-08 13:01:09 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-08-08 13:01:09 +0400 |
commit | 24acf58fc47f1ed6132bcaa07b86b756e1b3194a (patch) | |
tree | 3e1ecdf068a8504b06bf675a82e481b3ebb1009e /source/blender/editors | |
parent | cc0ec3aa33e09b964cc6f4d0c8d253671ebebf4a (diff) |
quiet harmless py resource warning - file opened but not closed.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/interface/interface_templates.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_templates.c b/source/blender/editors/interface/interface_templates.c index 35125d1483e..305a4a8b3d6 100644 --- a/source/blender/editors/interface/interface_templates.c +++ b/source/blender/editors/interface/interface_templates.c @@ -277,7 +277,7 @@ static void template_id_cb(bContext *C, void *arg_litem, void *arg_event) case UI_ID_ALONE: if(id) { const int do_scene_obj= (GS(id->name) == ID_OB) && - (template->ptr.type == &RNA_SceneObjects); + (template->ptr.type == &RNA_SceneObjects); /* make copy */ if(do_scene_obj) { |