[Bf-blender-cvs] [e74279b] soc-2014-shapekey: Fixed compilation under MSVC
Grigory Revzin
noreply at git.blender.org
Fri Aug 15 01:09:00 CEST 2014
Commit: e74279b77ddd31b38dd304b81b27d66c8c52ce35
Author: Grigory Revzin
Date: Fri Aug 15 03:08:17 2014 +0400
Branches: soc-2014-shapekey
https://developer.blender.org/rBe74279b77ddd31b38dd304b81b27d66c8c52ce35
Fixed compilation under MSVC
===================================================================
M source/blender/blenkernel/intern/key.c
===================================================================
diff --git a/source/blender/blenkernel/intern/key.c b/source/blender/blenkernel/intern/key.c
index bb2cecb..750ed23 100644
--- a/source/blender/blenkernel/intern/key.c
+++ b/source/blender/blenkernel/intern/key.c
@@ -36,9 +36,9 @@
#include "MEM_guardedalloc.h"
+#include "BLI_utildefines.h"
#include "BLI_blenlib.h"
#include "BLI_math_vector.h"
-#include "BLI_utildefines.h"
#include "BLF_translation.h"
@@ -2145,7 +2145,7 @@ void BKE_key_editdata_to_scratch(Object *ob, bool indeces_in_sync)
Key *k = BKE_key_from_object(ob);
ScratchKeyBlock *skb = &k->scratch;
- BLI_assert(ELEM3(ob->type, OB_MESH, OB_LATTICE, OB_CURVE));
+ BLI_assert(ELEM(ob->type, OB_MESH, OB_LATTICE, OB_CURVE));
BLI_assert(ob->mode == OB_MODE_EDIT);
if (ob->type == OB_MESH) {
@@ -2189,7 +2189,7 @@ void BKE_key_editdata_from_scratch(Object *ob)
{
ScratchKeyBlock *skb = &BKE_key_from_object(ob)->scratch;
- BLI_assert(ELEM3(ob->type, OB_MESH, OB_LATTICE, OB_CURVE));
+ BLI_assert(ELEM(ob->type, OB_MESH, OB_LATTICE, OB_CURVE));
BLI_assert(ob->mode == OB_MODE_EDIT);
if (ob->type == OB_MESH) {
More information about the Bf-blender-cvs
mailing list