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
2017-06-19Cleanup: doxygen commentsCampbell Barton
Also remove duplicate & mismatching comments from grease-pencil header. Keep comments close to implementation to avoid getting out of sync.
2017-06-19Fix T51774: Children particles hair interpolation not correct with textures ↵Bastien Montagne
or dp. Children where always getting at least one segment of fixed length... Now fully hidden ones (zero length) get no segment at all. Note that even very short ones keep getting one 'unit' length segment - would rather avoid changing that at this point, given how complex children particles 'length' can get with all kind of modifiers... Think we can live with that for now anyway.
2017-06-15Cleanup: do not use `BKE_libblock_free_ex()` unless needed!Bastien Montagne
2017-06-15Fix/workaround 'convert object' messing up linked data.Bastien Montagne
'Convert To...' Object operation has very weird effect of actually working at obdata level, not object level, which means *all* objects (even unselected/hidden/in other scenes/...) using same obdata will be converted to new selected type. IMHO this is very bad behavior, but... not a bug really, so do not change this for now. But at least, do not do that when working on some linked data, else it leaves Blend file in invalid (incoherent) state until next reload. So workaround for now is to enforce the 'Keep Original' option when some linked object/obdata is affected by the operation. Also fixed somewhat broken usercount handling in Curve->Mesh part.
2017-06-15Fix serious bug in 'curve-to-mesh' conversion code.Bastien Montagne
Eeeeeek!^2 Calling unconditionnaly ID freeing `BKE_libblock_free()` on a datablock (ob->data, i.e. Curve) that may be used elsewhere... Veryveryvery bad!
2017-06-15Fix potential memory leak in Sequencer sound strip creation code.Bastien Montagne
2017-06-15Fix compilation error with strict cflags after recent const changesSergey Sharybin
2017-06-14Make whole ID copying code use const source pointer.Bastien Montagne
Noisy change, but safe, and better do it sooner than later if we are to rework copying code. Also, previous commit shows this *is* useful to catch some mistakes.
2017-06-14Fix three obvious mistakes in brush/mask/cachefile ID copying.Bastien Montagne
They were modifying some source ID prop, instead of copied version of it... Found while making all source of ID copying const. ;)
2017-06-14Remove unused bmain argument from BKE_libblock_free_dataSergey Sharybin
2017-06-14Cleanup: Indentation got broken in previous commitSergey Sharybin
2017-06-14Add utility function to free memory used by a datablockSergey Sharybin
This function is similar to BKE_libblock_free but does no DEG tagging or any extra things, just operates on memory.
2017-06-13Add utility function to get size of given ID typeSergey Sharybin
Optionally it'll also give name used for memory allocation.
2017-06-12Cleanup: indentation, long linesCampbell Barton
2017-06-09Cleanup: get rid of some now unused animdata ID management custom functions.Bastien Montagne
That's the kind of commit that are nice to do - getting rid of half-working custom pieces of code, now that we have generic tools to do same thing. ;)
2017-06-07Depsgraph: Remove modifiers operation codeSergey Sharybin
Was internally a no-op operation, which only caused extra work to be done during depsgrpah traversal and evaluation, without making any measurable improvement.
2017-06-02Cleanup: styleCampbell Barton
2017-06-01Fix bad index use drawing deformed face centersCampbell Barton
2017-05-31Fix bad handling of 'extra' user for groups at their creation.Bastien Montagne
Was just keeping the default '1' user from `BKE_libblock_alloc()`, instead of using correct way to handle extra virtual user needed when we want to keep unused datablocks around...
2017-05-31Cleanup: Use more clear parenthesisSergey Sharybin
2017-05-30Displace modifier: Pre-fetch all possible images to image pool prior executionSergey Sharybin
This way we reduce amount of time wasted in spin-lock later on when all threads are starting to sample texture.
2017-05-30Image pool: Use memory pool for allocating elementsSergey Sharybin
Reduces amount of system-wide allocation calls. Will be mainly visible when using lots of images in texture nodes or regular BI rendering.
2017-05-30Depsgraph: Add missing update tag clear for proxy objectsSergey Sharybin
This was causing proxies updates on every frame, even if they do not really change. Additionally, it was causing second round of armature update when used from inside dupligroup (viewport ensures all objects from dupligroup are up to date before draw).
2017-05-29Fix T51390: Blender 2.78c will freeze or force close when adding particles ↵Bastien Montagne
at random. DM evaluation code was simply never clearing the `deformedOnly` flag when evaluating a generative modifier... Quite astonishing this never got catched before, a lot of particle code relies on valid value of this flag!!!
2017-05-29Fix T51520: Broken vertex weights after two mesh joining.Bastien Montagne
Take Two, did not detect that dynapaint was also creating named vgroup cdlayer!
2017-05-27Remove MinGW supportAaron Carlisle
The Issue ======= For a long time now MinGW has been unsupported and unmaintained and at this point, it looks like something that we should just leave behind and move on. Why Remove ========== One of the big motivations for MinGW back in the day is that it was free compared to MSVC which was licensed based. However, now that this is no longer true we have basically stopped updating the need CMake files. Along with the CMake files, there are several patches to the extern libs needed to make this work. For example, see: https://developer.blender.org/diffusion/B/browse/master/extern/carve/patches/mingw_w64.patch If we wanted to keep MinGW then we would need to make more custom patches to the external libs and this is not something our platform maintainers are willing to do. For example, here is the patches needed to build python: https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-python3 Fixes T51301 Differential Revision: https://developer.blender.org/D2648
2017-05-27Release wasn't building, limit debug scopeCampbell Barton
2017-05-27CustomData: assert on bad arguments to freeCampbell Barton
Assert the index is in-range for the layer type.
2017-05-26Fix T50851: Array modifier generating invalid geometry.Bastien Montagne
We had handling of fully duplicated polygons already, but... absolutely nothing to sanitize partially merged polygons! This were giving us totally invalid geometry, with duplicated vertices in single poly, invalid edges, etc. Now we do check for invalid loops inside polys, and generate new edges as needed to get only valid polys. For some reason this was a nightmare to get running fully OK, playing with old and new indices is really, really mind breaking.
2017-05-26Fix T50908: Motion Tracker ignored grease pencil maskSergey Sharybin
This feature got lost with new auto-track API, Added it back by extending frame accessor class. This isn't really a frame thing, but we don't have other type of accessor here. Surely, we can use old-style API here and pass mask via region tracker options for this particular case, but then it becomes much less obvious how real auto-tracker will access this mask with old style API. So seems we do need an accessor for such data, just matter of finding better place than frame accessor.
2017-05-26Fix freeing all custom-data layersCampbell Barton
Would crash when the active index was out of range, since there is no reason to use the active layer when freeing all, free the first instead.
2017-05-26Fix T51350: 2D curve normals flip when deformedCampbell Barton
Deforming 2D curves & text with modifiers/shape-keys could flip the normals. Now check the back-facing flag instead of `z < 0`.
2017-05-24Fix error accessing tessface color in edit-modeCampbell Barton
Was checking for loop-color in poly-layer.
2017-05-24Fix possible invalid normal use w/ tangent calcCampbell Barton
Was using MFace normals, not MPoly
2017-05-20CMake: Use GCC7's -Wimplicit-fallthrough=5Campbell Barton
Use to avoid accidental missing break statements, use ATTR_FALLTHROUGH to suppress.
2017-05-19Cleanup: add braces for multi-line blocksCampbell Barton
2017-05-19Fix T51556: Sequencer - White Balance Modifier - Masking is not honoredSergey Sharybin
2017-05-15Cleanup: warnings, styleCampbell Barton
2017-05-12Mesh Center: improved center-of-mass calculationBill Currie
Previous method was based on face-area, giving un-even results based on topology and gave issues with zero area faces. This method gives matching results for concave ngons and the same geometry triangulated.
2017-05-11Cleanup: GPU PBVH namingCampbell Barton
Use GPU_pbvh prefix.
2017-05-08Fix T51432: Find Files case sensitive on win32Campbell Barton
2017-05-05MakeLocal: fix bad (missing) handling of proxy_from uglyness.Bastien Montagne
Those shall not be considered while checking whether a to-be-made-local ID will end up fully local, or still be partially used by linked data... Even less since we already do have special handling of proxies later. Fixes main remaining issue found with 04_01_H.lighting.blend Agent327 file, and allows us to switch back to optimized post-processing in make_local code.
2017-05-05Add a new LOOPBACK flag to libquery's callbacks.Bastien Montagne
That one tags those ugly little 'from' ID pointers (shape keys and proxies), which point back from used to user ID, and require a lot of special care in data-block management...
2017-05-05MakeLocal: switch back to secure, slightly slower final steps.Bastien Montagne
Again, Agent327's 04_01_H.lighting.blend shows some problem here, it triggers several times the 'not used at all' assert in step 5 of secure code, and with optimized version we lose the connection between rigs and the main characters! Will keep investigating on this, but for now let's try to give something working to the studio.
2017-05-05MakeLocal: forcefully recalc affected armatures' poses.Bastien Montagne
This should not be needed imho, we already set POSE_RECALC flag correctly there, but it still is missing actual update of poses in some (complex and convoluted) cases. So at least for now, let's go with this hack, it's not really harming anyone anyway. Fixes crash in Agent327's 04_01_H.lighting.blend when making all local.
2017-05-05Add check (error message + assert) that pose is valid in armature evaluation.Bastien Montagne
Not sure how this happens, but in some cases we can evaluate deformations of an armature which pose is not valid, at least put a warning here to help identifying the issue quickly.
2017-05-05Fix reading past bounds removing from color rampCampbell Barton
2017-05-04Fix missing usercount update of poselib when copying Object.Bastien Montagne
Still finding such missing cases... :(
2017-05-04Add debug/timing prints in MakeLocal and remapping code.Bastien Montagne
2017-05-04Fix use after free of new render layer ID properites after copying sceneSergey Sharybin