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-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: 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-09Fix T63326: absolute shape keys inserted from Python in wrong order.Arno Mayrhofer
2019-04-08Fix T63386: text editor footer added multiple times.George Vogiatzis
Differential Revision: https://developer.blender.org/D4663
2019-04-08Fix T63399: Obj exporter does not respect "Apply Modifiers" settingsSergey Sharybin
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-05Fix T63283: Second subdivision modifier does not ignore creaseSergey Sharybin
This is something where there is no single correct behavior, sometimes it's needed to ignore the crease to make mesh more smooth. But sometimes crease is to be considered after first subdivision surface: for example, when adding extra subdivisions for render-time displacement. Made it an option whether modifier needs to take crease into account or not. Existing files should be openable in the 2.7 compatible way, to re-create an old behavior the options is to be manually disabled in the modifier settings. Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D4652
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-05Cleanup: SpellingSergey Sharybin
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-04Fix T63276: crash deleting object with alembic constraint.Brecht Van Lommel
2019-04-04Cleanup: remove B-Bone shape pointers from bPoseChanDeform.Alexander Gavrilov
They are pointless copies from pchan->runtime by now.
2019-04-03Fix T63257: Grease Pencil renders incorrectly when in edit-modeAntonioya
2019-04-03Fix T63217: Curve Modifier skipped in CyclesSergey Sharybin
Only mesh objects have all modifiers applied on the evaluated object's data, other object types are to apply modifiers during the conversion process.
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-02Cleanup: Scene Copy: remove scene's camera remapping in core func.Bastien Montagne
This is useless at that point, since no object has been duplicated yet...
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: remove DNA_PRIVATE_WORKSPACE hacks.Brecht Van Lommel
This is just not practical to do for the code as a whole, and having it as an exception for one specific data structure is not that helpful. This has only been in the way for me when refactoring code.
2019-04-02Cleanup: empty expression statement warningCampbell Barton
2019-04-01Tweak behavior of object.to_mesh()Sergey Sharybin
- Passing original object with apply_modifiers=false will give a non-modified non-deformed mesh. The result mesh will point to datablocks from the original "domain". For example, materials will be original. - Passing original object with apply_modifiers=true will give a mesh which has all modifiers applied. The result mesh will point to datablocks from the original "domain". For example, materials will be original. - Passing evaluated object will ignore apply_modifiers argument, and the result always contains all modifiers applied. The result mesh will point to an evaluated datablocks. For example, materials will be an evaluated IDs from the dependency graph. Fixes T62916: Applying boolean modifier does not set material properly Differential Revision: https://developer.blender.org/D4604
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-03-31Fix: Buffer overflow in StudioLightRay Molenkamp
sl->light_ambient is a float[3], copy_v4_fl4 overwrites sl->free_function with a bogus pointer on 32 bit.
2019-03-30Cleanup: remove unused modifier methods.Brecht Van Lommel
2019-03-29Cleanup: styleCampbell Barton
2019-03-29Eevee: Material: Decouple transparent shadows from blend modeClément Foucault
This makes it easier to exclude a surface from casting shadows and can be used to manipulate the shadows even for opaque surfaces. Versionning ensure that old behavior is transfered to new rendering logic.
2019-03-29Fix T63042: Grease pencil and armature will sometimes copy successfully ↵Bastien Montagne
because of the put in Collection order, sometimes fail. Remove remapping to new IDs from `BKE_object_duplicate()` itself, doing it here will break later remapping done after all desired objects have been duplicated, preventing complete remap of ID pointers used in obdata and other sub-data of duplicated objects. Checked, the only two usages of this function were already doing separated later step for this anyway.
2019-03-29Cleanup: BKE_object_duplicate.Bastien Montagne
Comments, code consistency, remove disabled code...
2019-03-29Cleanup: Fix comment.Bastien Montagne
2019-03-29Fix T63075: edit mode crash with deforming modifiers, after recent changes.Brecht Van Lommel
2019-03-28UI: tweak display of report messages in the status bar.Nathan Craddock
Remove fading away the color, share theme colors with info editor. Differential Revision: https://developer.blender.org/D4197
2019-03-28Fix part of T60735: invalid CD_ORIGINDEX data in some modifier stack ↵Brecht Van Lommel
evaluations. BKE_mesh_new_nomain automatically added a CD_ORIGINDEX layer initialized to 0, which was never filled in correctly. In 2.7 the equivalent function used to modify the source derivedmesh and add valid original indices to it, but this is no longer possible in the new design and was quite unpredictable anyway. Now instead rely on mesh_calc_modifiers and the depsgraph to determine when CD_ORIGINDEX should be added.
2019-03-28Fix T60735: Cycles render hangs with vertex instancing.Brecht Van Lommel
This should not use the original index as a unique instance index, with for example an array modifier the same original index may be used multiple times.
2019-03-28Cleanup: better naming, comments, variable scoping in mesh_calc_modifiers.Brecht Van Lommel
2019-03-28Cleanup: remove unused derivedmesh code.Brecht Van Lommel
2019-03-28Fix T62944: Memory leak in animation playbackSergey Sharybin
Missing memory free in the early output of particles distribute initialization. Seems it was always there.
2019-03-26Fix T62952: remove lamp as camera using the lamp clip start/end.Brecht Van Lommel
Eevee and Cycles don't use these clipping distances the same as Blender Internal did, or at all in most cases. Just remove this since it makes no sense anymore.
2019-03-26Fix T62957: Camera frame returns zerosCampbell Barton
2019-03-263D View: move deselect all logic into an optionCampbell Barton
This removes `VIEW3D_OT_select_or_deselect_all`, adding a deselect_all option to the `VIEW3D_OT_select` operator. - Add utility functions to simplify de-selecting all. - Return true from selection functions when they change the selection to avoid redundant updates. - Use arrays of bases when passing objects between selection utility functions since some users require bases. - Fix logical error in box selection that updated all objects after the first hit.
2019-03-26Fix use of uninitialized variable in grease pencil materials.Brecht Van Lommel
2019-03-26Cleanup: styleCampbell Barton
2019-03-25Fix T62927: Assert when opening default 2.79 startup file in 2.80.Bastien Montagne
Not sure why that was asserted on instead of handling the flag properly, if base is not selectable, then just do not select it... Have the feeling this code handling sync of flags between bases and objects could use some cleanup, but that will be for another day.
2019-03-25GPencil: Only brushes with pinned materials have materialsAntonioya
Using GP_BRUSH_MATERIAL_PINNED to switch between active material and brush material, instead of updating all brushes on active material changes. This will allow brushes to have no material and therefore to not inflate the user count. This fix T62465. Patch contributed by @matc Reviewers: @brecht @antoniov @billreynish @mendio
2019-03-25Fix T62776: Face maps are initialized incorrectlyJacques Lucke
Reviewers: brecht Differential Revision: https://developer.blender.org/D4586
2019-03-25Fix T62865: Make Single User after Objects to Scene must be done twice.Bastien Montagne
Selected status was not properly moved from new object to new created base. This prevented next steps (making obdata, materials etc. local) to ever happen.
2019-03-25Fix T62891: particle even distribution is not even.Brecht Van Lommel
CD_ORCO coordinates are stored normalized by convention, this code path did not store them correctly.
2019-03-25Cleanup: Spelling in commentSergey Sharybin
2019-03-25Copy/Paste: refactor to be able to paste any kind of IDs, by type.Bastien Montagne
This commit does not add anything new from user perspective, but make it possible to paste any kind of IDs, not only objects/collections. Will be used by new copy/paste in the outliner in next commit.
2019-03-25Fix T62866: 3D text not filled by defaultAlex Strand
Regression in bc5b0f7a091c395526370 See D4581
2019-03-25Cleanup: styleCampbell Barton