Friday, June 24, 2011

Work Progress - Jun 22 - Jun 28

Demo: "Stable SB app" link above

* Fix the texture disappearance problem in CC - the root cause is that the reshape() function (which is called when there is any resizing event) in PEngineOgl class reloads the texture (calls LoadTextures()) of PObjects added via "Create New Object" button only (which is stored in PEngine's objs Vector). The plaitimages that are created using CC's Duplicate() method are not PObject and they are not added via the above approach. I fix this problem by overriding CCGui's reshape() method to also reload the plaitimages' texture as well.
* Fix the CC bug that the plait doesn't return to its initial position on erase drawing.
* Fix the Core bug that Duplicating object can't duplicate the events.
* Fix the Core bug that deleting an object doesn't switch to default object. BTW, duplicating object now switch the selected object to the duplicated one.
* Core: one can now scale the dimensions separately with PEngine's advanced properties x_scale, y_scale and z_scale.
* Fix the bug that the selected object specified in an XML file is not correctly loaded.
* Allow background color to be specified in the "Set Background" window.
* Core: The PLAY button flashes on first launch of the application.

No comments:

Post a Comment