Ignore:
Timestamp:
12/09/14 13:41:14 (6 years ago)
Author:
davidb
Message:

Change to call createFlag() to force Render-3d to show the new image

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/nz-flag-design/trunk/main-form/iterative-design.html

    r29571 r29572  
    102102                        url: "../design-2d/image-data-to-file.jsp",
    103103                        data: { imageData : datauri },
    104                         success: function() { console.log("Exported PNG data to file: " + datauri) }
     104                        success: function() {
     105                      console.log("Exported PNG data to file ");
     106                  var render_frame = document.getElementById('render-3d-iframe');
     107                  render_frame.contentWindow.createFlag(); // triggers reload
     108                }
    105109                    });
    106110              }
Note: See TracChangeset for help on using the changeset viewer.