Added some explanatory comment for previous commit

Mon, 05 Jan 2015 10:26:47 +0100

author
Ansariel
date
Mon, 05 Jan 2015 10:26:47 +0100
changeset 43096
4b731b22e2db
parent 43095
e86e761eca54
child 43097
b6bd26d2a121

Added some explanatory comment for previous commit

indra/newview/llpreviewscript.cpp file | annotate | diff | revisions
     1.1 --- a/indra/newview/llpreviewscript.cpp	Mon Jan 05 10:10:28 2015 +0100
     1.2 +++ b/indra/newview/llpreviewscript.cpp	Mon Jan 05 10:26:47 2015 +0100
     1.3 @@ -1610,6 +1610,10 @@
     1.4  
     1.5  	// Disable sync to avoid recursive load->save->load calls.
     1.6  	// <FS> LSL preprocessor
     1.7 +	// Ansariel: Don't call saveIfNeeded directly, as we might have to run the
     1.8 +	// preprocessor first. saveIfNeeded will be invoked via callback. Make sure
     1.9 +	// to pass sync = false - we don't need to update the external editor in this
    1.10 +	// case or the next save will be ignored!
    1.11  	//saveIfNeeded(false);
    1.12  	mScriptEd->doSave(FALSE, false);
    1.13  	// </FS>

mercurial