[Bf-blender-cvs] [c28a441a9da] functions: fix coyp paste error
Jacques Lucke
noreply at git.blender.org
Mon Jul 29 17:57:43 CEST 2019
Commit: c28a441a9da9c17594c76570b08d3055615cfb40
Author: Jacques Lucke
Date: Mon Jul 29 16:05:08 2019 +0200
Branches: functions
https://developer.blender.org/rBc28a441a9da9c17594c76570b08d3055615cfb40
fix coyp paste error
===================================================================
M source/blender/simulations/bparticles/attributes.hpp
===================================================================
diff --git a/source/blender/simulations/bparticles/attributes.hpp b/source/blender/simulations/bparticles/attributes.hpp
index e147d49bf40..8655d5a39a2 100644
--- a/source/blender/simulations/bparticles/attributes.hpp
+++ b/source/blender/simulations/bparticles/attributes.hpp
@@ -554,7 +554,7 @@ inline ArrayRef<uint8_t> AttributeArrays::get_byte(StringRef name)
inline ArrayRef<int32_t> AttributeArrays::get_integer(uint index) const
{
- BLI_assert(m_core.get_type(index) == AttributeType::Byte);
+ BLI_assert(m_core.get_type(index) == AttributeType::Integer);
return ArrayRef<int32_t>((int32_t *)m_core.get_ptr(index) + m_start, m_size);
}
More information about the Bf-blender-cvs
mailing list