mirror of https://github.com/aseprite/aseprite.git
				
				
				
			Print layers/tags/slices on stdout only if there are no export params -sheet/-data (fix #2143)
This commit is contained in:
		
							parent
							
								
									eb2e0e52dc
								
							
						
					
					
						commit
						dcdde74cba
					
				|  | @ -523,21 +523,24 @@ void CliProcessor::process(Context* ctx) | |||
| #endif | ||||
|         // --list-layers
 | ||||
|         else if (opt == &m_options.listLayers()) { | ||||
|           cof.listLayers = true; | ||||
|           if (m_exporter) | ||||
|             m_exporter->setListLayers(true); | ||||
|           else | ||||
|             cof.listLayers = true; | ||||
|         } | ||||
|         // --list-tags
 | ||||
|         else if (opt == &m_options.listTags()) { | ||||
|           cof.listTags = true; | ||||
|           if (m_exporter) | ||||
|             m_exporter->setListFrameTags(true); | ||||
|           else | ||||
|             cof.listTags = true; | ||||
|         } | ||||
|         // --list-slices
 | ||||
|         else if (opt == &m_options.listSlices()) { | ||||
|           cof.listSlices = true; | ||||
|           if (m_exporter) | ||||
|             m_exporter->setListSlices(true); | ||||
|           else | ||||
|             cof.listSlices = true; | ||||
|         } | ||||
|         // --oneframe
 | ||||
|         else if (opt == &m_options.oneFrame()) { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue