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-07-29Fix T67800: Incorrect behavior of simple Subdivision SurfaceSergey Sharybin
Stupid typo in an original fix, need to operate in 3D, not in 2D.
2019-07-29Fix T67777: Linked rig crashes Blender 2.8 RC3 on File|New.Bastien Montagne
Sync back between proxy armature pose and linked one was not properly clearing the posebone runtime data, ending up with shared memory between both (direct cause of reported crash), and probably some other nasty issues. While this crash is not critical in itself, I would suggest to add this fix to 2.80 branch, as it is super-safe and simple, and is probably fixing some other un-reported issues?
2019-07-28Fix T67385: Bind in Laplacian Deform Modifier with new vertex group in Edit ↵Bastien Montagne
Mode crashes Blender. Main issue in that report was that meshes generated from `mesh_create_eval_final_view()` and the like need some special freeing handling (as, among other things, they borrow and do not own their potential editmesh data...). Factorized that into a helper func also used by `BKE_object_free_derived_caches()`.
2019-07-28Cleanup: Fix strict compiler warningSergey Sharybin
2019-07-28Fix T66872: Changing clip color space does not update background imagesSergey Sharybin
Such reload can no longer happen directly and is to be done via dependency graph. Eventually, the movie cache will become shared across all copies of the clip, but even then we still need to have dependency graph mechanism because we need to update FFmpeg animation handle (which can not be shared across the copies).
2019-07-28Cleanup: remove unused ID-map undo APICampbell Barton
Removing this since it was added for TexFace support which has since been removed.
2019-07-26Fix T67507: Set origin on armature moves incorrectly parented objectsSergey Sharybin
Need to copy changes from original armature to evaluated one prior to BKE_pose_where_is(), otherwise the pose matrix in pose channels will not be correct. Can not use dependency graph update here, since we must not re-evaluate possible dependencies of the changed armature. Reviewers: brecht Reviewed By: brecht Maniphest Tasks: T67507 Differential Revision: https://developer.blender.org/D5331
2019-07-26Fix T67256: Add object redo duplicates, after exiting sculpt modeCampbell Barton
2019-07-25Fix T67599: Issue with Simple subdivision of loose edgesSergey Sharybin
They were always acting as a B-Spline subdivision.
2019-07-25Fix app-template keymap preferences being ignoredCampbell Barton
2019-07-25Fix crash validating mesh polygons with invalid loop-startCampbell Barton
Add check for negative loop-start, fixes crash validating test file from T67605.
2019-07-23Tracking: Give more reasonable error message directly in the interfaceSergey Sharybin
Before this the message could be too generic which was simply saying that console is to be checked. This isn't very useful in cases when we know that reconstruction is failed because of lack of good keyframes or failure of initial reconstruction if there is no enough parallax on the selected keyframes.
2019-07-23Fix T67040: Undo crashes after renamingCampbell Barton
Correct fix that doesn't cause T67217. Temporarily removing the excluded undo step broke memfile-undo since freeing the undo steps needs to access other steps in the list to merge shared chunks, see: memfile_undosys_step_free. Pass the exclude step as an argument instead.
2019-07-21Revert "Fix T67040: Undo crashes after renaming"Brecht Van Lommel
This reverts commit c635663e4a8169f68010b9234fa60f17ad03d7cb. This is causing crashes with sculpt mode and object mode switching. Fixes T67217.
2019-07-19Fix assert in some cases when using DataTransfer modifier for custom normals.Bastien Montagne
Reported by @sybren on IRC, thanks. Should be safe for 2.80.
2019-07-19Fix new Text ID usercount handling in add/load cases.Bastien Montagne
Text datablocks should always have a 'single user' flag set, and they usually do not have any user (since neither text editor itself, nor Freestyle usage are text users - the second is odd btw...), the only one am aware of is the script node (e.g. for OSL). Add text case was simply not doing anything, so added. Load text case was doing things in inversed logic (setting user count to zero in BKE, then setting 'real user' flag in ED code). Made it the other way around (BKE ID creation code should not care about usercount usually, this is up to higher-level code to decide what to do (operators, RNA...). Note: tried to check all cases, but there might very well be some more hidden bugs here...
2019-07-19Revert "Fix assert unlinking text"Bastien Montagne
This reverts commit b0b2546d4a3a308da19d218d919915aac4834e59. Please do not sweept the dirt under the carpet like that! If there is a bug, either report it or fix it, but do not silence it!
2019-07-19Cleanup messed-up comment formating from codestyle apply...Bastien Montagne
2019-07-18Fix T58447: Unselected bone used for constraint targetCampbell Barton
2019-07-18Revert "Fix T66949: Can't select bones from multiple objects in wpaint mode"Campbell Barton
This reverts commit 9e9fbb39d7f9e0a63c71fbc96237ace62fae0db6. Adding back object+pose bone selection support removes the need for this fix.
2019-07-18Fix T64312: Selection inconsistencies when switching collectionsDalai Felinto
Basically layer_collection_sync was calling BKE_base_eval_flags right away while iterating over the bases. However when a parent/sibling collection is to influence the collection flag of an object that exists in more than one collection, it is too late since we deselect the object in BKE_base_eval_flags right away. Related to T64312. Reviewers: sergey, brecht Differential Revision: https://developer.blender.org/D5243
2019-07-17Fix T59713: Armature layer dots not updated on changesmano-wii
`layer_used` runtime data, which controls the drawing of dots in the UI was not getting refreshed properly. This used to happen in the drawing code, but was no longer working for reasons explained in: {rB2b09062defa093a243b5fe64b099accb07b440a3} The solution was to update each layer manually in the operators: * ARMATURE_OT_bone_primitive_add * ARMATURE_OT_delete * ARMATURE_OT_dissolve * ARMATURE_OT_fill * ARMATURE_OT_merge * ARMATURE_OT_separate * ARMATURE_OT_bone_layers * POSE_OT_bone_layers Differential Revision: https://developer.blender.org/D5281
2019-07-17Undo System: replace with simpler binary diffing buffer storageCampbell Barton
Applying/undoing incremental changes didn't fit well when mixed with periodic snapshots from mem-file undo. This moves to a much simpler undo system. - Uses array storage with de-duplication from `BLI_array_store`. - Loads the buffer into existing text data, for better performance on large files. - Has the advantage that Python operators can be supported since we don't depend on hard coded undo operations. Solves T67045, T66695, T65909.
2019-07-17Fix T66949: Can't select bones from multiple objects in wpaint modeCampbell Barton
2019-07-16Fix T66940, T67005, T60651: append workspace from old startup file failsBrecht Van Lommel
Don't try to use old screens as workspaces, just leave them out of the menu. Differential Revision: https://developer.blender.org/D5270
2019-07-16Fix T66999: Blender creates new cache for particles with step 10 instead 1Sebastian Parborg
Update the default init step values to be the same for all caches. This is actually a small hack as these values are not used on the creation of the first cache. But the default init value is 1, so this will not be noticeable anymore. Reviewed By: Brecht Differential Revision: http://developer.blender.org/D5271
2019-07-16Fix T66944: Rigid Body Constraint in duplicated collection is not added to ↵Bastien Montagne
RigidBodyConstraints collection. We only had a very limited, specific handling of that in collection duplication code, but this has to be handled at a much more general level in Object copy code itself, since it makes no sense to duplicate rigidbody object data without adding new copy to relevant rigidbody collections... WARNING: This is a fairly risky rework of rigidbody handling logic when copying an Object data-block. It is *NOT* considered safe enough for 2.80 release. I tried to take into account copy flags to not mess with other IDs (collections) when we are copying outside of Main, and also not do deg tags when this is forbidden, but risk of something going wrong here is too high...
2019-07-16Fix T66835: Dynamic Paint weight group isn't updated unless weight has been ↵Sebastian Parborg
assigned The dvert layer was not assigned to the mesh data if it had to be created by the dpaint modifier. Reviewed By: Brecht Differential Revision: http://developer.blender.org/D5263
2019-07-16Fix assert unlinking textCampbell Barton
Interferes with debugging.
2019-07-16Fix T67040: Undo crashes after renamingCampbell Barton
Caused by error keeping the first memfile undo step.
2019-07-15Fix T66712: A model shows artifacts in the sculpt modeSergey Sharybin
Was a mistake in normals calculation: need to consider all grids for correct average in the center of the face. Reviewers: brecht Reviewed By: brecht Maniphest Tasks: T66712 Differential Revision: https://developer.blender.org/D5254
2019-07-15Fix T66812: Particles + Build Modifier = CrashSergey Sharybin
Particles can not be used with a destructive modifiers, so we can not maker such configuration fully reliable. Not sure this specific setup ever worked in 2.7x, maybe DM index was somehow reset somewhere in particle system in older Blender version, or maybe all of Blender version were crashing. Anyway, seems to be very easy to avoid obvious index past the array boundary in the mapping, Reviewers: brecht, zeddb Reviewed By: brecht Maniphest Tasks: T66812 Differential Revision: https://developer.blender.org/D5257
2019-07-15Fix T66991 Crash when deleting edit bones when pchan is referenced by bendyboneClément Foucault
This was caused by loose pointers. This diff takes care of clearing the fields of other bones before deleting the pchan. Reviewers: brecht, sergey Reviewed By: brecht, sergey Differential Revision: https://developer.blender.org/D5258
2019-07-15Fix T66587: Can't bake second dynamic paint canvas to image sequenceSebastian Parborg
The issue was the the copy data function didn't copy the active canvas number. So it would always be 0 and thus use the first canvas when trying to bake. Also fix not copying unused type data (unused canvas/brush settings). Reviewed By: Brecht Differential Revision: http://developer.blender.org/D5220
2019-07-11Fix T66672: auto and manual texture space affected by modifiersBrecht Van Lommel
It should be based on the mesh bounds before modifier stack evaluation, but some modifiers were causing it to be recomputed. The flag to disable texture space recomputation was not preserved through modifier evaluation. Differential Revision: https://developer.blender.org/D5225
2019-07-11Text: buffer from text, optional length return argCampbell Barton
No functional changes (currently unused).
2019-07-11Undo System: add is_final argument (no functional changes)Campbell Barton
This is needed step out of undo steps which accumulate changes, larger changes could be made to handle this but better not make them at this point.
2019-07-11Cleanup: avoid recursion for undo/redo step skippingCampbell Barton
Simplifies making further changes.
2019-07-11Cleanup: clang-formatCampbell Barton
2019-07-10Fix T66567: Weight painting crashes with specific meshSergey Sharybin
Seems the deform group index and deform vertices went out of sync somehow. Added extra NULL pointer check, which seems to be safe and matches checks in other places in the neighbourhood.
2019-07-10Fix T66631: Crash when converting objects from Curve to MeshSybren A. Stüvel
When `BKE_mesh_new_from_object()` cannot convert an object to a mesh, it returns `NULL`. This case was not handled at all in `BKE_mesh_new_from_object_to_bmain()` or `curvetomesh()`, causing a segmentation fault. This commit fixes the segmentation fault, and leaves the curve object as a curve object. Reviewed By: mont29, brecht, sergey Differential Revision: https://developer.blender.org/D5217
2019-07-10Fix T66630 X-Ray + Subdivision surface Face select problemClément Foucault
2019-07-10Fix broken Mesh 'calc_smooth_groups' logic.Bastien Montagne
We need to check both polygons of a manifold edge to be sure it is actually smooth... Reported by Hugo Sales (@someonewithpc) on blender.chat, thanks.
2019-07-10Cleanup: avoid line breaks from trailing commentsCampbell Barton
2019-07-09Fix uninitialized loop variableClément Foucault
Fix commit 226c6f086aa2
2019-07-09Fix T64149: Texture paint can act as a canvas and brush at the same timeSebastian Parborg
I don't know if it was the intended behavior or not, but having brush and canvas data at the same time with dymanic paint, would lead to the object trying to act as a brush and a canvas at the same time. We can't currently handle this with the new depsgraph, and it could legitimately lead to bad feedback loops. So now, to be more consistent with the GUI, I've made it only use the current set type (brush or canvas) as the final type of the object. That is, you can only have a object be a brush or a canvas, not both at the same time.
2019-07-09Fix T57652: Multires undo broken with shared object dataSergey Sharybin
2019-07-09Fix T55192: Speed fx applied to scene messed up animationRichard Antalik
Don't update animdata after rendering scene Rendering host scene from sequencer is not supported, removed code is unnecessary. Reviewed By: brecht Differential Revision: https://developer.blender.org/D5199
2019-07-08Fix T62941 Subdivision Modifier Showing all face dotsClément Foucault
Previously in 2.79 we were using a specialized drawing using derivedMesh. Now the subsurf modifier tag each center vertex as facedot and let the DRWManager pick it up. Some modifiers (deforming ones) do not clear the tag so we can use this technique even if there is deforming modifiers after subsurf modifiers.
2019-07-08Fix T66431: SE - Audio Caching crashSergey Sharybin
Moved the caching code from direct calls in DNA to dependency graph. In fact, not much was needed to be done apart form removing the direct cache updates. The rest seemed to work fine. Possible to avoid full sound file re-load, but doesn't seem this is causing any issues.