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-07-02Fix: Crash when closing window while Outliner shows screensJulian Eisel
Steps to reproduce were: * From factory settings, change Outliner Display Mode to "Blender File" * Open "Screens" item, make sure all listed screens are visible * Open Preference window, close it * Mouse hover the outliner -> crash Fix is to force an Outliner tree rebuild when closing screens.
2020-07-02Fix T77830: Crash in VR session when opening material previewJulian Eisel
Draw-manager mutex has to be set before activating OpenGL/GPU context. Otherwise, parallel jobs (like preview rendering) may try to activate the context from another thread. Also: Use WM wrappers for activating/releasing OpenGL context, which have an additional assert check. Suggest to backport this for 2.83.1.
2020-06-25Fix T77853: Error reloading linked library.Bastien Montagne
Issue related to how ID refcounting was changed when loading blendfile data...
2020-06-02Revert "Fix T67577: Add-on unregister can't access preferences on factory reset"Campbell Barton
This reverts commit f18ed7ad890ee5c89fc6e6a22e76c732fb5fc1bc. Better leave the fix for 2.9 series.
2020-06-01Fix T67577: Add-on unregister can't access preferences on factory resetCampbell Barton
2020-05-29Blender: change bugfix release versioning from a/b/c to .1/.2/.3Brecht Van Lommel
The file subversion is no longer used in the Python API or user interface, and is now internal to Blender. User interface, Python API and file I/O metadata now use more consistent formatting for version numbers. Official releases use "2.83.0", "2.83.1", and releases under development use "2.90.0 Alpha", "2.90.0 Beta". Some Python add-ons may need to lower the Blender version in bl_info to (2, 83, 0) or (2, 90, 0) if they used a subversion number higher than 0. https://wiki.blender.org/wiki/Reference/Release_Notes/2.83/Python_API#Compatibility This change is in preparation of LTS releases, and also brings us more in line with semantic versioning. Fixes T76058. Differential Revision: https://developer.blender.org/D7748
2020-05-26Fix T76926: Crash with Full Screen file browser window preferenceJacques Lucke
Alternative fix for T75292 & T73579 (see b75ce05c3b0f), that does not cause this crash. The crash happened because cancelling the file browser removes its screen (as in bScreen). Before rBb75ce05c3b0f, the file browser event wouldn't be handled any further then. After it, it would still be passed to other areas, while the screen pointer was dangling. Now the event is only skipped for UI handlers. Reviewed by: Julian Eisel
2020-05-25VR: Fix big performance bottleneck for simple scenesJulian Eisel
Blender's main loop puts the main thread to sleep for 5ms if no user input was received from the OS. We never want that to happen while the VR session is running, which runs on the main thread too. For simpler scenes, where the viewport already draws fast, this may have quite some impact. E.g. in my tests, the classroom scene went from ~55 to quite stable 90 FPS in solid mode (total render time as measured and averaged by Windows Mixed Reality utilities). With Eevee, it only went from 41 to 47 FPS. In complex files, there's barely a difference. E.g. less than 1 FPS increase in a Spring file (both Solid mode and Eevee).
2020-05-25Fix T77031: Blender as pymodule crashes when renderingCampbell Barton
No longer enforce WITH_HEADLESS when building as a Python module as it disables GPU access which is needed for rendering.
2020-05-21Cleanup: add doxy sections for event queue handlingCampbell Barton
The main function to handle events didn't have it's own section.
2020-05-20Fix T76794: Number button cursor overrides eyedropper cursorCampbell Barton
Pressing 'E' over a number button to pick a distance was keeping left-right arrows instead of using the eye-dropper cursor. Workaround this by clearing the active button before setting the cursor.
2020-05-20Fix the current pixelsize impacting thumbnailsCampbell Barton
2020-05-19Fix T73169: Side by Side Stereo Rendering GlitchesJeroen Bakker
Side by side and top down views were rendered using an unset matrix. This fix will reset the matrix just before copying the views to the screen. Reviewed By: Clément Foucault, Dalai Felinto Differential Revision: https://developer.blender.org/D7777
2020-05-18Fix T75292: File-select events not handled while modal handler is activeJacques Lucke
Reviewers: Severin Differential Revision: https://developer.blender.org/D7720
2020-05-14UI: Fix Unreported missing background for azone arrowClément Foucault
This was caused by the sRGB viewport changes. The fix is to modify the alpha values manually. The shader was also missing a srgb fix.
2020-05-14Fix T76732: Error detecting modifier key clicksCampbell Barton
At the time of checking, the previous type isn't the last key pressed.
2020-05-14WM: include previous value, type in event printingCampbell Barton
2020-05-14Cleanup: sync clang-format with masterCampbell Barton
Avoid noisy diff's & conflicts.
2020-05-13Fix T76646: Crash when changing Size in Add Cube pop-up in some cases.Bastien Montagne
Remove resetting of ID uuid session counter, it is not really needed anymore, and not trivial to do this properly everytime. Thanks @brecht for investigating this.
2020-05-13Fix zero tablet pressure for simulated eventsCampbell Barton
Impacted sculpt/paint tests.
2020-05-13Fix T76320: Thread race condition on undo with prefetching enabledRichard Antalik
Stop prefetch jobs before undoing. Reviewed By: brecht Differential Revision: https://developer.blender.org/D7633
2020-05-08Fix T76484: Infinite event handling when loading with load_ui=FalseCampbell Barton
When loading a file from the Python console with load_ui=False, the event was never freed from the queue causing the command to continuously be executed.
2020-05-05Fix T76402: App templates prevent factory settings theme resetCampbell Barton
2020-05-05Fix T76318: lower part of new preferences window does not workBrecht Van Lommel
Regression after recent changes. The precise cause is unclear to me, but we do not need to update the size right after creating a new window.
2020-04-29Fix T71334: top part of render window disappears on repeated rendersBrecht Van Lommel
2020-04-27Fix T75736 Viewport update problem when switching between view layersClément Foucault
The problem comes from the fact by no data being modified when switching viewlayers. To follow what the external render engines do, we completely reset the viewport by freeing the GPUViewport to avoid any cached data from being kept.
2020-04-23Fix T75607: crash trying to sculpt while remesh is in progressBrecht Van Lommel
The interface is already locked, but the paint brush drawing could stll be reading the mesh that was being edited in another thread.
2020-04-18Fix: Build error on headless buildGary Oberbrunner
This simple patch removes an "UNUSED_VARS" macro referencing a variable which doesn't exist (r_unit_size). It only affects the headless build Differential Revision: https://developer.blender.org/D7464 Reviewed By: harley
2020-04-15UI: Avoid manual right-alignment of text in splash screenYevgeny Makarov
Can use existing layout features for right-alignment instead. Differential Revision: https://developer.blender.org/D6549 Reviewed by: William Reynish, Julian Eisel
2020-04-15UI: Round splash image corners according to theme preferencesYevgeny Makarov
Round the corners of the splash screen image according to the theme's User Interface > Menu Back > Roundness preference. Previously the rounding was added to the image itself, which was fiddly to do. The rounded corners of the popup background would not match the one of the image if the preference was changed. The current splash image will likely be updated to not include rounded corners in a separate commit. Differential Revision: https://developer.blender.org/D6847 Reviewed by: Julian Eisel (with some changes)
2020-04-15Resources: Remove small splash screen image variantJulian Eisel
After the previous commit by Harley Acheson, scaling can be handled at runtime so we don't need to have two splash screen image variants anymore. Also removes the `splash_scale.sh` script used to create the down-scaled variant. Always nice to get rid of some binary files from the repository :)
2020-04-15UI: Automatically scale splash screen imageHarley Acheson
Previously, there had to be two splash images to deal with different DPI settings and hiDPI screens. The larger version was simply downscaled in an external program for the small one. When up-scaled, the images would look rather badly. We now handle scaling completely at runtime. The results should look pretty much identical for most cases. When up-scaled it should look better though. New bundled splash images should have a width of 1000px or more (used to be 1002px). More details with screenshots and comparisons in D6999. Reviewed By: William Reynish, Julian Eisel Differential Revision: https://developer.blender.org/D6999
2020-04-14Fix T75535: Compositor backdrop gizmo dragging interrupts with nodePhilipp Oeser
mouse over Caused by rB5929dd7129f6. Above commit would reset the gizmo highlight on node mouseover. This would also assert in gizmo_rect_pivot_from_scale_part() and stop the drag. So now, only reset the gizmo when we are not in EVT_GIZMO_UPDATE, allowing for starting the tweak outside a node and then travelling 'inside' while still preventing to use it over a node when starting a tweak there. Maniphest Tasks: T75535 Differential Revision: https://developer.blender.org/D7383
2020-04-13VSE: Add sample toolRichard Antalik
This tool is set as default tool, so default action on click doesn't have pernament effect. Reviewed By: campbellbarton Differential Revision: D7064
2020-04-08Fix Windows Tablet API preference not being usedMiguel Pozo
It was sometimes set before reading preferences, now it's passed to GHOST every time preferences are read. Differential Revision: https://developer.blender.org/D5641
2020-04-08Fix status bar message showing saved when saving failedCampbell Barton
Resolves the following issues: - For the first time you save a .blend file, there was no feedback. - If the file fails to save (eg "No space left on device") the status bar message replaces the error with an invalid "Saved" message. While there is a popup, the user may cancel it with mouse motion and be left with the status bar message saying the file saved. D7371 by @XDroid with edits.
2020-04-08Debugging: change Undo/Redo redraw timer to include dependency graph updateBrecht Van Lommel
This is often the slowest part and was not counted before.
2020-04-07Cleanup: BLI_path.h function renamingCampbell Barton
Use BLI_path_ prefix, more consistent names: BLI_parent_dir -> BLI_path_parent_dir BLI_parent_dir_until_exists -> BLI_path_parent_dir_until_exists BLI_ensure_filename -> BLI_path_filename_ensure BLI_first_slash -> BLI_path_slash_find BLI_last_slash -> BLI_path_slash_rfind BLI_add_slash -> BLI_path_slash_ensure BLI_del_slash -> BLI_path_slash_rstrip BLI_path_native_slash -> BLI_path_slash_native Rename 'cleanup' to 'normalize', similar to Python's `os.path.normpath`. BLI_cleanup_path -> BLI_path_normalize BLI_cleanup_dir -> BLI_path_normalize_dir BLI_cleanup_unc -> BLI_path_normalize_unc BLI_cleanup_unc16 -> BLI_path_normalize_unc16 Clarify naming for extracting, creating numbered paths: BLI_stringenc -> BLI_path_sequence_encode BLI_stringdec -> BLI_path_sequence_decode Part of T74506 proposal.
2020-04-04Cleanup: Split up Window-Manager VR file (and related changes)Julian Eisel
Splits up wm_xr.c into multiple files in their own folder: source/blender/windowmanager/xr. So this matches how the message bus and gizmo code have their own folder and files. This allows better structuring and should make the code scale better. I rather do this early on than to wait until we end up with a single, huge file. Also improves a bit how data is prepared and updated for drawing.
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: Including "BLI_listbase.h" for LISTBASE_FOREACH macroDalai Felinto
These headers are not needed right away, but will be in the upcoming commit.
2020-04-03Cleanup: Rename ExtensionRNA variables from ext to rna_extJulian Eisel
Makes it more clear that code using this is related to the RNA integration of a type. Part of T74432. Also ran clang-format on affected files.
2020-04-03Cleanup: Rename bScreen variables from sc/scr to screenJulian Eisel
Part of T74432. Mostly a careful batch rename but had to do few smaller fixes. Also ran clang-format on affected files.
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-04-02Fix warnings caused by own earlier commitJulian Eisel
Caused by 34465a7fb091.
2020-04-02VR: Refactor DirectX context managementJulian Eisel
All DirectX management happens on Ghost level now, higher level code can just assume everything is OpenGL (except of the upside-down drawing that still needs to be done for DirectX). This is similar to how the metal-layer is hidden outside of Ghost. The Ghost-XR graphics binding for DirectX is responsible for managing the DirectX compatibility now.
2020-04-01Cleanup: use doxy sections for wm_draw.cCampbell Barton
2020-03-31Fix VR session toggle not changing reliably on session start/endJulian Eisel
The text and icon were supposed to change but didn't reliably, which was a race condition I think. It depended on how fast the OpenXR runtime would transition the session state. This also makes sure the correct notifier is sent on session exit.
2020-03-29Cleanup: spelling, commentsCampbell Barton