Changeset View
Changeset View
Standalone View
Standalone View
source/blender/bmesh/intern/bmesh_marking.c
| Context not available. | |||||
| sub_v3_v3v3(r_plane, vec, eve->co); | sub_v3_v3v3(r_plane, vec, eve->co); | ||||
| } | } | ||||
| else { | else { | ||||
| /* make a fake plane thats at rightangles to the normal | /* make a fake plane that's at rightangles to the normal | ||||
| * we cant make a crossvec from a vec thats the same as the vec | * we can't make a crossvec from a vec that's the same as the vec | ||||
| * unlikely but possible, so make sure if the normal is (0, 0, 1) | * unlikely but possible, so make sure if the normal is (0, 0, 1) | ||||
| * that vec isn't the same or in the same direction even. */ | * that vec isn't the same or in the same direction even. */ | ||||
| if (eve->no[0] < 0.5f) vec[0] = 1.0f; | if (eve->no[0] < 0.5f) vec[0] = 1.0f; | ||||
| Context not available. | |||||