You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/scripting/StelScriptOutput.hpp
+2-1
Original file line number
Diff line number
Diff line change
@@ -41,12 +41,13 @@ class StelScriptOutput
41
41
staticvoidwriteLog(QString msg);
42
42
43
43
//! Reset file, i.e., empty it. This may be useful to have repetitive output which may be read by other programs.
44
+
//! Normally you would call saveOutputAs(...), then reset().
44
45
staticvoidreset(void);
45
46
46
47
//! Save to new file, re-create output file.
47
48
//! This allows reading of results on Windows, where otherwise reading programs cannot access files opened for writing by Stellarium.
48
49
//! @param name new filename. If this is not an absolute path, it will be created in the same directory as output.txt
49
-
//! @note For storing to absolute path names, set [scripts]/flag_script_allow_write_absolute_path=true.
50
+
//! @note For storing to absolute path names or paths containing directory navigation (".."), set [scripts]/flag_script_allow_write_absolute_path=true.
50
51
//! Normally you would call saveOutputAs(...), then reset().
0 commit comments