Amended fix for isFixed
This commit is contained in:
		
							parent
							
								
									43e49dcba1
								
							
						
					
					
						commit
						09e4f597a3
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
					@ -819,7 +819,10 @@ namespace DTSC {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  bool Meta::isFixed(){
 | 
					  bool Meta::isFixed(){
 | 
				
			||||||
    for (std::map<int,Track>::iterator it = tracks.begin(); it != tracks.end(); it++){
 | 
					    for (std::map<int,Track>::iterator it = tracks.begin(); it != tracks.end(); it++){
 | 
				
			||||||
      if (it->second.keys.size() && !(it->second.keys.rbegin()->getBpos())){
 | 
					      if (it->second.type == "meta" || it->second.type == ""){
 | 
				
			||||||
 | 
					        continue;
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					      if (!it->second.keys.size() || !(it->second.keys.rbegin()->getBpos())){
 | 
				
			||||||
        return false;
 | 
					        return false;
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue