mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-15 04:09:59 +01:00
BugFix Update linked sources and Texture view on Source change
When source change stream (e.g. change pattern), Texture view was not updated, and sources with mask texture were not adapted.
This commit is contained in:
@@ -72,19 +72,18 @@ public:
|
||||
// management of list of sources
|
||||
bool empty() const;
|
||||
uint size() const;
|
||||
SourceList getDepthSortedList () const;
|
||||
SourceIdList getIdList() const;
|
||||
std::list<std::string> getNameList(uint64_t exceptid=0) const;
|
||||
SourceList::iterator begin ();
|
||||
SourceList::iterator end ();
|
||||
SourceList::iterator find (Source *s);
|
||||
SourceList::iterator find (std::string name);
|
||||
SourceList::iterator find (Node *node);
|
||||
SourceList::iterator find (float depth_from, float depth_to);
|
||||
SourceList getDepthSortedList () const;
|
||||
|
||||
SourceList::iterator find (uint64_t id);
|
||||
SourceIdList getIdList() const;
|
||||
|
||||
std::list<std::string> getNameList(uint64_t exceptid=0) const;
|
||||
|
||||
// manage sources by #id (ordered index)
|
||||
SourceList::iterator at (int index);
|
||||
int index (SourceList::iterator it) const;
|
||||
void move (int current_index, int target_index);
|
||||
@@ -97,6 +96,8 @@ public:
|
||||
void update (float dt);
|
||||
uint64_t runtime() const;
|
||||
|
||||
void execute(void (*func)(Source *));
|
||||
|
||||
// update mode (active or not)
|
||||
void setActive (bool on);
|
||||
inline bool active () { return active_; }
|
||||
|
||||
Reference in New Issue
Block a user