[Bf-blender-cvs] [46b9124241c] master: Fix strict compiler warning

Sergey Sharybin noreply at git.blender.org
Mon Jul 10 17:43:38 CEST 2017


Commit: 46b9124241c27083eb2141f793c7c04b3e85452c
Author: Sergey Sharybin
Date:   Mon Jul 10 17:43:27 2017 +0200
Branches: master
https://developer.blender.org/rB46b9124241c27083eb2141f793c7c04b3e85452c

Fix strict compiler warning

===================================================================

M	source/blender/blenkernel/intern/scene.c

===================================================================

diff --git a/source/blender/blenkernel/intern/scene.c b/source/blender/blenkernel/intern/scene.c
index c105b630251..13623dcb597 100644
--- a/source/blender/blenkernel/intern/scene.c
+++ b/source/blender/blenkernel/intern/scene.c
@@ -243,7 +243,7 @@ Scene *BKE_scene_copy(Main *bmain, Scene *sce, int type)
 				for (lineset = new_srl->freestyleConfig.linesets.first; lineset; lineset = lineset->next) {
 					if (lineset->linestyle) {
 						/* Has been incremented by BKE_freestyle_config_copy(). */
-						id_us_min(lineset->linestyle);
+						id_us_min(&lineset->linestyle->id);
 						lineset->linestyle = BKE_linestyle_copy(bmain, lineset->linestyle);
 					}
 				}




More information about the Bf-blender-cvs mailing list