cinetec_tech Posted March 9, 2015 Posted March 9, 2015 hi there seems a bug in the editor_objects.h. material_buffer = new Buffer(0); need to change to material_buffer = new ::Buffer(0); otherwise it will crash when click copy button. material = object.getMaterialName(surface); if(object.isMaterialInherited(surface)) { material_buffer = new ::Buffer(0); Material m = object.getMaterialInherit(surface); m.saveState(material_buffer,1); material_buffer.seekSet(0); } property = object.getPropertyName(surface); if(object.isPropertyInherited(surface)) { property_buffer = new ::Buffer(0); Property p = object.getPropertyInherit(surface); p.saveState(property_buffer,1); property_buffer.seekSet(0); }
necris Posted March 10, 2015 Posted March 10, 2015 Many thanks! Fixed file will be available in next SDK release. (Also available right now in "Known Issues" topic: https://developer.unigine.com/forum/topic/3129-unigine-20-beta-editor-usability-and-performance-overall-stabilization/#entry16692)
Recommended Posts