Cleanup: quiet warning, whitespace

This commit is contained in:
Campbell Barton 2018-05-08 10:57:43 +02:00
parent 77cc265f18
commit 86b9311926
3 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@ void main()
vec3 spos = screenVecs[0].xyz * screenPos.x + screenVecs[1].xyz * screenPos.y;
/* Scale uniformly by axis length */
spos *= length(chosen_axis);
gl_Position = ViewProjectionMatrix * vec4(wpos + spos, 1.0);
finalColor.rgb = mix(colorAxis, color.rgb, color.a);

View File

@ -167,7 +167,7 @@ bool WM_toolsystem_active_tool_is_brush(const bContext *C)
/* Follow wmMsgNotifyFn spec */
void WM_toolsystem_do_msg_notify_tag_refresh(
bContext *C, wmMsgSubscribeKey *UNUSED(msg_key), wmMsgSubscribeValue *msg_val)
bContext *C, wmMsgSubscribeKey *UNUSED(msg_key), wmMsgSubscribeValue *UNUSED(msg_val))
{
WorkSpace *workspace = CTX_wm_workspace(C);
WM_toolsystem_refresh(C, workspace);

View File

@ -372,7 +372,7 @@ static bool manipulator_tweak_start_and_finish(
WM_operator_free_all_after(wm, op);
ED_undo_pop_op(C, op);
}
/* XXX temporary workaround for modal manipulator operator
* conflicting with modal operator attached to manipulator */
if (mpop->type->modal) {