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
2019-04-10Keyframing: add operators that use keying-set ID'sCampbell Barton
Unfortunately we can't use insert/delete_keyframe operators in keymaps because the enums aren't known at the time of keymap registration and the keying sets are dynamic and use a poll function. Add a version of insert/delete operators that takes a string instead of an enum. Needed for D4626. Also extract int to keying-set into a utility function.
2019-04-10Fix T63455: Legacy GPencil settings in AnnotationsAntonioya
2019-04-10Cleanup: rename old -> versioningCampbell Barton
The term 'old' isn't very meaningful, follow naming for existing code that updates data.
2019-04-10Cleanup: spellingCampbell Barton
2019-04-10Cleanup: style, shadow warningCampbell Barton
2019-04-09Fix T63427: Annotations don'twork with 2.79 settingsAntonioya
The problem was the colors were not converted and the annotation flag was not enabled. Note: For Scene data (View3D) there is a convert operator.
2019-04-09Cleanup: Use higher level functionSergey Sharybin
This kind of abstracts OpenGL details, and this is what is used in other areas as well.
2019-04-09Cleanup: spellingCampbell Barton
2019-04-09Image draw: Fix/workaround image corruption on drawSergey Sharybin
Was mainly visible with high-res image. Not entirely clear why it is only happening on macOS. While the entire function should be re-written to make float images displayed faster, still nice to fix the drawing. Reviewers: fclem Reviewed By: fclem Differential Revision: https://developer.blender.org/D4664
2019-04-09Fix T62114: Wireframe mode selection: selects backside objects when clicking ↵Sebastian Parborg
frontside object in 3d-window Now the depth order of objects when trying to select them is only used when not in X-ray mode. Before, this was only the case in wireframe mode regardless of X-ray settings. I've also unified the usage of V3D_XRAY and XRAY_FLAG as they were basically copies of each other. Reviewed By: Clément Differential Revision: http://developer.blender.org/D4504
2019-04-09Cleanup: BKE_gpencil namingCampbell Barton
- The ambiguous term 'handle' was used where 'ensure' is typically used (get or add when missing). - Rename `current` to `active`, all `current` functions which were also ensuring. - Clarify what is being operated on, using `BKE_gpencil_object_*` for objects, `BKE_gpencil_brush_*` for brushes.
2019-04-09Cleanup: styleCampbell Barton
2019-04-08Fix T60821: highlighting issues in Dope SheetPhilipp Oeser
replaced check for (obsolete in 2.8) objects 'SELECT' flag with check for bases 'BASE_SELECTED' flag Reviewers: brecht Maniphest Tasks: T60821 Differential Revision: https://developer.blender.org/D4606
2019-04-08GPencil: Mark Object gpd field as DeprecatedAntonioya
This field is only used to read old files, but it's not used anymore, so it's better mark as deprecated to avoid wrong uses.
2019-04-08Fix T63340: Transform Snap Object: Simulate occlusion only when ↵mano-wii
`use_occlusion_test` is true. And cleanup.
2019-04-08cleanup: typo in commentPhilipp Oeser
2019-04-08GPencil: Cleanup unused codeAntonioya
2019-04-07GPencil: Set layer channel custom color to all line in DopesheetAntonioya
See D4645 for more details
2019-04-05Cleanup: Fix compiler warningAntonioya
2019-04-05Fix T63281: Drivers inside nodegroups inside nodegroups don't show up in ↵Sebastian Parborg
Driver Editor Recurse into node groups when looking for drivers. Reviewed By: Brecht Differential Revision: http://developer.blender.org/D4653
2019-04-05Interface: New region type 'Footer', used by text editorGeorge Vogiatzis
* It can be hidden by dragging it up/down. * It can be at the top or bottom, independent of the header. * It uses the color theme from the header. * It does not change its color, when the area becomes active. Currently, it is used in the text editor to display the file path. Differential Revision: https://developer.blender.org/D4601
2019-04-05GPencil: Improve drawing feeling in big filesAntonioya
When drawing in big files, the first points of the stroke were not smooth because the system was doing a copy of the depsgraph datablock. Now, the depsgraph is not updated at the beginning and the feeling is far better, especially for big files. To avoid the copy, the original datablock is used while drawing, because it's faster the lookup of the original data, than a full datablock copy. Also some cleanup of the code.
2019-04-04Fix T63252: Bind in Mesh Deform Modifier failsSergey Sharybin
A regression since 64c8d72ef1ad. The solution is to force modifier evaluation for an evaluated object, and let it to copy binding data back to original when is being evaluated for binding. Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D4642
2019-04-04Separation lines for Quad ViewHarley Acheson
Reviewers: brecht, billreynish, fclem Reviewed By: billreynish, fclem Differential Revision: https://developer.blender.org/D4633
2019-04-04Cleanup: styleCampbell Barton
2019-04-03Fix T62939: Incorrect cursor position when exiting UI sliderVictor Seiji Hariki
Differential Revision: https://developer.blender.org/D4629
2019-04-03UI: Fix odd behavior in region sizing, simplify codeGeorge Vogiatzis
* When resizing sidebars, don't collapse when the region becomes too big but instead clamp the region size to the available space. * Fix clicking the tab to expand sidebars no working if the sidebar is too wide to fit. Instead make it less wide so it does fit. * Fix incorrect limit on tool properties region height, for example in the file browser. Differential Revision: https://developer.blender.org/D4611
2019-04-03GPencil: Implement custom channel color in DopesheetAntonioya
A new parameter in the layer adjustment panel allows to define the color of the channel in Dopesheet. This is needed when there are a lot of layers. See D4623 for more details.
2019-04-02Fix T63220: Cannot make object single user after Duplicate Scene with Link ↵Bastien Montagne
Object Data. Caused by own recent rB17c15798c35f33e (already a fix in that code). We cannot erase immediately master_collection's childrn list, as it is used in sub-code to check in how many scenes an object is instanciated. Further more, we only want to do the remove old/add new children collections in case we are actually duplicating them. Makes me even more eager to nuke that whole piece of code and rethink from scratch that kind of ID handling. Some day...
2019-04-02Merge branch 'blender2.7'Sergey Sharybin
2019-04-02Constraints: Use RNA update instead of block updateSergey Sharybin
Allows to have more control over which tags are done for which properties. This is a part of T62960 which fixes the issue in the 2.7 series.
2019-04-02UI: Collapsed nodes have the same width as uncollapsed nodesRobert Guetzkow
Fixes T63079. Differential Revision: https://developer.blender.org/D4617
2019-04-02Fix T62970: Scene Copy: remove 'linked objects/obdata', add 'linked ↵Bastien Montagne
collections'. 'Linked objects' option was not behaving correctly before, effectively linking in collections, so this one has been renamed to just 'Linked Copy', and gives a fully shallow copy of current scene. 'Linked Obdata' was not really useful, kind of confusing, and was painful to maintain, so dropping it now.
2019-04-02Cleanup: Fix compiler warningAntonioya
2019-04-02Fix T63120 Select random in particle edit mode is brokenSebastian Parborg
Fix coding snafu where the variable keeping track of changes only took the state of the last element into account.
2019-04-02Fix T60199: Icon Viewer addon causes internal errors and slows text editorPhilipp Oeser
this just removes unused icon definitions [for which no icons exist anymore] Reviewers: billreynish, brecht Maniphest Tasks: T60199 Differential Revision: https://developer.blender.org/D4628
2019-04-02Cleanup: empty expression statement warningCampbell Barton
2019-04-01Fix T63101: Blender crashes on adding any object to collection duplicated ↵Bastien Montagne
with added scene. Issue was that (deep) duplication code of scene ended up leaving children collections of new master one without any parent. Note that even though I think that fix is OK for now, we should really make 'deep' duplication of IDs part of the generic ID management code. Am less and less happy with current handling of this, done half from /editors code, half from some semi-specialized helpers from /blenkernel, with sometimes nearly the same logic replicated several times for slightly different needs, etc. Unfortunately this would not be a small refactor, so it will have to wait...
2019-04-01Edit Mesh Selection: Clear out buffer that indicates out of bounds pixels.mano-wii
This prevents the use of uninitialized buffer. In addition, use `memset` instead of assigning in a loop.
2019-04-01GPencil: Handle vertex groups weights correctlyAntonioya
In extrude operator when the point was added, the weight data pointer was wrongly connected to old pointer. Now, when move the data, the pointer is moved, but when a new point is added, the memory is duplicated to keep separated copies of the pointer. This is related T62872 Thanks to @sergey for his help fixing this bug.
2019-04-01Cleanup: SpellingSergey Sharybin
2019-04-01Modifiers: Proper fix for the Apply ModifierSergey Sharybin
It is up to the operator to pass valid object to the modifiers evaluation. Fixes T62916: Applying boolean modifier does not set materials properly
2019-04-01Remove evaluated RNA pointer lookup in interfaceSergey Sharybin
Since there is a flush of evaluated values back to the original for an active dependency graph we don't need this lookup anymore. Not only it slows interface drawing down, but also is becoming in a way of the upcoming fix.
2019-04-01Fix T63169: 'Duplicate Current' entry in new workspace menu is not translated.Bastien Montagne
2019-04-01GPencil: Redesign soft eraser logicAntonioya
The old logic was working if the eraser was moved towards the end of the stroke, but got ugly results when the eraser was done towards the start of the stroke.
2019-04-01GPencil: Remove low limit for soft eraserAntonioya
The low limit was not needed in the loop.
2019-04-01Fix T62996Richard Antalik
Reviewers Brecht Van Lommel (brecht) Clément Foucault (fclem) Differential revision: https://developer.blender.org/D4618
2019-03-30Fix T63137: crash pressing enter to confirm menu, after recent changes.Brecht Van Lommel
2019-03-30GPencil: Fix segment fault when use F3 search menu.Author Name
Author of the patch: Robert Guetzkow (@rjg)
2019-03-30GPencil: Improve soft eraser for low pressure strokesAntonioya
For very thin strokes with low pressure, the low limit value was too high.