Fixed insertion of new source (after drop or pannel) to setup depth and

mixing coordinates.
This commit is contained in:
brunoherbelin
2020-06-08 22:15:03 +02:00
parent dffab7d2df
commit 965b1032a5
6 changed files with 49 additions and 11 deletions

View File

@@ -33,13 +33,13 @@ public:
// draw session and current view
void draw();
// manangement of sources
// creation of sources
Source * createSourceFile(std::string path);
Source * createSourceClone(std::string namesource);
Source * createSourceRender();
// operations on sources
void insertSource(Source *s, bool makecurrent = true);
void addSource(Source *s);
void deleteSource(Source *s);
void renameSource(Source *s, const std::string &newname);
@@ -76,6 +76,9 @@ protected:
Session *back_session_;
void swap();
SourceList candidate_sources_;
void insertSource(Source *s, bool makecurrent = true);
void setCurrentSource(SourceList::iterator it);
SourceList::iterator current_source_;
int current_source_index_;