mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 05:31:01 +00:00 
			
		
		
		
	SpatialEditorViewport::_create_instance: pass GEN_EDIT_STATE_INSTANCED to scene->instance()
This commit is contained in:
		
							parent
							
								
									2bf71d0eea
								
							
						
					
					
						commit
						884b239ca5
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -3121,7 +3121,7 @@ bool SpatialEditorViewport::_create_instance(Node *parent, String &path, const P | |||
| 			if (!scene.is_valid()) { // invalid scene
 | ||||
| 				return false; | ||||
| 			} else { | ||||
| 				instanced_scene = scene->instance(); | ||||
| 				instanced_scene = scene->instance(PackedScene::GEN_EDIT_STATE_INSTANCE); | ||||
| 			} | ||||
| 		} | ||||
| 	} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 muiroc
						muiroc