[Bug] ModelComponent:get/setReflection() error
Posted: Sun Aug 09, 2015 9:57 pm
ModelComponent:getReflection() and ModelComponent:setReflection() seem to never succeed:
I could *really* use these functions for an upcoming modding utility, so a fix would be appreciated!
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