Alexandr Zinovev (raa)
User

Projects

User Details

User Since
Feb 28 2016, 7:16 PM (56 w, 3 d)

Recent Activity

Yesterday

Alexandr Zinovev (raa) created D2588: Fix: Refresh parent popup when the child popup is closed.
Wed, Mar 29, 2:21 PM

Tue, Mar 28

Alexandr Zinovev (raa) committed rBA9159fac1f5a9: Support new UserPreferencesView.ui_scale property (authored by Alexandr Zinovev (raa)).
Support new UserPreferencesView.ui_scale property
Tue, Mar 28, 5:00 PM
Alexandr Zinovev (raa) committed rB59bb4ca1b08b: Fix: Icon offset for pie buttons (authored by Alexandr Zinovev (raa)).
Fix: Icon offset for pie buttons
Tue, Mar 28, 12:44 PM
Alexandr Zinovev (raa) created D2585: Fix layout refreshing for popups.
Tue, Mar 28, 12:20 PM
Alexandr Zinovev (raa) abandoned D2450: Add tag_redraw feature for operators.
Tue, Mar 28, 10:21 AM · BF Blender

Mon, Mar 27

Alexandr Zinovev (raa) committed rB5ce120b865ed: Fix columns with fixed width (authored by Alexandr Zinovev (raa)).
Fix columns with fixed width
Mon, Mar 27, 11:07 PM

Sun, Mar 26

Alexandr Zinovev (raa) added a comment to rB505b3b7328ea: Fix padding and align calculation for box layouts.

Before and After:

Sun, Mar 26, 5:03 PM
Alexandr Zinovev (raa) committed rB505b3b7328ea: Fix padding and align calculation for box layouts (authored by Alexandr Zinovev (raa)).
Fix padding and align calculation for box layouts
Sun, Mar 26, 5:02 PM
Alexandr Zinovev (raa) committed rBfa63515c3758: Fix: Use "round" instead of "floor" in snapping UI to pixels (authored by Alexandr Zinovev (raa)).
Fix: Use "round" instead of "floor" in snapping UI to pixels
Sun, Mar 26, 11:19 AM
Alexandr Zinovev (raa) committed rB4bdb2d488567: Fix: Ignore min flag for rows that require all available width (authored by Alexandr Zinovev (raa)).
Fix: Ignore min flag for rows that require all available width
Sun, Mar 26, 11:19 AM
Alexandr Zinovev (raa) committed rB001fce167a01: Fix: Button's label can be NULL (authored by Alexandr Zinovev (raa)).
Fix: Button's label can be NULL
Sun, Mar 26, 11:19 AM

Fri, Mar 24

Alexandr Zinovev (raa) abandoned D2511: Clear filter for enum search menu.
Fri, Mar 24, 10:17 AM

Fri, Mar 17

Alexandr Zinovev (raa) closed T50948: UI - Menu icons are no longer aligned as "Resolved".

@Carlo Andreacchio (candreacchio), @Brecht Van Lommel (brecht), good points.

Fri, Mar 17, 3:12 PM · BF Blender
Alexandr Zinovev (raa) added a comment to rB9d873fc3debe: Various icon adjustments.

Before and After:


Fri, Mar 17, 3:00 PM
Alexandr Zinovev (raa) committed rB9d873fc3debe: Various icon adjustments (authored by Alexandr Zinovev (raa)).
Various icon adjustments
Fri, Mar 17, 2:59 PM

Thu, Mar 16

Alexandr Zinovev (raa) added a comment to T50948: UI - Menu icons are no longer aligned.

I'm adjusting icons in outliner:


Will commit tomorrow.

Thu, Mar 16, 9:01 PM · BF Blender
Alexandr Zinovev (raa) added a comment to T50948: UI - Menu icons are no longer aligned.

Imo all icons should use the same alignment:

Thu, Mar 16, 8:54 PM · BF Blender

Tue, Mar 14

Alexandr Zinovev (raa) abandoned D2453: Add "undo_history" property to bpy.context.

Commited rB1208792adb30
Thanks, @Campbell Barton (campbellbarton)!

Tue, Mar 14, 6:52 PM · Python, BF Blender
Alexandr Zinovev (raa) updated the diff for D2453: Add "undo_history" property to bpy.context.

Add operators with UNDO flag into C.window_manager.operators.

Tue, Mar 14, 3:28 PM · Python, BF Blender

Sat, Mar 11

Alexandr Zinovev (raa) committed rB76015f98aec0: Fix icon alignment for pie buttons (authored by Alexandr Zinovev (raa)).
Fix icon alignment for pie buttons
Sat, Mar 11, 8:34 PM

Fri, Mar 10

Alexandr Zinovev (raa) abandoned D2549: Add spacer widget.
Fri, Mar 10, 4:21 PM
Alexandr Zinovev (raa) committed rB17b3097205bb: Adjust kmi header (authored by Alexandr Zinovev (raa)).
Adjust kmi header
Fri, Mar 10, 1:11 PM

Tue, Mar 7

Alexandr Zinovev (raa) retitled D2549: Add spacer widget from to Add spacer widget.
Tue, Mar 7, 11:36 AM

Mon, Mar 6

Alexandr Zinovev (raa) added a comment to rBf1c764fd8fe9: Fix width calculation for split layouts.

Fixes the issue (D2524) for split layouts.

Mon, Mar 6, 2:39 PM
Alexandr Zinovev (raa) committed rBf1c764fd8fe9: Fix width calculation for split layouts (authored by Alexandr Zinovev (raa)).
Fix width calculation for split layouts
Mon, Mar 6, 2:36 PM

Sat, Mar 4

Alexandr Zinovev (raa) added a reviewer for D2450: Add tag_redraw feature for operators: Campbell Barton (campbellbarton).
Sat, Mar 4, 10:11 AM · BF Blender
Alexandr Zinovev (raa) added a reviewer for D2453: Add "undo_history" property to bpy.context: Campbell Barton (campbellbarton).

Talked with @Alexandr Zinovev (raa) and think it might be enough to add a is_last_action() method to Operators. this way you can do:

if context.window_manager.operators[-1].is_last_action():
    ...

Or perhaps better to expose:

context.window_manager.operators.active

Which would be the active operator or None

This is a way to know if an operator is showing up in the toolbox for redo, (which may be useful in general for other tools). And avoids exposing undo stack.

Sat, Mar 4, 10:09 AM · Python, BF Blender
Alexandr Zinovev (raa) updated the diff for D2453: Add "undo_history" property to bpy.context.

Implemented 'Operator.is_last_action' property which returns True if the operator is the last action in undo stack.

Sat, Mar 4, 10:07 AM · Python, BF Blender

Fri, Mar 3

Alexandr Zinovev (raa) added a comment to D2511: Clear filter for enum search menu.

You can test the patch using this script:

Fri, Mar 3, 6:32 PM
Alexandr Zinovev (raa) updated the diff for D2511: Clear filter for enum search menu.

Reworked

Fri, Mar 3, 6:30 PM
Alexandr Zinovev (raa) updated the diff for D2511: Clear filter for enum search menu.

Fixed

Fri, Mar 3, 3:32 PM

Wed, Mar 1

Alexandr Zinovev (raa) added a comment to rBecee40e9191f: All drop-down buttons should use the same width.

All drop-down buttons should use the same (30px) width.

Wed, Mar 1, 5:47 PM
Alexandr Zinovev (raa) committed rBecee40e9191f: All drop-down buttons should use the same width (authored by Alexandr Zinovev (raa)).
All drop-down buttons should use the same width
Wed, Mar 1, 5:30 PM
Alexandr Zinovev (raa) abandoned D2419: Text and icon positioning for scaled buttons.

Committed rB32c5f3d77224

Wed, Mar 1, 2:16 PM · User Interface, BF Blender
Alexandr Zinovev (raa) added a comment to rB32c5f3d77224: Fix text and icon positioning issues.

Before and After:

Wed, Mar 1, 2:14 PM
Alexandr Zinovev (raa) committed rB32c5f3d77224: Fix text and icon positioning issues (authored by Alexandr Zinovev (raa)).
Fix text and icon positioning issues
Wed, Mar 1, 2:12 PM

Feb 25 2017

Alexandr Zinovev (raa) abandoned D2524: Fix rows with fixed last item.

Committed - rB94ca09e01c98

Feb 25 2017, 11:22 AM
Alexandr Zinovev (raa) committed rB94ca09e01c98: Fix rows with fixed last item (D2524) (authored by Alexandr Zinovev (raa)).
Fix rows with fixed last item (D2524)
Feb 25 2017, 11:19 AM

Feb 24 2017

Alexandr Zinovev (raa) retitled D2524: Fix rows with fixed last item from to Fix rows with fixed last item.
Feb 24 2017, 3:10 PM

Feb 23 2017

Alexandr Zinovev (raa) added a comment to T50732: Viewport Pie menus update 2.79.

1/ No sub pies. a pie calling a pie, whilst effective & useful, is not entirely practical. the sub pie is offset from the originals placement, making it jump around the screen.
2/ Where a pie includes a sub menu the sub menu should be positioned on the right.
3/ Where a pie includes a pie box layout, the pie layout should be either symmetrical in nature when considered in context with the whole pie layout or the pie box positioned on the right.
4/ pie menus when possible should use the same hotkey as the standard menu they are replicating.

Feb 23 2017, 11:40 AM · User Interface, Addons
Alexandr Zinovev (raa) added a comment to T50756: Wrong layout alignment.

UILayout.row is not enough in this case. You have to use UILayout.split:

Feb 23 2017, 8:00 AM · User Interface, Python, BF Blender

Feb 22 2017

Alexandr Zinovev (raa) added a comment to rB43299f9465aa: Columns should be expandable by default.

Columns are designed to be expandable by default.
We can't mark them with UI_ITEM_MIN flag.

Feb 22 2017, 10:12 PM
Alexandr Zinovev (raa) committed rB43299f9465aa: Columns should be expandable by default (authored by Alexandr Zinovev (raa)).
Columns should be expandable by default
Feb 22 2017, 10:10 PM

Feb 21 2017

Alexandr Zinovev (raa) abandoned D2473: Fix T50497: prop_search not correctly drew in UI.
Feb 21 2017, 7:06 PM · User Interface, BF Blender
Alexandr Zinovev (raa) abandoned D2508: Fix drawing nested box layouts.
Feb 21 2017, 7:04 PM
Alexandr Zinovev (raa) committed rB3622074bf767: Fix Drawing nested box layouts (D2508) (authored by Alexandr Zinovev (raa)).
Fix Drawing nested box layouts (D2508)
Feb 21 2017, 7:03 PM

Feb 20 2017

Alexandr Zinovev (raa) added a comment to D2453: Add "undo_history" property to bpy.context.

I am not convinced at all we should expose such things. Those are fully internal guts and exposing them must not be done as-is. I'm also not convinced with the reasoning you gave. There are following issues:

  • Global undo might be disabled, which will make your addon depending on the history to work unreliably depending on user settings and current mode.
  • If it happens so certain steps are cleared from undo history your addon will stop behaving correctly.
  • If you're mixing edits in multiple objects behavior of your addon will become unpredictable.
  • The claim about being faster to access undo history than doing scene update hook and checking is_updated flag is quite wrong. With is_updated flag you know what exactly changed, while otherwise you'll need to iterate over objects to see changes.
  • Undo should be fully hidden implementation which just works for users. If we ever change something here it'll break all the scripts which relies on particular behavior of undo.

    There must be solution for your original problem which does not involve dependency of internal stuff and which will behave predictable and reliably in all cases.
Feb 20 2017, 5:34 PM · Python, BF Blender

Feb 17 2017

Alexandr Zinovev (raa) added a comment to D2475: Show 'X' icon to clear value of text button.

A more acceptable approach would be having this as option to UILayout.prop. Something like layout.prop(..., show_value_clear=True).

I don't like this idea. The flag should be defined on property level.
@Julian Eisel (Severin), what if we add X button when string property has not empty default value?

Feb 17 2017, 6:47 PM · Python

Feb 15 2017

Alexandr Zinovev (raa) retitled D2511: Clear filter for enum search menu from to Clear filter for enum search menu.
Feb 15 2017, 11:06 PM

Feb 12 2017

Alexandr Zinovev (raa) retitled D2508: Fix drawing nested box layouts from to Fix drawing nested box layouts.
Feb 12 2017, 1:01 PM

Feb 11 2017

Alexandr Zinovev (raa) committed rBAf2bb66b68b40: Add an option to hide the panel and/or header (authored by Alexandr Zinovev (raa)).
Add an option to hide the panel and/or header
Feb 11 2017, 2:44 PM

Feb 2 2017

Alexandr Zinovev (raa) added a comment to D2473: Fix T50497: prop_search not correctly drew in UI.

Commited without 2150 line changes, because they add some minor issues.

Feb 2 2017, 3:46 PM · User Interface, BF Blender
Alexandr Zinovev (raa) committed rBfeb588060a6c: Fix T50497: prop_search not correctly drew in UI (D2473) (authored by Alexandr Zinovev (raa)).
Fix T50497: prop_search not correctly drew in UI (D2473)
Feb 2 2017, 3:38 PM
Alexandr Zinovev (raa) closed T50497: Python : prop_search not correctly drew in UI as "Resolved" by committing rBfeb588060a6c: Fix T50497: prop_search not correctly drew in UI (D2473).
Feb 2 2017, 3:38 PM · User Interface, BF Blender

Jan 29 2017

Alexandr Zinovev (raa) committed rB15b253c082d6: Fix blurry icons (authored by Alexandr Zinovev (raa)).
Fix blurry icons
Jan 29 2017, 3:23 PM

Jan 26 2017

Alexandr Zinovev (raa) committed rBA371960484a38: Replace Icons addon with Icon Viewer - T50367 (authored by Alexandr Zinovev (raa)).
Replace Icons addon with Icon Viewer - T50367
Jan 26 2017, 6:37 PM

Jan 24 2017

Alexandr Zinovev (raa) retitled D2475: Show 'X' icon to clear value of text button from to Show 'X' icon to clear value of text button.
Jan 24 2017, 1:29 AM · Python

Jan 23 2017

Alexandr Zinovev (raa) added a comment to T50367: Proposal to replace Icons addon.

Added an option to display icons inside the panel:

Jan 23 2017, 4:26 PM · Addons

Jan 22 2017

Alexandr Zinovev (raa) retitled D2473: Fix T50497: prop_search not correctly drew in UI from to Fix T50497: prop_search not correctly drew in UI.
Jan 22 2017, 11:27 PM · User Interface, BF Blender
Alexandr Zinovev (raa) added a revision to T50497: Python : prop_search not correctly drew in UI: D2473: Fix T50497: prop_search not correctly drew in UI.
Jan 22 2017, 11:27 PM · User Interface, BF Blender

Jan 18 2017

Alexandr Zinovev (raa) committed rBA79a852146ba1: Fix: UI Pie Menu Official addon preferences layout (authored by Alexandr Zinovev (raa)).
Fix: UI Pie Menu Official addon preferences layout
Jan 18 2017, 12:48 PM

Jan 11 2017

Alexandr Zinovev (raa) updated the diff for D2453: Add "undo_history" property to bpy.context.

Some fixes.

Jan 11 2017, 4:29 PM · Python, BF Blender

Jan 9 2017

Alexandr Zinovev (raa) added a comment to D2423: Layouts with fixed size.

what I mean is that assuming a button is icon-only just based on its width is weak.

Agree. Fixed.

Jan 9 2017, 4:56 PM · User Interface, BF Blender
Alexandr Zinovev (raa) updated the diff for D2423: Layouts with fixed size.
Jan 9 2017, 4:48 PM · User Interface, BF Blender
Alexandr Zinovev (raa) added a comment to rBd5708fdad6a0: Fix expanding enum property in sub-layout of pie menus.

Here is the patch D2455

Jan 9 2017, 10:05 AM
Alexandr Zinovev (raa) retitled D2455: Fix T50386 from to Fix T50386.
Jan 9 2017, 10:01 AM
Alexandr Zinovev (raa) added a revision to T50386: Regression with pie menus addon 'Z' hotkey in master: D2455: Fix T50386.
Jan 9 2017, 10:01 AM · Addons, BF Blender

Jan 8 2017

Alexandr Zinovev (raa) added a comment to T50386: Regression with pie menus addon 'Z' hotkey in master.

Sorry, my bad.
This patch D2455 should fix the issue.

Jan 8 2017, 6:59 PM · Addons, BF Blender
Alexandr Zinovev (raa) updated the diff for D2423: Layouts with fixed size.

Fixed "picky points".

Jan 8 2017, 3:30 PM · User Interface, BF Blender

Jan 7 2017

Alexandr Zinovev (raa) added reviewers for D2453: Add "undo_history" property to bpy.context: Bastien Montagne (mont29), Julian Eisel (Severin).
Jan 7 2017, 12:52 PM · Python, BF Blender

Jan 5 2017

Alexandr Zinovev (raa) retitled D2450: Add tag_redraw feature for operators from to Add tag_redraw feature for operators.
Jan 5 2017, 1:58 PM · BF Blender

Jan 3 2017

Alexandr Zinovev (raa) added a comment to T50367: Proposal to replace Icons addon.

It would be great to have the icons button in some panel in 3D view and not only inside text editor mode.

Jan 3 2017, 5:18 PM · Addons
Alexandr Zinovev (raa) added a comment to T50367: Proposal to replace Icons addon.

@Antonio Vazquez (antoniov), Agree, it's a cool feature. I'll implement it for the next version of the addon.

Jan 3 2017, 5:14 PM · Addons
Alexandr Zinovev (raa) added a comment to D2423: Layouts with fixed size.

Am just wondering why only row and column layouts are handled here? imho at least columnflow is missing here?

Jan 3 2017, 4:13 PM · User Interface, BF Blender
Alexandr Zinovev (raa) created T50367: Proposal to replace Icons addon.
Jan 3 2017, 1:47 PM · Addons

Jan 2 2017

Alexandr Zinovev (raa) updated the diff for D2427: Hide shortcuts from buttons in popups.

Looks like the easiest way to fix the issue is to add a new UI_BLOCK_MENU flag.

Jan 2 2017, 3:38 PM · User Interface, BF Blender

Dec 29 2016

Alexandr Zinovev (raa) added a comment to D2430: Add a new operator - bpy.ops.ed.undo_redo() .

@Bastien Montagne (mont29), it's my bad habit to always return CANCELLED for helper operators in my scripts.

Dec 29 2016, 11:34 AM · BF Blender, Python

Dec 28 2016

Alexandr Zinovev (raa) added a comment to D2419: Text and icon positioning for scaled buttons.

@Bastien Montagne (mont29), It's a good question.
Blenderartists forums have many questions/requests from users that want to increase icon size for some buttons.
But afaik we cannot use vector icons as a custom icon. So scaled custom icons may look ugly.

Dec 28 2016, 3:49 PM · User Interface, BF Blender

Dec 24 2016

Alexandr Zinovev (raa) added a comment to D2430: Add a new operator - bpy.ops.ed.undo_redo() .

Here is an example of what we can do using the operator:

Dec 24 2016, 11:26 AM · BF Blender, Python

Dec 23 2016

Alexandr Zinovev (raa) retitled D2430: Add a new operator - bpy.ops.ed.undo_redo() from to Add a new operator - bpy.ops.ed.undo_redo() .
Dec 23 2016, 10:40 PM · BF Blender, Python

Dec 22 2016

Alexandr Zinovev (raa) retitled D2427: Hide shortcuts from buttons in popups from to Hide shortcuts from buttons in popups.
Dec 22 2016, 1:10 AM · User Interface, BF Blender

Dec 20 2016

Alexandr Zinovev (raa) retitled D2423: Layouts with fixed size from to Layouts with fixed size.
Dec 20 2016, 2:30 AM · User Interface, BF Blender

Dec 18 2016

Alexandr Zinovev (raa) updated the diff for D2420: Icon only flag for UILayout.prop_enum function.
Dec 18 2016, 12:29 PM · User Interface, BF Blender
Alexandr Zinovev (raa) changed the visibility for D2420: Icon only flag for UILayout.prop_enum function.
Dec 18 2016, 12:12 PM · User Interface, BF Blender
Alexandr Zinovev (raa) changed the edit policy for D2420: Icon only flag for UILayout.prop_enum function.
Dec 18 2016, 12:12 PM · User Interface, BF Blender
Alexandr Zinovev (raa) retitled D2420: Icon only flag for UILayout.prop_enum function from to Icon only flag for UILayout.prop_enum function.
Dec 18 2016, 12:04 PM · User Interface, BF Blender

Dec 16 2016

Alexandr Zinovev (raa) updated the diff for D2419: Text and icon positioning for scaled buttons.
Dec 16 2016, 6:11 PM · User Interface, BF Blender
Alexandr Zinovev (raa) retitled D2419: Text and icon positioning for scaled buttons from to Text and icon positioning for scaled buttons.
Dec 16 2016, 6:07 PM · User Interface, BF Blender

Dec 14 2016

Alexandr Zinovev (raa) retitled D2415: Drawing enum property with icon only flag from to Drawing enum property with icon only flag.
Dec 14 2016, 12:12 PM · User Interface

Dec 3 2016

Alexandr Zinovev (raa) added reviewers for D2394: Fix expanding enum property in sub-layout of pie menus: Bastien Montagne (mont29), Julian Eisel (Severin).
Dec 3 2016, 10:20 PM · BF Blender
Alexandr Zinovev (raa) updated the diff for D2394: Fix expanding enum property in sub-layout of pie menus.
Dec 3 2016, 9:52 PM · BF Blender
Alexandr Zinovev (raa) changed the visibility for D2394: Fix expanding enum property in sub-layout of pie menus.
Dec 3 2016, 9:47 PM · BF Blender
Alexandr Zinovev (raa) retitled D2394: Fix expanding enum property in sub-layout of pie menus from to Fix expanding enum property in sub-layout of pie menus.
Dec 3 2016, 8:53 PM · BF Blender

Mar 30 2016

Alexandr Zinovev (raa) created T48008: UILayout.separator() method doesn't work properly for columns.
Mar 30 2016, 9:18 PM · User Interface, BF Blender
Alexandr Zinovev (raa) created T48001: Highlighting selected item in filtered lists.
Mar 30 2016, 12:23 PM · User Interface, BF Blender

Mar 18 2016

Alexandr Zinovev (raa) created T47837: Filtering UIList.
Mar 18 2016, 1:45 PM · User Interface, Python, BF Blender

Mar 8 2016

Alexandr Zinovev (raa) added a comment to T47657: Using template_list() with invoke_props_dialog().

I wish I could help with this bug but unfortunately I don't know c/cpp.

Mar 8 2016, 6:30 PM · Python, User Interface, BF Blender

Mar 4 2016

Alexandr Zinovev (raa) added a comment to T47691: Redrawing dialogs/popups with ID properties.

No, afaik.
Tested in versions 2.71-2.76.

Mar 4 2016, 9:27 PM · User Interface, Python, BF Blender
Alexandr Zinovev (raa) created T47691: Redrawing dialogs/popups with ID properties.
Mar 4 2016, 9:00 PM · User Interface, Python, BF Blender

Mar 2 2016

Alexandr Zinovev (raa) created T47657: Using template_list() with invoke_props_dialog().
Mar 2 2016, 1:17 PM · Python, User Interface, BF Blender