[Bf-blender-cvs] [83752e2] openvdb: Fixed incorrect macro for testing build settings.

Lukas Tönne noreply at git.blender.org
Fri Jun 5 14:54:34 CEST 2015


Commit: 83752e2b409aa80d0bbb38e0a9c79b7ae5090578
Author: Lukas Tönne
Date:   Fri Jun 5 11:56:18 2015 +0200
Branches: openvdb
https://developer.blender.org/rB83752e2b409aa80d0bbb38e0a9c79b7ae5090578

Fixed incorrect macro for testing build settings.

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

M	source/blender/makesrna/intern/rna_smoke.c

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

diff --git a/source/blender/makesrna/intern/rna_smoke.c b/source/blender/makesrna/intern/rna_smoke.c
index a2896cc..59198e8 100644
--- a/source/blender/makesrna/intern/rna_smoke.c
+++ b/source/blender/makesrna/intern/rna_smoke.c
@@ -323,7 +323,7 @@ static void rna_def_openvdb_cache(BlenderRNA *brna)
 
 	static EnumPropertyItem prop_compression_items[] = {
 		{ VDB_COMPRESSION_ZIP, "ZIP", 0, "Zip", "Slow and effective compression" },
-#if WITH_OPENVDB_BLOSC
+#ifdef WITH_OPENVDB_BLOSC
 		{ VDB_COMPRESSION_BLOSC, "BLOSC", 0, "Blosc", "Multithreaded compression, almost similar in size and quality as 'Zip'" },
 #endif
 		{ VDB_COMPRESSION_NONE, "NONE", 0, "None", "Do not use any compression" },




More information about the Bf-blender-cvs mailing list