Commit: 526ac84f3c6c2ca8f3ce01294012414ebc09a010
Author: Mai Lavelle
Date:   Sun Jul 10 18:53:54 2016 -0400
Branches: temp-cycles-microdisplacement
https://developer.blender.org/rB526ac84f3c6c2ca8f3ce01294012414ebc09a010

Fix typo in assert

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

M       intern/cycles/kernel/geom/geom_patch.h

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

diff --git a/intern/cycles/kernel/geom/geom_patch.h 
b/intern/cycles/kernel/geom/geom_patch.h
index 64dbe33..65fa41c 100644
--- a/intern/cycles/kernel/geom/geom_patch.h
+++ b/intern/cycles/kernel/geom/geom_patch.h
@@ -243,7 +243,7 @@ ccl_device_inline int 
patch_eval_control_verts(KernelGlobals *kg, int object, in
                                         float 
weights_dv[PATCH_MAX_CONTROL_VERTS])
 {
        PatchHandle handle = patch_map_find_patch(kg, object, patch, u, v);
-       kernel_assert(handle->array_index >= 0);
+       kernel_assert(handle.array_index >= 0);
 
        int num_control = patch_eval_indices(kg, &handle, channel, indices);
        patch_eval_basis(kg, &handle, u, v, weights, weights_du, weights_dv);

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

Reply via email to