Commit: 4eb69ba90f51fb88e0ec6e2981cb5f5cca0afb02
Author: Kévin Dietrich
Date:   Sun May 17 01:08:53 2015 +0200
Branches: openvdb
https://developer.blender.org/rB4eb69ba90f51fb88e0ec6e2981cb5f5cca0afb02

Cycles: missing break in GridDescription loop.

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

M       intern/cycles/render/openvdb.cpp

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

diff --git a/intern/cycles/render/openvdb.cpp b/intern/cycles/render/openvdb.cpp
index f0ea558..4693129 100644
--- a/intern/cycles/render/openvdb.cpp
+++ b/intern/cycles/render/openvdb.cpp
@@ -92,6 +92,7 @@ int OpenVDBManager::add_volume(const string &filename, const 
string &name, int s
                                /* remove grid description too */
                                std::swap(current_grids[i], 
current_grids.back());
                                current_grids.pop_back();
+                               break;
                        }
                }
        }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to