binds...
* m3: copy texture name, alignment +new: color, light power, color * alt + m3/drag: paste texture name (to pointed and selected stuff) * shift + m3/drag: paste texture name, alignment +new: light power * ctrl + m3/drag: paste texture seamlessly between brush faces +new: light color * ctrl + shift + m3/drag: project texture from copied brush face +new: paste light power, color * alt + ctrl/shift/ctrl+shift + m3/drag: respective texture alignment paste w/o texture name fix void NormalizeColor( Vector3& color ) fix: reset texture clipboard texdef on selection in texbro (was only resetting scales)
This commit is contained in:
@@ -515,8 +515,10 @@ void NormalizeColor( Vector3& color ){
|
||||
const std::size_t maxi = vector3_max_abs_component_index( color );
|
||||
if ( color[maxi] == 0.f )
|
||||
color = Vector3( 1, 1, 1 );
|
||||
else
|
||||
color /= color[maxi];
|
||||
else{
|
||||
const float max = color[maxi];
|
||||
color /= max;
|
||||
}
|
||||
}
|
||||
|
||||
void Entity_normalizeColor(){
|
||||
|
||||
Reference in New Issue
Block a user