Cleanup: style, spelling

This commit is contained in:
Campbell Barton 2014-09-18 09:37:49 +10:00
parent 62893dc398
commit 8c3daab298
5 changed files with 6 additions and 5 deletions

@ -330,7 +330,8 @@ if(APPLE)
execute_process(COMMAND uname -r OUTPUT_VARIABLE MAC_SYS) # check for actual system-version
if(${MAC_SYS} MATCHES 14)
set(OSX_SYSTEM 10.10)
cmake_minimum_required(VERSION 3.0.0) # throw an error here, older cmake cannot handle 2 digit subversion !
# throw an error here, older cmake cannot handle 2 digit subversion!
cmake_minimum_required(VERSION 3.0.0)
elseif(${MAC_SYS} MATCHES 13)
set(OSX_SYSTEM 10.9)
elseif(${MAC_SYS} MATCHES 12)

@ -530,7 +530,7 @@ typedef enum AttributeStandard {
/* TODO(sergey): This is rather nasty bug happening in here, which
* could be simply a compilers bug for which we can't find a generic
* platform indipendent workaround. Also even if it's a compiler
* platform independent workaround. Also even if it's a compiler
* issue, it's not so simple to upgrade the compiler in the release
* environment for linux and doing it so closer to the release is
* rather a risky business.

@ -170,7 +170,7 @@ ccl_device float3 color_srgb_to_scene_linear(float3 c)
#ifdef __KERNEL_SSE2__
/*
* Calculate initial guess for arg^exp based on float representation
* This method gives a constant bias, which can be easily compensated by multiplicating with bias_coeff.
* This method gives a constant bias, which can be easily compensated by multiplication with bias_coeff.
* Gives better results for exponents near 1 (e. g. 4/5).
* exp = exponent, encoded as uint32_t
* e2coeff = 2^(127/exponent - 127) * bias_coeff^(1/exponent), encoded as uint32_t

@ -540,7 +540,7 @@ static void image_listener(bScreen *sc, ScrArea *sa, wmNotifier *wmn)
break;
}
case NC_WM:
if(wmn->data == ND_UNDO) {
if (wmn->data == ND_UNDO) {
ED_area_tag_redraw(sa);
ED_area_tag_refresh(sa);
}

@ -511,7 +511,7 @@ static void node_area_listener(bScreen *sc, ScrArea *sa, wmNotifier *wmn)
}
break;
case NC_WM:
if(wmn->data == ND_UNDO) {
if (wmn->data == ND_UNDO) {
ED_area_tag_refresh(sa);
}
break;