error reordering args

This commit is contained in:
Campbell Barton 2015-07-30 09:49:12 +10:00
parent 4737b12462
commit 75e387d6c5
Notes: blender-bot 2023-02-14 08:49:50 +01:00
Referenced by issue #45616, Various crashes relative to tesselation faces
Referenced by issue #45618, Normals not updated after sculpting
Referenced by issue #45624, Crash when switching from sculpt to object mode.
Referenced by issue #45612, Blender crashes when I change it to object-mode after having edited the object which multires modifier was set in sculpt-mode.
1 changed files with 4 additions and 3 deletions

View File

@ -3527,8 +3527,9 @@ void render_realtime_texture(ShadeInput *shi, Image *ima)
/* A modified part of shadeinput.c -> shade_input_set_uv()
* Used for sampling UV mapped texture color */
static void textured_face_generate_uv(
float r_uv[2], const float normal[3], const float hit[3],
const float v1[3], const float v2[3], const float v3[3])
const float normal[3], const float hit[3],
const float v1[3], const float v2[3], const float v3[3],
float r_uv[2])
{
float detsh, t00, t10, t01, t11;
@ -3733,7 +3734,7 @@ void RE_sample_material_color(
const float *uv1, *uv2, *uv3;
const CustomData *data = &orcoDm->loopData;
const MLoopUV *mloopuv = data->layers[layer_index + i].data;
const float uv[2];
float uv[2];
float l;
/* point layer name from actual layer data */