thingiview.js icon indicating copy to clipboard operation
thingiview.js copied to clipboard

ObjectColor changes for some reason

Open Pandryl opened this issue 12 years ago • 1 comments

Not sure how alive this project is anymore, but was checking it out and playing around with it, and for some reason, when you mouseover the container in Safari, or drag/move the object in FF, the color changes to a lighter shade (extremely in Safari).

What would cause this?

Pandryl avatar Dec 19 '12 20:12 Pandryl

Hi, there is a problem with the lightning settings in the centerCamera() function. My fork of this contains a fix. See: https://github.com/LongHairedHacker/thingiview.js/commit/f1987712ebf4d7fb9f2af057ed08b2e44ae03a10 I don't know whether this is the correct way for doing this, it works for me. If anyone has a better suggestion feel free to contact me.

LongHairedHacker avatar Feb 14 '14 12:02 LongHairedHacker