Fix #26781: Assigning multiple Materials to Text seems not to work correctly
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 4 Apr 2011 16:19:18 +0000 (16:19 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 4 Apr 2011 16:19:18 +0000 (16:19 +0000)
commit6f5f4283fd391d4b58896556047a8377ed4a9d4c
treec234b5573c2919357e2fef6984ad45b908832e7e
parente8ea4411f82c7ffc5730d1b7142f33bc90e0e03a
Fix #26781: Assigning multiple Materials to Text seems not to work correctly

Problems was in 0-based numbering vs. 1-based. Fonts are getting converted to
displists when they're displaying and here base conversion happens, so no need
in conversion when assigning material to selected text.

This makes indices more inconsistant, but saves compatibility in both of
directions. Maybe in further releases we'll make indices consistent.
source/blender/editors/render/render_shading.c