Cycles: Remove set but unused variable
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 8 Aug 2016 08:50:23 +0000 (10:50 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 8 Aug 2016 08:50:23 +0000 (10:50 +0200)
intern/cycles/blender/blender_mesh.cpp

index 11aef55c277a76e7203645bb83a9752a7783d135..5d63aaa1415a1a8cdfefe75bc558519fe6048bb8 100644 (file)
@@ -937,8 +937,6 @@ Mesh *BlenderSync::sync_mesh(BL::Object& b_ob,
        mesh_synced.insert(mesh);
 
        /* create derived mesh */
-       PointerRNA cmesh = RNA_pointer_get(&b_ob_data.ptr, "cycles");
-
        array<int> oldtriangle = mesh->triangles;
        
        /* compares curve_keys rather than strands in order to handle quick hair