ctime(&BlendAlgebraTstamp));
#endif
plugin->func_lock->unlock();
- return 1; // just reattach all functions, without reconfiguration
+ plugin->send_configure_change();// no reconfigure, just recheck all functions
+ return 1;
}
BlendAlgebraEdit::BlendAlgebraEdit (BlendAlgebra *plugin,
if (spath) file_box->fs->extract_name (fname, spath); // cut name from dir
if (fname[0]) file_box->fs->join_names (path, dir, fname);
- else strcpy (path, dir); // substitute old entered dir with project dir
+ else // substitute old entered dir with project dir
+ {
+ strcpy (path, dir);
+ strcat (path, "/");
+ }
// Not exactly sure what operations on FileBox are really important
file_box->fs->change_dir (dir); // force it to recognize the new dir
const char *spath = file_box->get_submitted_path();// get name entered so far
if (spath) file_box->fs->extract_name (fname, spath); // cut name from dir
if (fname[0]) file_box->fs->join_names (path, dir, fname);
- else strcpy (path, dir); // substitute old entered dir with user libdir
+ else // substitute old entered dir with user libdir
+ {
+ strcpy (path, dir);
+ strcat (path, "/");
+ }
// Reinitialize FileBox with the modified path
file_box->fs->change_dir (dir);
const char *spath = file_box->get_submitted_path();// get name entered so far
if (spath) file_box->fs->extract_name (fname, spath); // cut name from dir
if (fname[0]) file_box->fs->join_names (path, dir, fname);
- else strcpy (path, dir); // substitute that old dir with system libdir
+ else // substitute that old dir with system libdir
+ {
+ strcpy (path, dir);
+ strcat (path, "/");
+ }
// Reinitialize FileBox with the modified path
file_box->fs->change_dir (dir);
ctime(&BlendProgramTstamp));
#endif
plugin->func_lock->unlock();
- return 1; // just reattach all functions, without reconfiguration
+ plugin->send_configure_change();// no reconfigure, just recheck all functions
+ return 1;
}
BlendProgramEdit::BlendProgramEdit (BlendProgram *plugin,
if (spath) file_box->fs->extract_name (fname, spath); // cut name from dir
if (fname[0]) file_box->fs->join_names (path, dir, fname);
- else strcpy (path, dir); // substitute old entered dir with project dir
+ else // substitute old entered dir with project dir
+ {
+ strcpy (path, dir);
+ strcat (path, "/");
+ }
// Not exactly sure what operations on FileBox are really important
file_box->fs->change_dir (dir); // force it to recognize the new dir
const char *spath = file_box->get_submitted_path();// get name entered so far
if (spath) file_box->fs->extract_name (fname, spath); // cut name from dir
if (fname[0]) file_box->fs->join_names (path, dir, fname);
- else strcpy (path, dir); // substitute old entered dir with user libdir
+ else // substitute old entered dir with user libdir
+ {
+ strcpy (path, dir);
+ strcat (path, "/");
+ }
// Reinitialize FileBox with the modified path
file_box->fs->change_dir (dir);
const char *spath = file_box->get_submitted_path();// get name entered so far
if (spath) file_box->fs->extract_name (fname, spath); // cut name from dir
if (fname[0]) file_box->fs->join_names (path, dir, fname);
- else strcpy (path, dir); // substitute that old dir with system libdir
+ else // substitute that old dir with system libdir
+ {
+ strcpy (path, dir);
+ strcat (path, "/");
+ }
// Reinitialize FileBox with the modified path
file_box->fs->change_dir (dir);