Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-11-13Cleanup: Make panel type flag names more clearHans Goudey
The overlap with the `Panel` flags that start with "PNL" was quite confusing because wasn't clear which enum a flag was from. The new names are a bit longer, but the clarity is worth it.
2020-08-27Fix T77382: zooming into adjust last operation panel clips contentsBrecht Van Lommel
This panel should not have zoom functionality at all, just like headers and many other regions don't have it either.
2020-08-26Cleanup: use const variables in interface codeCampbell Barton
2020-08-23Cleanup: GPU: Use explicit clear value in GPU_clear* commandsClément Foucault
This replace `GPU_clear()` by `GPU_clear_color()` and `GPU_clear_depth()`. Since we always set the clear value before clearing, it is unecessary to track the clear color state. Moreover, it makes it clearer what we clear the framebuffer to.
2020-08-01Cleanup: use term init instead of initialize/initialiseCampbell Barton
The abbreviation 'init' is brief, unambiguous and already used in thousands of places, also initialize is often accidentally written with British spelling.
2020-05-22Fix T76940: Empty HUD (Redo Panel)Julian Eisel
If the redo panel was made visible with the same size it had before (e.g. stored in the file), the runtime region coordinates wouldn't get set and ended up being all 0. E.g. the simplest way to cause this was having a collapsed HUD, saving the file, re-opening it with the same effective DPI and doing an operation so the closed HUD would appear again. Now the size is always recalculated if the visibility state of the HUD changes.
2020-04-04Cleanup: Rename Panel * variables from pa to panelHans Goudey
2020-04-03Code Quality: Replace for loops with LISTBASE_FOREACHDalai Felinto
Note this only changes cases where the variable was declared inside the for loop. To handle it outside as well is a different challenge. Differential Revision: https://developer.blender.org/D7320
2020-04-03Cleanup: Rename ScrArea variables from sa to areaJulian Eisel
Follow up of b2ee1770d4c3 and 10c2254d412d, part of T74432. Now the area and region naming conventions should be less confusing. Mostly a careful batch rename but had to do few smaller fixes. Also ran clang-format on affected files.
2020-04-03Cleanup: Continue renaming ARegion variables from ar to regionJulian Eisel
Continuation of b2ee1770d4c3, now non-single word variables are also renamed. Part of T74432. Also ran clang-format on affected files.
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
2020-03-06Cleanup: Rename ARegion variables from ar to regionJulian Eisel
The old convention was easy to confuse with ScrArea. Part of https://developer.blender.org/T74432. This is mostly a batch rename with some manual fixing. Only single word variable names are changed, no prefixed/suffixed names. Brecht van Lommel and Campbell Barton both gave me a green light for this convention change. Also ran clan clang format on affected files.
2020-01-22Cleanup: Rename ED_region_init() -> ED_region_floating_initialize()Julian Eisel
This function is a very special refresh function just for floating regions. _initialize is more consistent with ED_area_initialize() so use that too. Also adds assert.
2019-12-04Make curve decimation only take into account the selected curve pointsSebastian Parborg
Previously the decimation would take the whole curve into account when decimating and not just the selected part. This also contains various smaller bug fixes for the fcurve decimation. Reviewed By: Sybren Differential Revision: http://developer.blender.org/D6286
2019-08-01Cleanup: misc spelling fixesCampbell Barton
T68035 by @luzpaz
2019-07-30Fix T67460: Vertex painting: Sampling color opens empty options window in ↵Sebastian Parborg
viewport The issue was that the redo panel area would call with region type HUD (not WINDOW). Now we make sure that the redo panel always polls the operator in the original area type context. Reviewed By: Brecht Differential Revision: http://developer.blender.org/D5361
2019-07-12Fix T66601: Redo Panels are empty the first time a workspace is activemano-wii
We need to indicate a preferred size to avoid `RGN_FLAG_TOO_SMALL` the first time the region is created. Differential revision: https://developer.blender.org/D5238
2019-06-04Fix status bar and keymap editor showing Call Menu instead of menu nameBrecht Van Lommel
2019-04-18UI: option to toggle 'Adjust Last Operation'Campbell Barton
2019-04-17Cleanup: comment length in interfaceCampbell Barton
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-03-14Fix T62526: Can't scroll redo panelCampbell Barton
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2019-01-26Cleanup: remove redundant BKE/BLI/BIF headersCampbell Barton
2019-01-07Cleanup: add trailing commas to structsCampbell Barton
2018-12-24Fix floating panel (HUD) applying DPI incorrectlyJulian Eisel
ARegion.sizex/y should never have DPI factor applied. For regular panel regions, DPI will be applied in region_rect_recursive already, causing it to be applied twice when region size is set dynamically (= based on content dimensions).
2018-11-27Fix T58062: Missing redo panelCampbell Barton
2018-11-26UI: collapse redo panel by defaultCampbell Barton
For some operators this fills a lot of vertical space, users can expand it if they need. Also remove workaround for T56752 (now fixed).
2018-11-26Correct last commitCampbell Barton
Initial display was fixed, broke refreshing.
2018-11-26UI: fix glitch showing redo panelCampbell Barton
There were still cases it would show for the first time w/o content.
2018-11-12Fix hidden HUD region being used - zero winrctCampbell Barton
2018-11-08UI: fix glitch showing the redo panelCampbell Barton
2018-09-11Workaround T56752: redo panel alpha flickerCampbell Barton
The bug applies to tooltips, but isn't as noticeable.
2018-09-11UI: use popup draw style for redo panelCampbell Barton
2018-09-11UI: workaround for glitch redo panel glitchCampbell Barton
2018-07-02Merge branch 'master' into blender2.8Campbell Barton
2018-06-28GLRefactor: partially remove gl calls from source/blender/editors.Ray Molenkamp
This translates the gl calls to the new GPU_ wrappers from D3501. Given it's tedious and repetitive work, this patch does as much as it can with search + replace, the remainder of the gl calls will need to be manually dealt with on a case by case basis. This fixes 13 of the 28 failing editors when building without opengl. For the list of substitutions see D3502 Reviewers: brecht Differential Revision: https://developer.blender.org/D3502
2018-06-20Fix crash activating the HUD w/o an active regionCampbell Barton
2018-06-14WM: fix redo region setting the contextCampbell Barton
2018-06-14UI: redo panel would still start zoomed in at timesCampbell Barton
2018-06-14UI: correct HUD zoom resettingCampbell Barton
2018-06-13UI: HUD now follows region themingCampbell Barton
2018-06-13UI: fix hud panel refresh glitchCampbell Barton
2018-06-12WM: don't show redo hud when unsupportedCampbell Barton
2018-06-12Cleanup: add ED_region_panels_layoutCampbell Barton
Only had the '_ex' (extended) version.
2018-06-12Cleanup: no need for extra HUD type check nowCampbell Barton
2018-06-12Fix redo panels being added to non-hud regionsCampbell Barton
2018-06-12UI: improve HUD ensure/clear logicCampbell Barton
Running operators w/o redo now clears the HUD immediately.