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-10-30Outliner: Remove "ID" from tooltipNathan Craddock
The concept of IDs shouldn't be exposed to the user.
2020-10-30Cleanup: parse '--thread' as part of ARG_PASS_ENVIRONMENTCampbell Barton
While this isn't needed at the moment, it's possible the animation player uses the scheduler in the future.
2020-10-30Text: support "Text to 3D Object" for read-only dataCampbell Barton
Add poll function for read-only text data, for operators that don't require the text to be editable.
2020-10-30Cleanup: Use an enum to set instanced panel expansionHans Goudey
This commit uses an enum to access expansion for specific panels for each modifier, constraint, etc. Even though these values are quite simple, this can help make the code more explicit when the ui_expand_flag is accessed directly. Also update comments about this bitfield to make them consistent.
2020-10-30Fix T82205: Curve Hooks not workingHans Goudey
Caused by my own cleanup commit rBa308607a5334. Just a simple copy-paste error. Here the difference between `curve` and `editnurb` makes quite a bit of difference.
2020-10-30Cleanup: Use doxygen sectionsHans Goudey
After the changes in D7997, this whole file will use doxygen sections.
2020-10-30GPencil: Fix compiler warningsAntonio Vazquez
These warnings were not vivible in MSVSC
2020-10-29GPencil: Improve join operatorAntonio Vazquez
Now the strokes join the points near, not always end with start. Differential Revision: https://developer.blender.org/D9359
2020-10-29Refactor: move Collection .blend I/O to IDTypeInfo callbacksJacques Lucke
This one was a bit more tricky, because the file loading is mixed with versioning code and because collections are embedded into scenes. All tests that passed before, still pass.
2020-10-29GPencil: Add interpolate operators in Draw modeAntonio Vazquez
Now the interpolate is available in draw mode (except the option of selected strokes). Differential Revision: https://developer.blender.org/D9325
2020-10-29Merge branch 'blender-v2.91-release'Kévin Dietrich
2020-10-29Fix T82129: Cycles "Persistent Images" incorrectly retains scene dataKévin Dietrich
The issue stems from the fact that scene arrays are not cleared when rendering is done. This was not really an issue before the introduction of the ownership system (rB429afe0c626a) as the id_map would recreate scene data arrays based on their new content. However, now that the id_maps do not have access to the scene data anymore the arrays are never created. Another related issue is that the BlenderSync instance is never freed when the persistent data option is activated. To fix this, we delete nodes created by the id_maps in their destructors, and delete the BlenderSync instance before creating a new one, so the id_maps destructors are actually called. Reviewed By: brecht Maniphest Tasks: T82129 Differential Revision: https://developer.blender.org/D9378
2020-10-29Merge branch 'blender-v2.91-release'Julian Eisel
2020-10-29Fix Zoom to Mouse Position ignored when zooming outJulian Eisel
Own mistake in rB3a1cf838ca09. Thanks to @jenkm for pointing this out.
2020-10-29Allow Trackpad Ctrl-Pan to Cycle Enum ValuesYevgeny Makarov
Allow Trackpad Ctrl-Pan to cycle enum values. Also allows cycling in more button types. Differential Revision: https://developer.blender.org/D8535 Reviewed by Brecht Van Lommel
2020-10-29Simplify and enable NanoVDB dependency installationPatrick Mours
Changes NanoVDB to be a standalone dependency that is independent of the OpenVDB one. It works by downloading the "feature/nanovdb" branch of OpenVDB, but using the NanoVDB CMake in the "nanovdb" subdirectory. Since it is header-only, only the install target is used. Reviewed By: brecht Differential Revision: https://developer.blender.org/D9383
2020-10-29Fix for T78211: Trackpad Zoom to Mouse Position ErrorYevgeny Makarov
When using a trackpad Zoom to Mouse Position would always zoom to center of canvas. Differential Revision: https://developer.blender.org/D8683 Reviewed by Brecht Van Lommel
2020-10-29Allow Building Without UI_PROP_DECORATEYevgeny Makarov
Allow project to build without definition of optional UI_PROP_DECORATE. Differential Revision: https://developer.blender.org/D8370 Reviewed by Julian Eisel
2020-10-29Cycles: abort rendering when --cycles-device not foundBrecht Van Lommel
Rather than just printing a message and falling back to the CPU. For render farms it's better to avoid a potentially slow render on the CPU if the intent was to render on the GPU. Ref T82193, D9086
2020-10-29BLI: use forwarding reference in MapJacques Lucke
The is necessary when Map.add_or_modify is called with callbacks that return a reference.
2020-10-29Cleanup: remove unused Blender Internal render stats codeBrecht Van Lommel
2020-10-29Anim UI: Playback Sync menu improvementSybren A. Stüvel
Relabel the Playback Synchronisation menu so that it's clear: - what does happen (instead of describing what does //not// happen), and - that the synchronisation options don't just affect audio. The changes are: - Change label from "Audio" to "Sync" - Change the labels of the sync enum: - No Sync → Play Every Frame - Frame Dropping stays the same - AV-sync → Sync to Audio The "Audio" label has moved one option down, as that option does actually relate to audio. Reviewed By: looch, Severin, HooglyBoogly, campbellbarton Differential Revision: https://developer.blender.org/D9269
2020-10-29Cleanup: spellingCampbell Barton
2020-10-29UI: use "Save As" when saving un-saved image/text filesYevgeny Makarov
Now the behaviors are consistent for blend, image and text files: - If the file is not writable, will report it. - If the file is new (without a path), save as will be used. - If the file was deleted, will try to recreate it. Ref D6755
2020-10-29Libmv: Fix clang inconsistent-missing-override warnings.Ivan Perevala
Reviewed By: sergey, ankitm Differential Revision: https://developer.blender.org/D9377
2020-10-29Merge branch 'blender-v2.91-release'Philipp Oeser
2020-10-29RNA properties subtypes enum: sync definitions everywherePhilipp Oeser
Some subtypes never made it to all neccessary places when they were introduced. This was throwing warnings when accessing such a properties subtype from python. The sub_type enums were also defined in 4 different places: - RNA_types.h 'PropertySubType' - rna_rna.c 'rna_enum_property_subtype_items' - rna_rna.c 'subtype_items' - bpy_props.c as multiple enums This patch syncs the definitions across all places so that they are the same everywhere. It also looks redundant to define these twice in rna_rna.c, now just use 'rna_enum_property_subtype_items' there (and get rid off 'subtype_items'). Also moved 'POWER' & 'TEMPERATURE' to number enum in bpy_props (these were defined in the array enum). Fixes T82167. Maniphest Tasks: T82167 Differential Revision: https://developer.blender.org/D9371
2020-10-29Fix T82188: Sculpt Grab Silhouette and symmetry failsPhilipp Oeser
Wasnt checking the symmetrized 'grab_delta_symmetry' so result could flip around. Maniphest Tasks: T82188 Differential Revision: https://developer.blender.org/D9373
2020-10-29Merge branch 'blender-v2.91-release'Philipp Oeser
2020-10-29CustomData color copying: use interpolated alphaPhilipp Oeser
The alpha of the first layer was always used here since introduction in rBee4453f08369 and was not updated when customdata support for alpha was added. Now also use the interpolated alpha. thx @brecht noticing! ref T81914 Reviewers: brecht, mont29 Maniphest Tasks: T81914 Differential Revision: https://developer.blender.org/D9358
2020-10-29Fix blend_color_interpolate_byte returning wrong alpha in certain casePhilipp Oeser
When the combined alpha [the 'tmp' variable having the mixfactor applied already] - reached zero it was handled like a no-op (for the alpha as well) and just copied the first color. So e.g mixing 255/255/255/255 with 0/0/0/0 with a factor of 1.0 gave alpha of 255, which looks wrong. cases where tmp gets zero: src1 alpha:0 src2 alpha:whatever mixfactor 0.0 src1 alpha:whatever src2 alpha:0 mixfactor 1.0 src1 alpha:0 src2 alpha:0 mixfactor whatever Now set alpha to zero in that case. ref T81914 Maniphest Tasks: T81914 Differential Revision: https://developer.blender.org/D9357
2020-10-29Merge branch 'blender-v2.91-release'Campbell Barton
2020-10-29Fix 3D smooth-view ignoring lens when exiting camera viewErik Abrahamsson
Add NULL checks for `sview->ofs`, while it's currently never NULL when a camera is set. The API allows for each member to be set independently.
2020-10-29Merge branch 'blender-v2.91-release'Campbell Barton
2020-10-29PyAPI: point sys.executable to the Python binaryCampbell Barton
`sys.executable` is documented to be a Python interpreter or None. This was set to Blender's executable which caused the multiprocessing module to spawn new instances of Blender instead of Python on WIN32. See issue described in D7815. Deprecate 'bpy.app.binary_path_python' & warn when using. Blender's executable remains accessible via `bpy.app.binary_path`. Modified 04c5471ceefb4, setting `sys.executable` instead of using Py_SetProgramName, which is needed for a bundled Python installation.
2020-10-29Fix for T65714: Pinch Zooming Crash using Mac TrackpadYevgeny Makarov
Ensure that Zoom does not crash on Mac Trackpad by checking for existence of Continuous Zoom timer. Differential Revision: https://developer.blender.org/D8682 Reviewed by Julian Eisel
2020-10-29UI: Improvements to Close File DialogYevgeny Makarov
Improved alignment of items on the File Close Dialog. Differential Revision: https://developer.blender.org/D6938 Reviewed by Hans Goudey
2020-10-29UI: Improved alignment of labels and buttonsYevgeny Makarov
Improved alignment of labels with other buttons. Differential Revision: https://developer.blender.org/D9058 Reviewed by Julian Eisel
2020-10-28Mesh: Fix BKE_mesh_translate changes referenced layerJacques Lucke
This is the same fix that is implemented in rB3791dbea1e79.
2020-10-28Animation: Improve labels on Snap menu in NLA & DopesheetAaron Carlisle
Add "Selection to" as prefix for those menu items that move the selected keyframes to something, for both the Key → Snap menu and the Shift+S pie menu. No functional changes. This was missed in rB477d983c2e8ab298cbf638d5aadd77fad9c2f677 Differential Revision: https://developer.blender.org/D9304
2020-10-28Outliner: Properties editor sync on selectionNathan Craddock
When outliner datablocks are selected, switch to the corresponding tab for that datablock in properties editors. Only properties editors that share an edge with the outliner will change tabs. Additionally, when modifiers, constraints, and shader effects are selected from the outliner, the panel will be expanded in all properties editors. Part of T77408 Manifest Task: https://developer.blender.org/T63991 Differential Revision: https://developer.blender.org/D8638
2020-10-28UI: Improved Checkbox Width CalculationYevgeny Makarov
Improved calculation of checkbox width to include line width preference. Differential Revision: https://developer.blender.org/D9025 Reviewed by Hans Goudey
2020-10-28UI: Misc Label and Description ChangesYevgeny Makarov
Various changes to some labels and descriptions to be more accurate, clear, or less confusing. Differential Revision: https://developer.blender.org/D8394 Reviewed by Hans Goudey
2020-10-28Cleanup: name parameters instead of commenting them.Ankit Meel
It generates warning C4138 in MSVC: > '*/' found outside of comment Old code added in {rBafd13710b897}
2020-10-28UI: Improve Text on 'Color Grid' ImageYevgeny Makarov
Change the sequence of characters shown on the 'Color Grid' generated image. Differential Revision: https://developer.blender.org/D8603 Reviewed by Hans Goudey
2020-10-28UI: Popover Position ChangeYevgeny Makarov
Move popover down a very slight amount to fix clipping of its arrow tip. Differential Revision: https://developer.blender.org/D9030 Reviewed by Julian Eisel
2020-10-28Merge branch 'blender-v2.91-release' into masterAnkit Meel
2020-10-28Revert "Fix T81077 id_management test on macOS"Ankit Meel
This reverts commit 2ddecfffc3d3a3a1db4ae45e8665caa2a85ab43a. The correct fix is to compile with -fno-strict-aliasing on release/relwithdebinfo builds also. See the last commit/ {D9372}. Maniphest Task T81077
2020-10-28macOS: use -fno-strict-aliasing for all build types.Ankit Meel
The old code was added in {rBbaa4a9c7d4dd} While the hotfix committed in {rB2ddecfffc3d3a3a1db4ae45e8665ca} fixed the id_management test, the correct reason was found at https://bugs.llvm.org/show_bug.cgi?id=47984 This matches the behavior on Linux.
2020-10-28GPencil: Change trace tooltip for ThresholdAntonio Vazquez