Page 1 of 1

[Bug] ModelComponent:get/setReflection() error

Posted: Sun Aug 09, 2015 9:57 pm
by minmay
ModelComponent:getReflection() and ModelComponent:setReflection() seem to never succeed:

Code: Select all

print(beach_rock_arch_2.model)
table: 0x0b8ea610
print(beach_rock_arch_2.model:getReflection())
[string "user-input"]:1: attempt to cal a nil value
print(beach_rock_arch_2.model:setReflection(true))
[string "user-input"]:1: attempt to cal a nil value
print(beach_rock_arch_2.model:setReflection(false))
[string "user-input"]:1: attempt to cal a nil value
I could *really* use these functions for an upcoming modding utility, so a fix would be appreciated!