#1056 deltaY missing when adding a new StraightEdgeRecord
> What steps will reproduce the problem? Try to create a rectangle shape manually. The deltaY property of the StraightEdgeRecord is never shown, making it impossible to create a rectangle. > What is the expected output? What do you see instead? A deltaY property when adding a StraightEdgeRecord to the shapeRecords of a shape. > What version of the product are you using? Is it "nightly build"? Which operating system do you have? v6.0.2 nightly build 915 / Windows 10 Pro > Please provide any additional information below. If the problem is related to a SWF file, attach it here, otherwise we can't help you. See attachment. Left is output of a compiled Flash movie, right is what i tried to insert in the SWF using JPEXS Free Flash Decompiler.
norectangle.gif (67 KiB)
generalLineFlag == false means that it is a horizontal or vertical line, so this is not a bug. First set this flag to true. After saving and editing again you should see the Y value.
You don't have to save, just click to another node after setting the flag... the tree will refresh, and you should see both delta values.
I found the work-around. 1) Set the generalLineFlag. Then the deltaY and vertLineFlag become visible. 2) Fill deltaY and set the vertLineFlag. 3) Finally, the generalLineFlag can be reset to match the compiled Flash output. Not an optimal user experience, but it will do the job.
Thanks for the quick response. Exactly as what you described.
Hmm... I see the problem... so the problem is that vertLineFlag is not visible when it is not a generalLineFlag, right? For some reason it is visible when generalLineFlag is true.... but in this case it should not be visible... I'll fix it.
This should be fixed in the latest nightly. Now you should see the verticalLine flag.
I close this issue due to inactivity. Please create new issue if problem persists.