code cleanup: minor improvements to scripts.

- make wm-property operators use INTERNAL option.
- make console use str.expandtabs() rather then replacing tab->spaces.
This commit is contained in:
Campbell Barton
2013-04-20 13:23:53 +00:00
parent a76ad2cdad
commit 44d3d88f9a
7 changed files with 13 additions and 17 deletions

View File

@@ -123,7 +123,7 @@ def applyVertexDirt(me, blur_iterations, blur_strength, clamp_dirt, clamp_clean,
if dirt_only:
tone = min(tone, 0.5)
tone *= 2
tone *= 2.0
col[0] = tone * col[0]
col[1] = tone * col[1]