
    ai
                         S SK r S SKJr  S SKJr  S SKJr   " S S5      r " S S\\5      r " S	 S
\\5      r	 " S S\\\\5      r
 " S S\\\5      r\\	\
\4r\S:X  a  S SKJr  \ H  r\" \5        M     gg)    N)Panel)PropertyPanel)PropertiesAnimationMixinc                   0    \ rS rSrSrSrSr\S 5       rSr	g)DataButtonsPanel   
PROPERTIESWINDOWdatac                     UR                   $ )N)lattice)clscontexts     e/home/wildlama/Downloads/blender-5.1.2-linux-x64/5.1/scripts/startup/bl_ui/properties_data_lattice.pypollDataButtonsPanel.poll   s         N)
__name__
__module____qualname____firstlineno__bl_space_typebl_region_type
bl_contextclassmethodr   __static_attributes__r   r   r   r   r      s#     MNJ r   r   c                   $    \ rS rSrSrS1rS rSrg)DATA_PT_context_lattice    HIDE_HEADERc                     U R                   nUR                  nUR                  nUR                  nU(       a  UR	                  US5        g U(       a  UR	                  US5        g g )Nr   pin_id)layoutobjectr   
space_datatemplate_ID)selfr   r%   oblatspaces         r   drawDATA_PT_context_lattice.draw   sS    ^^oo""r6*uh/ r   r   N)r   r   r   r   bl_label
bl_optionsr-   r   r   r   r   r   r      s    HJ
0r   r   c                       \ rS rSrSrS rSrg)DATA_PT_lattice&   Latticec                 *   U R                   nSUl        UR                  nUR                  5       nUR                  SS9nUR	                  USSS9  UR	                  USSS9  UR	                  USS	S9  UR                  5         UR                  SS9nUR	                  US
SS9  UR	                  USSS9  UR	                  USS	S9  UR                  5         UR	                  US5        UR                  5         UR                  USUR                  S5        g )NTalignpoints_uzResolution Utextpoints_vVpoints_wWinterpolation_type_uzInterpolation Uinterpolation_type_vinterpolation_type_wuse_outsidevertex_groupvertex_groups)r%   use_property_splitr   columnprop	separatorprop_searchr&   )r)   r   r%   r+   colsubs         r   r-   DATA_PT_lattice.draw)   s    $(!oommojjtj$j~6js+js+jjtj$,3DE,37,37m$^W^^_Mr   r   N)r   r   r   r   r/   r-   r   r   r   r   r2   r2   &   s    HNr   r2   c                       \ rS rSrS rSrg)DATA_PT_lattice_animationF   c                 8   U R                   nSUl        SUl        UR                  nUR	                  SS9nUR                  SS9  U R                  XU5        UR                  =n(       a1  UR	                  SS9nUR                  SS9  U R                  XU5        g g )NTFr6   r4   r9   z
Shape Keys)r%   rE   use_property_decorater   rF   labeldraw_action_and_slot_selector
shape_keys)r)   r   r%   r   rJ   rT   s         r   r-   DATA_PT_lattice_animation.drawH   s    $(!',$ //mm$m'		y	!**7A +++:+--d-+CII<I(..wZH ,r   r   N)r   r   r   r   r-   r   r   r   r   rN   rN   F   s    Ir   rN   c                   D    \ rS rSrSr\R                  R                  rSr	g)DATA_PT_custom_props_latticeZ   zobject.datar   N)
r   r   r   r   _context_pathbpytypesr4   _property_typer   r   r   r   rW   rW   Z   s    !MYY&&Nr   rW   __main__)register_class)rZ   	bpy.typesr   rna_prop_uir   bl_ui.space_propertiesr   r   r   r2   rN   rW   classesr   	bpy.utilsr^   r   r   r   r   <module>rd      s   
   % ; 0. 0"N& N@I 02JM[` I('#3]E '  	 z(s  r   