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
2018-04-05Remove workspace object mode, reverts changes w/ 2.8Campbell Barton
This caused too many problems syncing object modes with multiple objects/windows/workspaces, see: D3130 for details.
2018-03-08Merge branch 'master' into blender2.8Campbell Barton
2018-03-08Cleanup: Rename view3d context set functionCampbell Barton
Use common prefix so adding related functions share the prefix.
2018-02-28Null pointer check exiting sculpt modeCampbell Barton
Needed for 2.8x, harmless here.
2018-02-28Null pointer check exiting sculpt modeCampbell Barton
Needed for 2.8x, harmless here.
2018-02-28Workspace: sync object-modes to other workspacesCampbell Barton
When changing the mode of an object, apply this to all other workspaces that share the same active object. Also use copy the object-mode when duplicating workspaces.
2018-02-19Cleanup: sync vertex-paint and sculpt from 2.8Campbell Barton
Sync API changes from 2.8 to master.
2018-02-16Vertex Paint: expose exist paint-mode to APICampbell Barton
2018-02-09Cleanup: use workspace for object_mode when possibleCampbell Barton
2018-02-08Object Mode: move to workspace structCampbell Barton
- Read-only access can often use EvaluationContext.object_mode - Write access to go to WorkSpace.object_mode. - Some TODO's remain (marked as "TODO/OBMODE") - Add-ons will need updating (context.active_object.mode -> context.workspace.object_mode) - There will be small/medium issues that still need resolving this does work on a basic level though. See D3037
2018-02-07Move eval_ctx after object mode changesCampbell Barton
2018-02-06Partially revert changes from 2a184f3d2b6Campbell Barton
Ended up removing the need for eval_ctx, but left it being initialized.
2018-02-06Object Mode: use eval_ctx for paint & objectCampbell Barton
2018-01-30Merge branch 'master' into blender2.8Sergey Sharybin
2018-01-30Fix T53943: Weight paint crash in new sceneCampbell Barton
2018-01-10Merge branch 'master' into blender2.8Sergey Sharybin
2018-01-10Task scheduler: Use restrict pointer qualifierSergey Sharybin
Those pointers are never to be aliased, so let's be explicit about this and hope compiler does save some CPU ticks.
2018-01-10Merge branch 'master' into blender2.8Campbell Barton
2018-01-10Cleanup: comment block alignmentCampbell Barton
2018-01-09Merge branch 'master' into blender2.8Sergey Sharybin
2018-01-09Task scheduler: Use single parallel range function with more flexible functionSergey Sharybin
Now all the fine-tuning is happening using parallel range settings structure, which avoid passing long lists of arguments, allows extend fine-tuning further, avoid having lots of various functions which basically does the same thing.
2018-01-09Task scheduler: Get rid of extended version of parallel range callbackSergey Sharybin
Wrap all arguments into TLS type of argument. Avoids some branching and also makes it easier to extend things in the future.
2017-11-06Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: intern/cycles/device/device.cpp source/blender/blenkernel/intern/library.c source/blender/blenkernel/intern/material.c source/blender/editors/object/object_add.c source/blender/editors/object/object_relations.c source/blender/editors/space_outliner/outliner_draw.c source/blender/editors/space_outliner/outliner_edit.c source/blender/editors/space_view3d/drawobject.c source/blender/editors/util/ed_util.c source/blender/windowmanager/intern/wm_files_link.c
2017-11-06Rename ID_IS_LINKED_DATABLOCK to ID_IS_LINKED.Bastien Montagne
This makes code closer to id_override/assent-engine ones, which introduce a new type of linked data, and hence reserve ID_IS_LINKED_DATABLOCK to real linked datablocks.
2017-10-11Merge branch 'master' into blender2.8Sergey Sharybin
2017-10-10Fix T53040: Vertex paint, texure & symmetry failCampbell Barton
Removed old logic for brush texture which was being applied twice.
2017-10-10Vertex Paint: add back missing VertProjHandle freeCampbell Barton
Also avoid passing large struct as value.
2017-10-10Correct logic for vertex paint smearCampbell Barton
Swapping gave values from the state before the last. Thanks to @angavrilov for spotting.
2017-10-09Merge branch 'master' into blender2.8Campbell Barton
2017-10-07Actually force accumulate mode for the Smear brush in weight/vertex paint.Alexander Gavrilov
Just removing the checkbox from UI isn't enough for proper behavior.
2017-10-07Make weight paint blur thread safe, and fix smear ignoring mirror.Alexander Gavrilov
Instead of trying to be clever with swaps and lazy updating the weight data, simply recalculate one single array. To improve performance, use threading for that.
2017-10-06Merge branch 'master' into blender28Campbell Barton
2017-10-06Cleanup: Math lib naming (use v3 suffix)Campbell Barton
2017-10-06Vertex Paint: move normal falloff into the brushCampbell Barton
All related settings are already in the brush, so it's inconvenient to switch panels to change this one option.
2017-10-06Vertex Paint: use view normal w/ 2D falloffCampbell Barton
When projecting to the view, cull faces pointing away from the view normal.
2017-10-06Vertex Paint: use brush front-face settingCampbell Barton
Follow sculpt mode more closely by using the brush front-face option.
2017-10-05Sculpt Mode: 2D falloff optionCampbell Barton
This makes brush influence into a tube instead of a sphere. It can be used along the outline of a mesh to adjust it's silhouette. Note that all this takes advantage of changes from vertex paint, from testing this seems useful so exposing from the brush options.
2017-10-04Merge branch 'master' into blender2.8Sergey Sharybin
2017-10-03Cleanup: remove unused vpaint projection handleCampbell Barton
2017-10-03Weight Paint: blend smear toolCampbell Barton
2017-10-03Vertex Paint: fix feedback loop w/ smear toolCampbell Barton
Was reading and writing from same array, this also makes smear thread-safe.
2017-10-03Change weigth paint accumulate mechanics to fix problems with mirroring.Alexander Gavrilov
Restoring weights is problematic when the stroke overlaps its mirror. It's better to simply compute the new weight based on the saved data rather than restoring things, and check that the change is monotonic. This way is also closer to how things worked before the merge.
2017-10-03Vertex Paint: smear got wrong last-locationCampbell Barton
2017-10-03Error in last commit, weight must be set for non-accumulateCampbell Barton
2017-10-03Vertex Paint: remove accumulate (soc-2017-vertex_paint)Campbell Barton
This secondary accumulation option accumulated brush falloff. The same option in image painting accumulates color as vertex paiht 'Spray' does. Giving this option different behavior for vertex paint seems strange. Also this is basically increasing falloff over time. Remove the new code, expose existing 'Spray' as 'Accumulate' to match other paint modes.
2017-10-03Merge branch 'master' into blender2.8Sergey Sharybin
Notes: - Changes in paint_vertex.c were simple to merge, mainly related on passing evaluation context. - Conflicts in EditDM and drawmesh.c are solved using code from blender2.8 branch. Those areas are deprecated and not to be used in final release. However, it's possible that some reference code from master is lost, so keep attention when adding alpha support for vertex painting.
2017-10-03Weight Paint: don't set weight w/ average brushCampbell Barton
Also use 'const' for brush.
2017-10-02Disable multithreaded weight paint when mirroring is enabled.Alexander Gavrilov
Mirroring writes to the mirror vertex within the direct vertex draw function, which violates assumptions required for processing vertices in parallel.
2017-10-02Vertex Paint: projection optionsCampbell Barton
This makes vertex paint match image painting more closely. - Add falloff shape option sphere/circle where sphere uses a 3D radius around the cursor and circle uses a 2D radius (projected), like previous releases. - Add normal angle option so you can control the falloff. - Add Cull option, to paint onto faces pointing away. Disabling normals, culling and using circle falloff allows you to paint through the mesh.
2017-10-02Cleanup: add 'sphere' to sculpt test function nameCampbell Barton