brianzinn Posted April 4, 2017 Share Posted April 4, 2017 Hi, I'm trying out the new 3.0 Preview -- upgrading from BJS 2.5. I have managed to work through some breaking changes and am stuck with an error: Uncaught TypeError: Cannot set property source of [object Object] which has only a getter at Function.t.DeepCopy (...) at new r (...) at r.clone (...) I tried to reproduce with a PG and was expecting it to produce the above error on line 39 where I am cloning a mesh: http://babylonjs-playground.com/#NQHEE#0 So, my question is. Is there a difference between latest github preview (31efb0f commit) (https://github.com/BabylonJS/Babylon.js/tree/master/dist/preview release) and PG 3.0-alpha? If they are the same then I will need to work harder to reproduce in a PG or fix! babylon.max.js line 6518 (destination[prop] = cloneValue(sourceValue, destination); It's happening on the property 'source'. Thanks. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.