diff --git a/src/art/vector/Belly.tw b/src/art/vector/Belly.tw index fbbdd63699492f40c4bd8a9c9b8cf0d6a6fa334b..cc550c7d50c2185c7374ed3c8e6957436212b228 100644 --- a/src/art/vector/Belly.tw +++ b/src/art/vector/Belly.tw @@ -1,20 +1,25 @@ :: Art_Vector_Belly_ [nobr] -<<set _art_have_belly = true>> -<<set _art_belly_scale_factor = 0.300*Math.log(0.011*_artSlave.belly) >> -/* TODO: add check in penis control. do not draw penis atop belly if _art_belly_scale_factor > 1. */ -<<set _art_scale_factor = _art_belly_scale_factor >> -<<set _art_translation_x = -262*(_art_scale_factor-1) >> -<<set _art_translation_y = -284*(_art_scale_factor-1) >> -<<set _art_belly_transform = "matrix(" + _art_scale_factor +",0,0," + _art_scale_factor + "," + _art_translation_x + "," + _art_translation_y + ")">> -<<set _art_transform = _art_belly_transform>> +/* default: do no scaling (for addons on flat bellies) */ +<<set _art_transform = "">> + +<<if _artSlave.belly >= 2000>> + /* add pregnancy belly, scale dynamically (clothing and addons can be scaled, too) */ + <<set _art_belly_scale_factor = 0.300*Math.log(0.011*_artSlave.belly) >> + /* TODO: add check in penis control. do not draw penis atop belly if _art_belly_scale_factor > 1. */ + <<set _art_scale_factor = _art_belly_scale_factor >> + <<set _art_translation_x = -262*(_art_scale_factor-1) >> + <<set _art_translation_y = -284*(_art_scale_factor-1) >> + <<set _art_belly_transform = "matrix(" + _art_scale_factor +",0,0," + _art_scale_factor + "," + _art_translation_x + "," + _art_translation_y + ")">> + <<set _art_transform = _art_belly_transform>> +<</if>> <<if _artSlave.belly >= 2000>> <<if _artSlave.navelPiercing == 1>> <<include Art_Vector_Belly_Pregnant_Piercing>> <<elseif _artSlave.navelPiercing == 2>> <<include Art_Vector_Belly_Pregnant_Piercing_Heavy>> <<else>> - <<include Art_Vector_Belly>> + <<include Art_Vector_Belly>> <<if _artSlave.clothes == "a hijab and abaya">> <<include Art_Vector_Belly_Outfit_Abaya>> <</if>>