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
path: root/source
AgeCommit message (Collapse)Author
2020-09-25Modifiers: add icon field to ModifierTypeInfoJacques Lucke
With this change `outliner_draw.c` does not have to be edited anymore when a new modifier is added. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D8998
2020-09-25LibOverride: Fix some cleanup of unused override operations.Bastien Montagne
Handling of pointer replacements in collection items lead to validating all operations for a given property, when some might actually be no more valid and would need to be cleaned up. Related to T81059, found while investigating it.
2020-09-25LibOverride: Tweak messages when some sub-item is not found when applying ↵Bastien Montagne
overrides.
2020-09-25Fix T81126: Assert going to Texture Paint workspace without a UVMapJeroen Bakker
Assert happened as it could not create uv batches without an UVMap. Solution is to only request those batches when the UVMaps are available.
2020-09-25LibOverride: Silence some more asserts.Bastien Montagne
Print out messages into console instead when se cannot find expected data (this is actually normal when source library gets edited). Note that there seems to be some issue with the 'auto-cleanup' mechanism removing no more valid override rules on file save, will check on that next. Related to T81059, found while investigating it.
2020-09-25Cleanup: SpaceGraph ED code: use boolean litterals when needed.Bastien Montagne
2020-09-25Fix T81157: Eevee MotionBlur steps setting make ao pass darkerJeroen Bakker
Issue introduced by 68651534c263 due to an incorrect merge/rebase It was resetting the AO buffer every time the time step happened.
2020-09-25Fix T81155: Keyframe.select_control_point True when unselectedCampbell Barton
Check the selection flag since BEZT_FLAG_TEMP_TAG might be set.
2020-09-25Object: Move Switch Active Objects to experimentalPablo Dobarro
The operator has some problems with Undo, so better put it in experimental for now. Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D9007
2020-09-24Cleanup: Move function to proper sectionHans Goudey
The main panel drawing funciton should be in the "Drawing" section.
2020-09-24Cleanup: Remove unused functionHans Goudey
2020-09-24Fix part of asserts in LibOverride when resynching.Bastien Montagne
We can only re-apply overrides fron the old local overrides to the newly generated ones after all IDs have been properly remapped and renamed. Otherwise override operations based on ID names may fail. Related to T81059, found while investigating it.
2020-09-24Fix LibOverride Resync generating orphaned data-blocks.Bastien Montagne
Part of the code handling deletion of old, not needed anymore local override IDs, was not working properly, effectively only deleting one ID ever. New code should also be a bit faster, though this should not be really visible from user perspective. Related to T81059, found while investigating it.
2020-09-24Fix (unreported) memory leak in Extrude mode of the Solidify modifier.Bastien Montagne
2020-09-24Weld Modifier: Use KD Tree in detecting the geometry to be weldedHenrik Dick
This commit replaces the BVH Tree currently used by the Weld Modifier with the KD Tree used by `Merge > By Distance`. This changes the result of the Weld Modifier to more closely match `Merge > By Distance`. There is also a big performance advantage. Here is an overview (models in D8995): | 2.90 (Duplicate Limit = 0) | 2.90 (Duplicate Limit = 1) | master (BVH) (Duplicate Limit = 1) | patch (KD) | | 1.69s| 0.17s | 0.12s | 0.029s | Differential Revision: https://developer.blender.org/D8995
2020-09-24Cleanup: Remove unecessary storage of search filter in uiBlockHans Goudey
Since the search is applied all in one phase, there is no need to store a reference to the search filter in every uiBlock. Instead just pass it as an argument to UI_block_apply_search_filter.
2020-09-24Fix crash related to liboverride differential operations code.Bastien Montagne
Root of the issue is how we generate the storage ID for the differential override operations. However, since those are disabled anyway currently, simply comment out creation of this copy for now, we can revisit this if/when we decide to re-activate differential overrides. Related to T81059, found while investigating it.
2020-09-24LibOverride: Do not assert when failing to apply an override rule.Bastien Montagne
This is actually fairly common issue if lib data changes, just print out an info message about it for now.
2020-09-24Cleanup: Break early in normal validationSebastian Parborg
Before we would continue checking normal array values even if we knew that the normal array would be conidered valid. Break early to avoid excess iterations and make the code more clear what it is doing. No functional changes.
2020-09-24Fix normal computation in opensubdiv when surface derivates are the sameSebastian Parborg
In very rare occations, the returned derivates would be the same. This would lead to the normal calculation breaking (zero normals). Solution: Add this edge case to the other corner case checks. Reviewed By: Sergey
2020-09-24Fix T80424: Image not scaled when renderingRichard Antalik
This is was caused by incorrectly set `preview_render_size` in VSE rendering context. Value was set to `SEQ_PROXY_RENDER_SIZE_FULL`, but it should be `SEQ_PROXY_RENDER_SIZE_SCENE` as scene render size is being used. Alternatively we can check for `context->for_render` in `input_preprocess()`, but I think fix above is more correct. Reviewed By: sergey, brecht Maniphest Tasks: T80424 Differential Revision: https://developer.blender.org/D8838
2020-09-24Fix T80874: Actions inside NLA Strips are not copied to buffer/appendSybren A. Stüvel
Restore NLA Action expansion code that was accidentally removed in rBbed634c4f96.
2020-09-24Fix T81096, T81127: Errors with the typed value for x-axis constrainGermano Cavalcante
`applyNumInput` does not write all axis values and does not consider the orientation.
2020-09-24Fix T80708: FCurve modifiers change behavior after editing NLA clipSybren A. Stüvel
Tag an Action for recalculating animation when it's pushed down onto the NLA stack, as its effective boundaries change. Normally an Action spans all of the timeline, and the effects of Cycle modifiers are visible everywhere. When the Action is converted to an NLA clip, the modifier's effect should only be visible for the duration of the NLA clip.
2020-09-24NLA: remove tagging copy-on-write when tagging recalc-animationSybren A. Stüvel
Remove `ID_RECALC_COPY_ON_WRITE` when tagging `ID_RECALC_ANIMATION`; the former is unnecessary when using the latter. No functional changes.
2020-09-24Cleanup: NLA, refactor condition, use early returnSybren A. Stüvel
Simplify code by replacing `if (strip) { everything; }` with `if (strip == NULL) { return; }`. No functional changes.
2020-09-24Fix T80727: Drivers: deleting all keyframes leaves an uneditable f-curve.Bastien Montagne
A NULL bezier pointer does not mean that the fcurve is not editable, it only is if it actually has some baked sample points too.
2020-09-24Fix (unreported) Smart UV Project not adding UVMapPhilipp Oeser
Since porting this to C in rB850234c1b10a, Smart UV Project would not add a UVMap (if none existed already) anymore. Not having a UVMap already is a reasonable situation though when e.g. starting off fresh by deleting an existing UVMap or also when applying certain generative modifiers. This is also inconsistent with all other unwrap operators (all of them will create a UVMap if none exists already) Differential Revision: https://developer.blender.org/D9001
2020-09-24Move license files to license subfolderDalai Felinto
For the final builds instead of leaving all the license files in the main folder, we move them to a "license" folder. Also, adding more licenses here (MIT, Apache, ...). Differential Revision: https://developer.blender.org/D8999
2020-09-24Fix: add radius attribute in simulation modifierJacques Lucke
This is necessary to not make it crash immediatly after recent changes.
2020-09-24Cleanup: spellingCampbell Barton
2020-09-24Property Search: Fix matches in headers not used for expansionHans Goudey
Setting the search match flag every time property search runs can invalidate the results for panel headers. Instead, clear the flag on every redraw and or the result of every search in the panel to it.
2020-09-23Fluid: Fix clang-tidy errorSebastián Barschkis
Issue was introduced in rB8d1123ba220b.
2020-09-23Fix incorrect comparison for panel sortingHans Goudey
"Reported" by Valentin (Poulpator).
2020-09-23UI: Clarify curve geometry factor and mapping tooltipsHans Goudey
The "bevel_factor" for curves also applies when there is no bevel and only extrusion. rB4e667ecef92f addressed this by moving the factor and mapping properties to their own subpanel, but the property descriptions still don't reflect that. This commit replaces "Bevel" with "Geometry" for this situation. The property identifiers are not changed.
2020-09-23Fix T81057: PoseBone Constraints are displayed in Object Constraints tabPhilipp Oeser
Own mistake in rB9dcae4eb17d7b. We cannot use ED_object_constraint_active_list in uiTemplateConstraints since it is dependent on mode (pose vs. object). Now get object constraints directly when use_bone_constraints is false. Note: unfortunately a derivate of this bug has made its way into 2.90.1 Maniphest Tasks: T81057 Differential Revision: https://developer.blender.org/D8989
2020-09-23Fix T80833: Fluid Initial Velocity 'Source' incorrect when enabling InflowSebastián Barschkis
Do not escape flow / effector objects if they have a disabled use flow / use effector flag. Vertex velocities still need to be kept track of in order to have correct object velocities when enabling flows / effectors intermittenly. It is possible though to skip the emission loop if the flags are disabled.
2020-09-23Missed in last commitGermano Cavalcante
It is necessary to confirm the constrian.
2020-09-23Fix T81069: Can't lock axis with move anymore, using Shift+MMBGermano Cavalcante
This fixes and reverts commit c7287ffaec59cecd4b63b4bb2ea1aaf44f09f704 Due to hardcodded keys, the modifier for auto contrain plane did not work with custom keymaps and was in conflict with other keyitems. Its usability is also confusing since it cannot be used without `MOD_PRECISION` But instead of removing it, it is better to make this modifier compatible with custom keymaps and keep the conflict.
2020-09-23Cleanup: remove dead code in point cache and openvdb wrapperJacques Lucke
Reviewers: brecht Differential Revision: https://developer.blender.org/D8988
2020-09-23Cleanup: remove last uses of WITH_SMOKEJacques Lucke
2020-09-23Cleanup: remove smoke code from pointcacheJacques Lucke
This code is not used by the new fluid simulation system. Therefore, it does not make sense to keep it around. We do want to integrate the fluid system with the generic cache system eventually, but refactoring the system is easier when there is less dead code that has to be refactored. Note, I could not remove BKE_ptcache_id_from_smoke entirely yet, because the depsgraph seems to expect that object that uses DEG_add_collision_relations also has a pointcache. That is because it wants to reset the point cache when any of the other objects changed (this does not work with fluids currently). Reviewers: sebbas Differential Revision: https://developer.blender.org/D8987
2020-09-23LibOverride: Add operator to convert a proxy object into an override.Bastien Montagne
In the end the process is surpringly simple, we only need to manually convert the proxy itself into an override (which is trivial), and then run common code with the default 'make override' operation. Fix T81059: Add operator to convert proxies to library overrides.
2020-09-23Fix (unreported) LibOverride: RNA asserts when applying overrides.Bastien Montagne
Some RNA setters require ID data they operate on to be in G_MAIN. Unfortunately, when we apply overrides as part of a .blend file reading, new Main is not yet made global one, so we have to do it temporarily here. This is a fairly ugly hack, but it should be harmless and safe.
2020-09-23LibOverride: Tweak override creation code.Bastien Montagne
This is a first step towards supporting conversion of proxies, done separately to make it easy to pinpoint in case it would create problems. It is not expected to cause any change in behavior currently.
2020-09-23Cleanup: remove 'r_' prefix for variablesCampbell Barton
This is for return arguments, also remove redundant NULL check.
2020-09-23Fix T73858: Gizmo.use_draw_scale doesn't work as expectedCampbell Barton
2020-09-23Fix T68024: Crash from missing original-index mesh layerCampbell Barton
Constructive modifiers were not initializing an original index layer in the case a previous deform modifier created 'mesh_final'. This happened in the case of multiple deform modifiers that deform along normals, as requesting normals caused the final mesh to be created. Ensure mapping data is created in the case only non-constructive modifiers have run.
2020-09-23Cleanup: re-order constructive modifier checksCampbell Barton
Minor changes to simplify fix (coming next), no functional changes.
2020-09-23Fix outliner collection icon in light themeNathan Craddock
Ensure the theme colors are used for the collection icon when there are no color tags present, otherwise it draws completely black.