Changes between Initial Version and Version 1 of Ticket #19, comment 1


Ignore:
Timestamp:
Mar 9, 2015, 3:44:50 AM (9 years ago)
Author:
finticemo

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19, comment 1

    initial v1  
    66
    77I can dig up the version of SDL etc if needed. I haven't bothered yet because as far as I can see, the problem is fairly clearly related to interaction with  Lua.
     8
     9EDIT: Sorry, I just realized I left some steps out of the 'how to reproduce' list as well...
     10After step 3,  You need to click on SPRITE, then on Scale Advanced. Then proceed with step 4.
     11
     12I have also confirmed this behaviour with 'Smart outline WIP'.
     13
     14Other information:
     15
     16If you immediately click 'Quit' instead of selecting any other item after step 3, no crash occurs. However, if you click BRUSH and then click 'Back' followed by 'Quit', the crash occurs. So this is the most simple way to reproduce the crash:
     17
     181. Open the brush factory and run _DBTOOLBOX.lua
     192. click BRUSH
     203. click Back
     214. click Quit
     22
     23To me, this indicates that the crash condition occurs most likely as a result of step 2.
     24
     25So I'll post the definition of sf_brush here, but as far as I can see it's perfectly ordinary:
     26
     27
     28function sf_brush()
     29  selectbox("Brush",
     30    ">ADJUST", sf_brush_adjust,
     31    ">DISTORTIONS", sf_brush_distort,     
     32    "Brush Info (t)",          function () dofile("inf_db_BrushInfo.lua"); end,
     33    "Crop margins (b)",        function () dofile("bru_db_CropMargins.lua"); end,
     34    "Brush 2 Image (i)",       function () dofile("pic_db_Brush2Picture.lua"); end,
     35    --"(UberRotScale) (b)",      function () dofile("bru_db_uberRotScale.lua"); end,
     36    "Scale Simple (b)",        function () dofile("bru_db_BrushScaleSimple.lua"); end,
     37    "Scale Advanced (b)",      function () dofile("bru_db_AdvancedScaling.lua"); end,
     38    --"Scale Matrix (b)",        function () dofile("bru_db_ScaleBrush3.lua"); end,
     39    "Extract PenColor (b)",    function () dofile("bru_db_ExtractPenColor.lua"); end,
     40    "Apply PenColor (b)",      function () dofile("bru_db_ApplyColor.lua");end,
     41    "Smart Outline WIP (b)",   function () dofile("bru_db_smartOutline.lua");end,
     42    --"Waves Distortion (b)",    function () dofile("bru_db_Waves.lua"); end,
     43    "[Back]", main
     44 );
     45end