mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Store object and volume names in the new 'name' property instead of relying on material id
This commit is contained in:
		
							parent
							
								
									f590bbb430
								
							
						
					
					
						commit
						aacc01a56f
					
				
					 10 changed files with 50 additions and 24 deletions
				
			
		|  | @ -114,6 +114,10 @@ sub end_element { | |||
|             } elsif ($opt_key eq 'modifier' && $self->{_volume}) { | ||||
|                 $self->{_volume}->set_modifier($value); | ||||
|             } | ||||
|         } elsif ($self->{_metadata_type} eq 'name' && $self->{_volume}) { | ||||
|             $self->{_volume}->set_name($value); | ||||
|         } elsif ($self->{_metadata_type} eq 'name' && $self->{_object}) { | ||||
|             $self->{_object}->set_name($value); | ||||
|         } elsif ($self->{_material}) { | ||||
|             $self->{_material}->set_attribute($self->{_metadata_type}, $value); | ||||
|         } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci