You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Fix some issues found by cppcheck.
This commit is contained in:
@@ -979,7 +979,6 @@ Error RenderingServer::mesh_create_surface_data_from_arrays(SurfaceData *r_surfa
|
||||
ERR_FAIL_COND_V_MSG(err != OK, ERR_INVALID_DATA, "Invalid array format for surface.");
|
||||
|
||||
Vector<uint8_t> blend_shape_data;
|
||||
uint32_t blend_shape_count = 0;
|
||||
|
||||
if (p_blend_shapes.size()) {
|
||||
uint32_t bs_format = format & RS::ARRAY_FORMAT_BLEND_SHAPE_MASK;
|
||||
@@ -996,7 +995,6 @@ Error RenderingServer::mesh_create_surface_data_from_arrays(SurfaceData *r_surfa
|
||||
ERR_FAIL_COND_V_MSG(err2 != OK, ERR_INVALID_DATA, "Invalid blend shape array format for surface.");
|
||||
|
||||
blend_shape_data.append_array(vertex_array_shape);
|
||||
blend_shape_count++;
|
||||
}
|
||||
}
|
||||
Vector<SurfaceData::LOD> lods;
|
||||
|
||||
Reference in New Issue
Block a user