User Details
- User Since
- Jun 26 2018, 2:13 PM (241 w, 3 d)
Nov 11 2022
May 16 2022
Feb 28 2022
Also, the RESTRICT_INSTANCED_OFF icon looks like thicker version of the linked icon. It and its RESTRICT_INSTANCED_ON counterpart are not used.
Ah, rB777a546c0c7 seems like those were designed for before the "restrict viewport" was a thing, they never even reached 2.80.
Feb 8 2022
Feb 7 2022
- removed the ui reordering part, and placed the property inside the existing IMAGE_PT_overlay_image panel
Feb 5 2022
- added the missing bit to make the highlighting work when hovering overlapped buttons in uiLists
Feb 4 2022
Feb 1 2022
Jan 30 2022
Actually, it's probably better to just update the patch with that mentioned change included, so that it's clearer what I mean.
The above (roughly) matches what is happening for ui_handle_tree_hover, but a bit simpler. But still didn't work. LOL.
No idea.. What I did instead is to expand that function to include both the list and tree cases while keeping the same logic and, it doesn't work.
The only thing I noticed in debug is that the function gets executed a lot of times in a row with different "events" and slightly different cursor positions. Not sure if that is expected, as I'm definitely not familiar with that.
Jan 29 2022
Jan 17 2022
Dec 18 2021
Dec 16 2021
Dec 14 2021
- update to the current state of master
Dec 13 2021
Dec 10 2021
Bring back the new UI_BUT_ALIGN_IS_FIRST flag.
Dec 9 2021
Simplifed and moved the logic away from ui_text_icon_width_ex()
Update to current state of master
Dec 8 2021
Hi, have you considered doing something similar to what we have in the video sequencer for the toggle placement?
Dec 7 2021
Dec 6 2021
- make variables constants
@Yevgeny Makarov (jenkm) It seems logical that we should change buttons coordinates somewhere in one place. The question is where.
One place could be just after ui_block_align_calc() in interface.c. If we could do it there, a simple function that moves all the buttons to the left and then the block half way to the right might work, but I don't know if it's possible to check for the layout flags there.
- cleanup
- comments
Dec 5 2021
Dec 2 2021
Nov 30 2021
Better comments
Nov 29 2021
@Erindale (Erindale) if you pin the cursor panel then this gets quite fast, you still need to go to the 3d view to place the cursor, so at worst you loose a couple of seconds to press N and scroll to the top of the panels, if you're not already on the top; (providing that copy/pasting the whole vector becomes the default with ctrl+c on hover, and that this gets properly publicised in the release notes).
Nov 28 2021
You can with Alt-Ctrl-C / Alt-Ctrl-V.
Isn't the poll a bit too loose? This gets in a lot of places.
Why would someone want to paste the cursor loc/rot in a scale property, the SSS radius, a color socket, and so on?
Nov 25 2021
- Rebase on current master
- Removed .dat files for force_boid icon
Nov 24 2021
Nov 23 2021
Try to use arc to get it to work
In b.chat there was also a discussion about having an svg file icon, now that they're getting more integrated thanks to GP (right now they are using the generic FILE_3D, same as obj and other IO formats).
Nov 22 2021
Nov 18 2021
@Richard Antalik (ISS) could you confirm that this solves the problem without causing other ones? It seems so, but I'm not sure it should.
diff --git a/release/scripts/presets/keyconfig/keymap_data/blender_default.py b/release/scripts/presets/keyconfig/keymap_data/blender_default.py index dbc93cb6caa..aa20b5b0396 100644 --- a/release/scripts/presets/keyconfig/keymap_data/blender_default.py +++ b/release/scripts/presets/keyconfig/keymap_data/blender_default.py @@ -7557,7 +7557,7 @@ def km_sequencer_editor_tool_generic_select(params, *, fallback): params, "sequencer.select", "sequencer.cursor_set", extend="toggle")),
Nov 16 2021
Thanks for the quick triaging @Pratik Borhade (PratikPB2123) !
Nov 15 2021
Nov 13 2021
Nov 11 2021
Nov 9 2021
Nov 6 2021
Nov 4 2021
- simpler changes, adding bContext wasn't needed
- fix action zones being too small with region overlap
Nov 3 2021
- check for G_TRANSFORM_CURSOR in the drawing poll function
- renamed the new cursor flag to SI_OVERLAY_HIDE_CURSOR and move it in the eSpaceImageOverlay_Flag enum
- moved the rna definition in rna_def_space_image_overlay() and renamed the flag "show_cursor"
To complete this, a secondary patch I wanted to work on would be about blocking the cursor position while it is not drawn. I initially though to include it here for the image editor, but I think that should affect all the editors that have a cursor.
Oct 31 2021
@Christoph Lendenfeld (ChrisLend) It fails to build, the structs used in the functions are defined below them.
Oct 24 2021
Hi @Harley Acheson (harley) I wanted to try this but GCC gives a lot of conversion errors related to those FreeType custom types.
Oct 22 2021
Oct 21 2021
Well, ok, but to me it still seems quite a random thing to do.
I mean, I see no gain in hiding the icon, and the blank space looks a bit strange.
Oct 20 2021
Hi! I honestly don't get why the icon couldn't be always visible.
Oct 12 2021
Feb 16 2021
Apr 24 2020
Apr 21 2020
- addressed inline comments
Apr 16 2020
In future please don't mix code cleanup with functional changes, mixing in these changes slows down code review.
Sorry about that, I hoped it was clear enough from the patch description.
Apr 14 2020
Hi! I was trying the commit and I noticed a couple of problems. I thought it was better to just list them here instead of filling bug reports.
Apr 11 2020
Apr 7 2020
Apr 3 2020
@Sybren A. Stüvel (sybren) @Luciano Muñoz Sessarego (looch) I was looking at the group colours thing, do you wanted the change to only affect the Graph editor or also the Dopesheet?
Mar 28 2020
Mar 26 2020
- moved adding vertices in separate function
- used floor(pixelx) for step values higher than 1
- changed max_verts calculation
- inverted logic for precondition
- moved condition to change_frame_seq_preview_begin() using ED_time_scrub_event_in_region()
Mar 25 2020
Mar 24 2020
- addressed inline comments
- added preconditions
- changed variable names
- get seq->start/end from the main function
Mar 23 2020
I have done comparison of batch vs immediate drawing, and there is little to no improvement in performance. I did not expect that...
Mar 22 2020
- further reduce resolution of the curve at lower zoom level
- add the last couple of vertices out of the main loop, in order to make sure that the shape is always properly closed
Mar 21 2020
- moved evaluation steps to integers
- add an extra evaluation frame left/right of the editor's borders
- avoid adding verts for points next to each others that have the same value
Mar 18 2020
- split code for invalid and locked states in separate functions
- same for code calculating text x-axis offsets
- small fix to the text margin, now it considers UI scale
- use that margin also for missing media indication
Mar 17 2020
- better vertical position for the text, allowing to show more of the strip content (color bands, waveforms) when the strip is wider.
Mar 16 2020
- forgot to update color of trim numbers after UI_view2d_text_cache_add() changes
- forgot to remove part of f-curves drawing related changes
- removed previously added header that wasn't needed
- removed f-curves drawing function, will try to implement that properly in a separate patch