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-09-28warning when compiled without openvdbmesh-to-volume-modifierJacques Lucke
2020-09-28only allow mesh objects for nowJacques Lucke
2020-09-28add todo commentJacques Lucke
2020-09-28cleanupJacques Lucke
2020-09-28cleanupJacques Lucke
2020-09-28remove different modesJacques Lucke
2020-09-28Merge branch 'master' into mesh-to-volume-modifierJacques Lucke
2020-09-28Fix T81214: Crash on Action constraint without actionSybren A. Stüvel
A `NULL` pointer check was missing.
2020-09-28Cleanup: animation, simplify `anim_flush_channel_setting_up()`Sybren A. Stüvel
Simplify `anim_flush_channel_setting_up()` by flipping conditions and returning early. This makes it easier to understand what is actually happening in the code. No functional changes.
2020-09-28Cleanup: animation, split up ANIM_flush_setting_anim_channels()Sybren A. Stüvel
Split up `ANIM_flush_setting_anim_channels()` into smaller functions. This makes it easier to understand how it works, and makes future improvements also easier. No functional changes.
2020-09-28Fix typo in UI messages.Bastien Montagne
2020-09-28Fix T79275: Missing redraw for pinned active tool settings panelsDavid Friedli
In the 3D view sidebar, the active tool settings panel can be pinned to other categories, and in those other categories it doesn't redraw when the active tool changes. This commit checks for pinned panels from the "Tool" category when checking whether to redraw. Note that the relatively expensive string comparison is only done for currently visible pinned panels. Differential Revision: https://developer.blender.org/D9012
2020-09-26Sculpt: Line gestures and Mask Line toolPablo Dobarro
This adds support for line gesture to SculptGestureContext and implements a Mask Line tool, which affects everything to the right of a plane defined by the straightline gesture. For this to work, a new WM_gesture_straightline_oneshot_modal is needed which only runs exec when the gesture is over. Added as experimental as it does not have icon. Reviewed By: Severin Differential Revision: https://developer.blender.org/D8722
2020-09-26Fix Face Set overlay rendering wrong color with modifiersPablo Dobarro
face_set_color_default was not copied when copying meshes, so when extracting the colors in the draw cache it was using a wrong default color ID. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8957
2020-09-26Fix T81205: Grease pencil material slots don't auto-erase void slots above ↵Antonio Vazquez
the first material
2020-09-26Fix T81168: 2.8x Crash when loading 2.79 file.Bastien Montagne
Object in the 2.7x file is on no layer at all, while this is not really expected nor considered valid, better to cope with the case gracefully than crash. To be backported to 2.90 and 2.83.
2020-09-25Cleanup: Use canonical variable nameHans Goudey
2020-09-25Cleanup: Decrease indentation by returning earlyHans Goudey
Where the if statement was just a check for an error or an unhandled condition and there are no else statements, the rest of the function doesn't need to be indented.
2020-09-25Cleanup: Declare variables where initialized, lower scopeHans Goudey
Also use "r_" prefix for return arguments in a few places.
2020-09-25Fix Tests for Weld Modifier with KD-TreeHenrik Dick
Fixes the failing tests and reintroduces the KD-Tree solution. Reviewed By: mano-wii Differential Revision: https://developer.blender.org/D9013
2020-09-25LibOverride: Cleanup: reserve debug messages to debug builds.Bastien Montagne
2020-09-25LibOverride: Better handling of cleanup of 'insert' operations in collections.Bastien Montagne
Before, it might have been possible in some cases (when there were no items at all anymore in the collection) to miss that cleanup step, leaving ghost useless and invalid operations around.
2020-09-25Fix T78343: Most properties of Ocean modifier should not be animatable.Bastien Montagne
Properties that are only used when initializing the simulation cannot be animated (the changes in their value would not be taken into account).
2020-09-25LibOverride: Tweak messages when some sub-item is not found when applying ↵Bastien Montagne
overrides.
2020-09-25Fix T81161: Bad properties context panel placement loading old filesHans Goudey
These breadcrumbs used to be a panel in 2.79 and 2.80 development. If a file was saved in those versions, and the panels rearranged in a version that didn't have this panel, its sortorder would be changed even though it wasn't visible or even used in that version. A simple fix is to use a new ID name for the new version of this panel in 2.91. "Buttons" is an old name anyway.
2020-09-25Cleanup: Miscellaneous code improvementsHans Goudey
- Declare variables where initialized - Return early in some cases - Use "i" as an iteration index variable - Use bool instead of int where applicable
2020-09-25Fix constrain plane not being set in tranform codeGermano Cavalcante
Error introduced in rB388b9162469650c
2020-09-25UI: Improve curve geometry property tooltipsHans Goudey
These tooltips mostly just repeated the property names, which is not helpful at all. Changing that leaves space to be much more specific about what the properties actually do. Differential Revision: https://developer.blender.org/D8994
2020-09-25Cleanup: silence [-Wshadow] warningsGermano Cavalcante
Introduced in rBd5a6b3b18c5d.
2020-09-25Fix T80937: Changing the contrain axis does not return to the scene orientationGermano Cavalcante
This was the behavior in old versions of blender. During a transformation operation, when pressing a contrain key, the chosen orientation is that of the scene. If you press the same key, the orientation changes to Global or Local. However, if you choose another contrain axis with the orientation changed, the orientation does not return to the set for the scene. It remains Global or Local. Now when changing a contrain axis, no matter what the current orientation is, it always returns to the scene orientation.
2020-09-25Weld Modifier: Disable the KD Tree solutionGermano Cavalcante
This solution is causing the modifier regression test to fail. Also fix a mistake to allocate `vert_dest_map` twice.
2020-09-25Animation: set Action `idroot` at assignment instead of just at evaluationSybren A. Stüvel
Actions are either locked to a specific ID type, or "floating". Actions in the floating state are now locked when they are assigned to an ID block. Previously (rB94b99b5d4a7c20cf2) this was done at evaluation time, which caused various problems: - The ID type was set on the evaluated copy, and inconsistently flushed back to the original. - A newly created Action could not be assigned to an Action constraint, unless a depsgraph evaluation was be forced first. This is now resolved by calling `BKE_animdata_set_action()` to set the action (instead of direct assignment) where possible, and calling `BKE_animdata_action_ensure_idroot()` otherwise. Manifest Task: https://developer.blender.org/T80986
2020-09-25Cleanup: animation, reduce complexity of RNA update functionSybren A. Stüvel
Reduce complexity of `rna_SpaceDopeSheetEditor_action_update()` by flipping conditions and returning early. The depsgraph tagging has slightly changed, in that the depsgraph is not tagged at all when there is no actual animation data added. I still see this as a non-functional change, though, as in that case nothing changed and tagging and re-evaluating wouldn't make any actual difference. No functional changes.
2020-09-25Cleanup: animation, remove commented-out codeSybren A. Stüvel
The code was commented out in rB6307c65534f6d5cf29d08220cea0dbcca9a0e118, 11 years ago. No functional changes.
2020-09-25Cleanup: animation, deduplicate "can edit action" logicSybren A. Stüvel
Move "action editable" check from RNA code to Blender kernel `BKE_animdata_action_editable()`. No functional changes.
2020-09-25Cleanup: document and simplify `BKE_animdata_set_action()`Sybren A. Stüvel
Simplify `BKE_animdata_set_action()` by flipping some conditions and using early returns, and document which parameters can be `NULL`. No functional changes.
2020-09-25Fix T80998: DDS Image files are not displayed correctlyJeroen Bakker
Blender 2.91 only. Due to recent refactoring the compressed texture formats missed the conversion to its GL counterpart.
2020-09-25Merge branch 'master' into mesh-to-volume-modifierJacques Lucke
2020-09-25Modifiers: add StructRNA pointer field to ModifierTypeInfoJacques Lucke
This reduces the number of places that have to be modified when a new modifier is added. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D9000
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-25cleanup and commentsJacques Lucke
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.