[Bf-blender-cvs] [3da2dc82132] master: Fix RNA runtime warning from recent commit

Aaron Carlisle noreply at git.blender.org
Wed Mar 4 23:43:35 CET 2020


Commit: 3da2dc82132f82356ffdfaf3e4c9bf3e643e8aaf
Author: Aaron Carlisle
Date:   Wed Mar 4 17:43:17 2020 -0500
Branches: master
https://developer.blender.org/rB3da2dc82132f82356ffdfaf3e4c9bf3e643e8aaf

Fix RNA runtime warning from recent commit

===================================================================

M	release/scripts/startup/bl_ui/properties_physics_fluid.py

===================================================================

diff --git a/release/scripts/startup/bl_ui/properties_physics_fluid.py b/release/scripts/startup/bl_ui/properties_physics_fluid.py
index 5a741533795..117352bf8f4 100644
--- a/release/scripts/startup/bl_ui/properties_physics_fluid.py
+++ b/release/scripts/startup/bl_ui/properties_physics_fluid.py
@@ -26,7 +26,7 @@ from .properties_physics_common import (
 )
 
 
-class FLUID_MT_presets(PresetPanel, Panel):
+class FLUID_PT_presets(PresetPanel, Panel):
     bl_label = "Fluid Presets"
     preset_subdir = "fluid"
     preset_operator = "script.execute_preset"
@@ -958,7 +958,7 @@ class PHYSICS_PT_diffusion(PhysicButtonsPanel, Panel):
         return (context.engine in cls.COMPAT_ENGINES)
 
     def draw_header_preset(self, _context):
-        FLUID_MT_presets.draw_panel_header(self.layout)
+        FLUID_PT_presets.draw_panel_header(self.layout)
 
     def draw(self, context):
         layout = self.layout
@@ -1303,7 +1303,7 @@ class PHYSICS_PT_viewport_display_debug(PhysicButtonsPanel, Panel):
 
 
 classes = (
-    FLUID_MT_presets,
+    FLUID_PT_presets,
     PHYSICS_PT_fluid,
     PHYSICS_PT_settings,
     PHYSICS_PT_borders,



More information about the Bf-blender-cvs mailing list