[Bf-blender-cvs] [c3453e1667f] filebrowser_redesign: Cleanup: Remove outdated TODO comments

Julian Eisel noreply at git.blender.org
Tue Aug 27 15:57:53 CEST 2019


Commit: c3453e1667f0dd2eeef739fa295d7f7bbc407d99
Author: Julian Eisel
Date:   Tue Aug 27 15:57:11 2019 +0200
Branches: filebrowser_redesign
https://developer.blender.org/rBc3453e1667f0dd2eeef739fa295d7f7bbc407d99

Cleanup: Remove outdated TODO comments

Also add a comment on prop_with_popover usage.

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

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

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

diff --git a/release/scripts/startup/bl_ui/space_filebrowser.py b/release/scripts/startup/bl_ui/space_filebrowser.py
index ea83adad421..cb9b7f80c9f 100644
--- a/release/scripts/startup/bl_ui/space_filebrowser.py
+++ b/release/scripts/startup/bl_ui/space_filebrowser.py
@@ -390,8 +390,6 @@ class FILEBROWSER_PT_directory_path(Panel):
 
         row.operator("file.directory_new", icon='NEWFOLDER', text="")
 
-        # TODO proper directory input text field
-
         subrow = row.row()
         subrow.prop(params, "directory", text="")
 
@@ -399,8 +397,7 @@ class FILEBROWSER_PT_directory_path(Panel):
         subrow.scale_x = 0.5
         subrow.prop(params, "filter_search", text="", icon='VIEWZOOM')
 
-        # TODO down triangle only created for UI_LAYOUT_HEADER
-
+        # Uses prop_with_popover() as popover() only adds the triangle icon in headers.
         row.prop_with_popover(
             params,
             "display_type",
@@ -408,7 +405,6 @@ class FILEBROWSER_PT_directory_path(Panel):
             text="",
             icon_only=True,
         )
-
         row.prop_with_popover(
             params,
             "display_type",



More information about the Bf-blender-cvs mailing list