mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	Visual Shaders are back.
This commit is contained in:
		
							parent
							
								
									1fc7973a00
								
							
						
					
					
						commit
						f6ce73f724
					
				
					 32 changed files with 6368 additions and 93 deletions
				
			
		|  | @ -116,6 +116,7 @@ | |||
| #include "editor/plugins/theme_editor_plugin.h" | ||||
| #include "editor/plugins/tile_map_editor_plugin.h" | ||||
| #include "editor/plugins/tile_set_editor_plugin.h" | ||||
| #include "editor/plugins/visual_shader_editor_plugin.h" | ||||
| #include "editor/pvrtc_compress.h" | ||||
| #include "editor/register_exporters.h" | ||||
| #include "editor/script_editor_debugger.h" | ||||
|  | @ -4605,6 +4606,10 @@ EditorNode::EditorNode() { | |||
| 		Ref<EditorInspectorRootMotionPlugin> rmp; | ||||
| 		rmp.instance(); | ||||
| 		EditorInspector::add_inspector_plugin(rmp); | ||||
| 
 | ||||
| 		Ref<EditorInspectorShaderModePlugin> smp; | ||||
| 		smp.instance(); | ||||
| 		EditorInspector::add_inspector_plugin(smp); | ||||
| 	} | ||||
| 
 | ||||
| 	_pvrtc_register_compressors(); | ||||
|  | @ -4646,7 +4651,8 @@ EditorNode::EditorNode() { | |||
| 	EDITOR_DEF("interface/scene_tabs/show_thumbnail_on_hover", true); | ||||
| 	EDITOR_DEF("interface/inspector/capitalize_properties", true); | ||||
| 	EDITOR_DEF("interface/inspector/disable_folding", false); | ||||
| 	EDITOR_DEF("interface/inspector/open_resources_in_new_inspector", false); | ||||
| 	EDITOR_DEF("interface/inspector/open_resources_in_current_inspector", true); | ||||
| 	EDITOR_DEF("interface/inspector/resources_types_to_open_in_new_inspector", "Material,Mesh"); | ||||
| 	EDITOR_DEF("run/auto_save/save_before_running", true); | ||||
| 
 | ||||
| 	theme_base = memnew(Control); | ||||
|  | @ -5367,8 +5373,7 @@ EditorNode::EditorNode() { | |||
| 	raise_bottom_panel_item(AnimationPlayerEditor::singleton); | ||||
| 
 | ||||
| 	add_editor_plugin(memnew(ShaderEditorPlugin(this))); | ||||
| 	// FIXME: Disabled for Godot 3.0 as made incompatible, it needs to be ported to the new API.
 | ||||
| 	//add_editor_plugin(memnew(ShaderGraphEditorPlugin(this)));
 | ||||
| 	add_editor_plugin(memnew(VisualShaderEditorPlugin(this))); | ||||
| 	add_editor_plugin(memnew(AnimationNodeBlendTreeEditorPlugin(this))); | ||||
| 	add_editor_plugin(memnew(AnimationNodeBlendSpace1DEditorPlugin(this))); | ||||
| 	add_editor_plugin(memnew(AnimationNodeBlendSpace2DEditorPlugin(this))); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Juan Linietsky
						Juan Linietsky