Alexandr Zinovev (raa)
User

Projects

User Details

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

Recent Activity

Fri, May 12

Alexandr Zinovev (raa) added a comment to D2667: Fix python path generation for Space* properties.

Thanks for review.
Yes I'll try to fix the issue in wm_prop_pystring_from_context.

Fri, May 12, 6:30 PM · BF Blender

Thu, May 11

Alexandr Zinovev (raa) added a comment to D2668: Fix: use Pie Click Style if the pie was spawned by release event.

KM_CLICK event also blocks the pie.

Thu, May 11, 12:40 PM
Alexandr Zinovev (raa) created D2668: Fix: use Pie Click Style if the pie was spawned by release event.
Thu, May 11, 12:31 PM
Alexandr Zinovev (raa) created D2667: Fix python path generation for Space* properties.
Thu, May 11, 11:44 AM · BF Blender

Apr 11 2017

Alexandr Zinovev (raa) committed rB31bdb31ecf54: Fix: width of UILayout.prop_enum() buttons (authored by Alexandr Zinovev (raa)).
Fix: width of UILayout.prop_enum() buttons
Apr 11 2017, 12:26 PM

Apr 1 2017

Alexandr Zinovev (raa) added a comment to T51103: Development UI classes.

Will be useful, thanks!

Apr 1 2017, 9:50 AM · Addons
Alexandr Zinovev (raa) changed the status of T51101: Icon Viewer broken in master from "Invalid" to "Resolved".

Fixed in 9159fac1f5a9

Apr 1 2017, 12:22 AM · Addons

Mar 30 2017

Alexandr Zinovev (raa) abandoned D2588: Fix: Refresh parent popup when the child popup is closed.

Committed: rB5b3b0b4778a6

Mar 30 2017, 3:52 PM
Alexandr Zinovev (raa) abandoned D2585: Fix layout refreshing for popups.

Committed: rB5b3b0b4778a6

Mar 30 2017, 3:52 PM
Alexandr Zinovev (raa) committed rB5b3b0b4778a6: Redraw parent popup when the child popup is closed (authored by Alexandr Zinovev (raa)).
Redraw parent popup when the child popup is closed
Mar 30 2017, 3:49 PM

Mar 29 2017

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

Mar 28 2017

Alexandr Zinovev (raa) committed rBA9159fac1f5a9: Support new UserPreferencesView.ui_scale property (authored by Alexandr Zinovev (raa)).
Support new UserPreferencesView.ui_scale property
Mar 28 2017, 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
Mar 28 2017, 12:44 PM
Alexandr Zinovev (raa) created D2585: Fix layout refreshing for popups.
Mar 28 2017, 12:20 PM
Alexandr Zinovev (raa) abandoned D2450: Add tag_redraw feature for operators.
Mar 28 2017, 10:21 AM · BF Blender

Mar 27 2017

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

Mar 26 2017

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

Before and After:

Mar 26 2017, 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
Mar 26 2017, 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
Mar 26 2017, 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
Mar 26 2017, 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
Mar 26 2017, 11:19 AM

Mar 24 2017

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

Mar 17 2017

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

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

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

Before and After:


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

Mar 16 2017

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

I'm adjusting icons in outliner:


Will commit tomorrow.

Mar 16 2017, 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:

Mar 16 2017, 8:54 PM · BF Blender

Mar 14 2017

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

Commited rB1208792adb30
Thanks, @Campbell Barton (campbellbarton)!

Mar 14 2017, 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.

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

Mar 11 2017

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

Mar 10 2017

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

Mar 7 2017

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

Mar 6 2017

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

Fixes the issue (D2524) for split layouts.

Mar 6 2017, 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
Mar 6 2017, 2:36 PM

Mar 4 2017

Alexandr Zinovev (raa) added a reviewer for D2450: Add tag_redraw feature for operators: Campbell Barton (campbellbarton).
Mar 4 2017, 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.

Mar 4 2017, 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.

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

Mar 3 2017

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

You can test the patch using this script:

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

Reworked

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

Fixed

Mar 3 2017, 3:32 PM

Mar 1 2017

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.

Mar 1 2017, 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
Mar 1 2017, 5:30 PM
Alexandr Zinovev (raa) abandoned D2419: Text and icon positioning for scaled buttons.

Committed rB32c5f3d77224

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

Before and After:

Mar 1 2017, 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
Mar 1 2017, 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