Page 1 of 1

Text entry crash

PostPosted: Sun 19 Mar 2017, 20:39
by leoventola
since version 4, when i use an text entry object, doesnt preview nor charge ... wtf???

Re: Text entry crash

PostPosted: Sat 17 Jun 2017, 12:56
by Jeje2201
Same problem. Any answer ?

Re: Text entry crash

PostPosted: Sat 17 Jun 2017, 18:48
by Lizard-13
I have a hotfix, it will work until the next version fixes it, do one of the following:

Replace the file: your-GD-installation-directory\JsPlatform\Runtime\Extensions\TextEntryObject\textentryruntimeobject.js with this one:
(1.92 KiB) Downloaded 74 times

Or edit the file: GD-installation-directory\JsPlatform\Runtime\Extensions\TextEntryObject\textentryruntimeobject.js and add these lines at the end:
Code: Select allgdjs.TextEntryRuntimeObject.prototype.setLayer = function(layer) {
    // No renderable object

gdjs.TextEntryRuntimeObject.prototype.setZOrder = function(z) {
    // No renderable object