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:
authorBastien Montagne <montagne29@wanadoo.fr>2018-06-15 18:21:07 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2018-06-15 18:21:07 +0300
commitda9b1b14ed0ffd29fcff8f4ca64fff5f034532fc (patch)
treef02c859d3d6ff3971de18390e720146a7181f5de /source/blender/editors/mesh
parent2e25a48b05004112344b04cd56760709eebfc1a4 (diff)
Cleanup: some more G.main removal/validation...
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r--source/blender/editors/mesh/editmesh_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_utils.c b/source/blender/editors/mesh/editmesh_utils.c
index e1303b14f0e..4500aeda70a 100644
--- a/source/blender/editors/mesh/editmesh_utils.c
+++ b/source/blender/editors/mesh/editmesh_utils.c
@@ -358,7 +358,7 @@ void EDBM_mesh_load(Main *bmain, Object *ob)
* cycles.
*/
#if 0
- for (Object *other_object = G.main->object.first;
+ for (Object *other_object = bmain->object.first;
other_object != NULL;
other_object = other_object->id.next)
{