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-16Fixed crash when adding/removing custom normals from pinned meshSybren A. Stüvel
When a mesh is pinned in the properties panel, Blender crashes when you click the "Add Custom Split Normals Data". The code calls `ob = ED_object_context(C)` which returns NULL when the mesh is pinned in the properties panel, causing a segfault when trying to get the mesh via `ob->data`. A new function `ED_mesh_context(C)` avoids this by first checking whether a mesh was pinned in the context. If not, it checks the pinned object's data. If that's not there, or it's not a mesh, it returns the active object's mesh. Finally it returns NULL if there is no active object, or if the active object is not a mesh object. Reviewed By: brecht, mont29 Differential Revision: https://developer.blender.org/D5223
2019-07-16fix T66899: Collada: Shininess/Reflectivity not handled correctGaia Clary
Fixed: The Collada Exporter only supports export of Lambert Shaders. But Shininess is not supported with Lambert Shaders. The exporter must not add Shininess to the Shader data! Fixed: The Collada Importer adds an illegal value of -1 for reflectivity when this parameters is not defined in the imported collada data. Now reflectivity is only set when the import data contains a valid value. Discarded: The Collada Importer handles shininess in a dubious way. I have discarded import for now. This needs to be reworked carefully in 2.81. Differential Revision: https://developer.blender.org/D5262
2019-07-16Fix T66742: Frame selected last weightpaint/vertexpaint stroke notPhilipp Oeser
working Mouse values [for 'paint_last_stroke_update()'] gone missing in rB4f616c93f7cb. Thx @campbellbarton for hinting at convention to get mouse from sculpt caches. Reviewers: campbellbarton Maniphest Tasks: T66742 Differential Revision: https://developer.blender.org/D5267
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 error in app-template image size checkCampbell Barton
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-16Cleanup: typos in commentsCampbell Barton
2019-07-16Fix T67002: Crash redoing an action after ID renameCampbell Barton
2019-07-16Docs: remove debug value, matching sourceCampbell Barton
2019-07-15Fix T67009, T67013: crash with Intel HD Graphics and some older driversBrecht Van Lommel
Add more versions to the workaround list.
2019-07-15Fix T64827: "Batch-Generate Previews" crashes.Bastien Montagne
Second completely unrelated issue reported in same task (tssst...), caused by missing doversion code of some changes in recent-ish 2.80 development (tsst... again). Proper fix for the issue (reverted rB8a5a8282ce48 was merely sweeping the dirt under the carpet...).
2019-07-15Fix T67016: crash drawing image editor without imageBrecht Van Lommel
2019-07-15Fix T66983 Wireframe Display in edit mode edges missing when overlays are ↵Clément Foucault
disabled
2019-07-15Fix T66707 Modifying bone's 'Custom Object' reference shape causes blender ↵Clément Foucault
to crash This was caused by an instancing batch not being initialized correctly.
2019-07-15Fix T66955: Cannot delete data from file in outliner.Bastien Montagne
That switch on ID types had not been updated since quiet some time it’d seem... Using the ID_Type enum type now, so this should not happen again (compiler will yell at you if you forget to add here any new ID type ;) ). Also had to change a bit the code layout then, to deal with fake NLA ID type... Note that for now, Screen IDs remain excluded from the ID menu usage, due to T67004.
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 compositor ignoring mask parentingSergey Sharybin
There are two aspects to the problem: - Dependency graph update for compositor preview was missing updates flush. Apparently, update for new frame style of update will take care of flushing, but not the update tagged style of update. This goes to a legacy dependency graph and is to be changed at some point, but not so close to the release. - Movie clips were missing from the compositor dependency graph. This fixes part of T66519. Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D5256
2019-07-15Fix T66870: AutoIK-Len stops working after releasing the mouseSebastian Parborg
The code didn't check if we should initialize the transform auto IK parameters. Cleaned up the code a bit too. Reviewed By: Brecht Differential Revision: http://developer.blender.org/D5260
2019-07-15Fix T63349: image texture garbage collection causing freezesBrecht Van Lommel
Images were being freed often because the tagging for when the image was last used was missing. Differential Revision: https://developer.blender.org/D5252
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 T66941: GPencil wrong interpolation calculation for last keyframeAntonioya
The range used for frames was wrong and the last keyframe was way off of the correct place. Thanks to @MagnumOctopus for catching the bug.
2019-07-15Fix T66668: frame selected bone not working in weight paint modePhilipp Oeser
'viewselected_exec()' [which uses evaluated view layer] would query BASE_SELECTED flag, but it was not set on base_eval, but on its base_orig. reason for this is 'ed_object_select_pick()' would modify base flags [through 'ED_object_base_select()'], but not tag scene ID_RECALC_BASE_FLAGS. thx @sergey for hinting. Reviewers: sergey, brecht Maniphest Tasks: T66668 Differential Revision: https://developer.blender.org/D5235
2019-07-15Fix T66686: Crash on Particle Edit, then RenderSergey Sharybin
Reviewers: brecht, zeddb Reviewed By: brecht Maniphest Tasks: T66686 Differential Revision: https://developer.blender.org/D5259
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 T66774 Lookdev: Assert switching from rendered to lookdevClément Foucault
The View was being reused accross different redraw (not allowed).
2019-07-15Fix T66860 Crash on opening .blend file from 2.79Clément Foucault
This was caused by the preview render of the material property panel being 1px wide. The computed half buffers width were rounded to 0.
2019-07-15Fix reading directory as file content on LinuxCampbell Barton
Reading a directory as a file on Linux was attempting to allocate LONG_MAX, this happens in template file lists (fix for that coming next).
2019-07-15Fix crash running GPU shader.format_calc() with attributes like gl_VertexIDJeroen Bakker
When using opengl attributes such as gl_VertexID in a shader its location is set to -1. This location was used without checking in an attribute array. This fails big time when called from python. For example `print(shader.format_calc())` made python crash immediately. this fixes https://github.com/JacquesLucke/animation_nodes/issues/1141 Reviewed By: fclem, brecht Differential Revision: https://developer.blender.org/D5231
2019-07-15Fix crash HD Graphics 4000 Series On WindowsJeroen Bakker
There was an workaround implemented for specific the Intel HD Graphics 4000 GPU on Windows platform. Other GPU from the same series also need this workaround. We will enable the workaround for specific drivers. Reviewed By: brecht Differential Revision: https://developer.blender.org/D5239
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-15Fix T66957: GPencil material isolate crash when slot is emptyAntonioya
When the slot of the material is empty, the loop to lock the materials tried to use the material but this was NULL. Check if material is NULL before using it in other operators too.
2019-07-14Cleanup: Do not use camel case for "Freestyle"Aaron Carlisle
2019-07-12Fix T66601: Redo Panels are empty the first time a workspace is activemano-wii
We need to indicate a preferred size to avoid `RGN_FLAG_TOO_SMALL` the first time the region is created. Differential revision: https://developer.blender.org/D5238
2019-07-12Fix T66773: Active edit-bone isn't updatingCampbell Barton
2019-07-12Cleanup: use `_orig` as a suffixCampbell Barton
2019-07-12UI: increase contrast for active boneCampbell Barton
Follow up for T66747 fix, active color didn't contrast enough.
2019-07-12Fix T66747: Active bone not showing in edit-modeCampbell Barton
2019-07-12Fix T66689: Viewport isn't updating children hair particle on particle editPhilipp Oeser
Reviewers: fclem, brecht Maniphest Tasks: T66689 Differential Revision: https://developer.blender.org/D5229
2019-07-12Fix T66694: depthdropper (camera focus distance) not working from View3D ↵Philipp Oeser
context menu Reviewers: campbellbarton, brecht Maniphest Tasks: T66694 Differential Revision: https://developer.blender.org/D5233
2019-07-12Fix T66675: Auto-Save override button has no tooltipCampbell Barton
2019-07-12Preferences: disable reading preferences for regular file loadingCampbell Barton
Although the Auto-Run Python Scripts flag isn't used, this is still a security risk since exclude paths list is. Further this isn't what users would expect when loading a file & only some preferences were being loaded so it's not useful.
2019-07-11Fix T66706: crash in viewport shading popover for workbench engineBrecht Van Lommel
Differential Revision: https://developer.blender.org/D5226
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-11Fix T66628: "Auto Saved Modified Image" not workingJacques Lucke
Reviewer: brecht
2019-07-11Text: buffer from text, optional length return argCampbell Barton
No functional changes (currently unused).
2019-07-11Fix T66658: Undo steps gets out sync with text/edit-modeCampbell Barton
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