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-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
2017-05-04Fix memory leak of ID properties after recent render passes commitSergey Sharybin
2017-05-03Render API/Cycles: Identify Render Passes by their name instead of a type flagLukas Stockner
Previously, every RenderPass would have a bitfield that specified its type. That limits the number of passes to 32, which was reached a while ago. However, most of the code already supported arbitrary RenderPasses since they were also used to store Multilayer EXR images. Therefore, this commit completely removes the passflag from RenderPass and changes all code to use the unique pass name for identification. Since Blender Internal relies on hardcoded passes and to preserve compatibility, 32 pass names are reserved for the old hardcoded passes. To support these arbitrary passes, the Render Result compositor node now adds dynamic sockets. For compatibility, the old hardcoded sockets are always stored and just hidden when the corresponding pass isn't available. To use these changes, the Render Engine API now includes a function that allows render engines to add arbitrary passes to the render result. To be able to add options for these passes, addons can now add their own properties to SceneRenderLayers. To keep the compositor input node updated, render engine plugins have to implement a callback that registers all the passes that will be generated. From a user perspective, nothing should change with this commit. Differential Revision: https://developer.blender.org/D2443 Differential Revision: https://developer.blender.org/D2444
2017-04-26Fix race condition invalidating object data's bounding boxSergey Sharybin
2017-04-26Alembic: fixed refcount issue when duplicating imported objectsSybren A. Stüvel
Duplicating an imported object didn't increment the cache reader's refcount, whereas removing the duplicate did decrement it. This caused problems.
2017-04-26Fix T51280: Alembic: Crash when removing cache modifierSybren A. Stüvel
The calls to id_us_plus/min were unnecessary (and caused assertion failures) as this is already taken care of by transformcache_id_looper().
2017-04-24Cleanup: styleCampbell Barton
2017-04-21Alembic import: changing cache modifier path no longer discards object pathsSybren A. Stüvel
This allows, for example, the path of an Alembic file to be changed from absolute to relative, without having to reconstruct all object paths.
2017-04-21Alembic: properly initialising cachefile object paths list.Sybren A. Stüvel