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
2015-11-23Cleanup: shadowing (blenkernel)Campbell Barton
2015-11-23Cleanup: use `rna_enum_` prefix for RNA enumsCampbell Barton
Definitions could shadow local vars.
2015-11-23OpenNL: removed unused softbody code.Brecht Van Lommel
2015-11-23C99 is now the C standard for all our C code.Brecht Van Lommel
The main new feature is mixed variable declarations and code, which can help reduce uninitialized variables or accidental variable reuse. Due to incomplete C99 support in VS 2013, variable length arrays are not supported, BLI_array_alloca must still be used. The header <tgmath.h> is also not supported. Differential Revision: https://developer.blender.org/D1631
2015-11-22Remove vertex array support from GPUBuffers. Remove USER_DISABLE_VBO. AllAntony Riakiotakis
GPUBuffer rendering is now done using vertex buffers. Vertex arrays are completely removed from GL 3.2 core profile, so we'll have to do this change at some point anyway. This commit, though big, is not modifying blender in any way. Use should be exactly as if the vetex buffer option is constantly on.
2015-11-22Fix T46678: Extending left handle of a VSE multicam effect strip with snap ↵Bastien Montagne
creates frame stills. Also fixes cache handling for those strips, they need more radical flushing...
2015-11-20Fix T46826: EXR Compression method set in UI does not always get passed ↵Bastien Montagne
correctly to the actual OpenEXR writing code.
2015-11-19Fix T48806: mesh.materials.clear() does not decrement users counts.Bastien Montagne
2015-11-19Cleanup: redundant 'break', minor editsCampbell Barton
2015-11-17Clear timer on region duplicate, avoid double freeCampbell Barton
2015-11-16Fix/enhance BKE_mesh_validate_arrays.Bastien Montagne
Aside from some minor cleanup, this commit: * Fixes checking twice for multiple usage of same vert by a same poly. * Fixes handling of ME_VERT_TMP_TAG vert flag by that check (there was no guaranty that flag was cleared for a poly's vertices before we start checking).
2015-11-16Cleanup: typosCampbell Barton
2015-11-16Add missing newlines for debug printsCampbell Barton
2015-11-14Fix T46701: Sampled FCurve looks jagged when FModifiers (doing nothing) are ↵Joshua Leung
present This was caused by interpolation between samples being performed incorrectly (i.e. wrong order of arguments) when sampling more than once per frame.
2015-11-13Fix T46726 shading issues in sculpt mode.Antony Riakiotakis
This fixes two issues: * Normals were not being recalculated correctly when not using optimized drawing for CDDerivedMesh (Multires actually handles that correctly). * Loop normals (autosmooth option) were also not being calculated. Doing this calculation is not desirable, since it can't be done correctly without a severe performance hit. This is easy to test by doing a dependency flush on the mesh after each scuplt stroke step. Instead they are now disabled during sculpting.
2015-11-13Fix T46762: UV transfer Object transform crash.Bastien Montagne
Own very stupid mistake this time... :|
2015-11-13Fix T46469: Data Transfer Modifier don't work.Bastien Montagne
Pretty nice copy/paste typo in looptri work...
2015-11-13Tighten checks around unlinkable datablocks becoming LIB_EXTERN.Bastien Montagne
We have currently a gooseberry file (scenes/01_island/01_meet_franck/01_01_01_A/01_01_01_A.anim.blend) that links against two -pre repo libs, which are hence not available for common mortals, and generate warnings and placeholders during load step. Issue is, among those missing (directly) linked datablocks, we have two shapekeys! This should never happen nor be possible at all. I tried understanding how this could happen, with no luck at all, best bet would be some wild/bad call to `id_us_plus()` over those skeys at some point... Anyway, this commit: - Handles a bit better those 'cases that should never happen' at load time. - Adds several checks in ID handling code (and save/load code) to try to detect where/when a non-linkable datablock becomes LIB_EXTERN (i.e. directly linked).
2015-11-13Cleanup: readfile: cleanup a bit error messages.Bastien Montagne
Printing those twice is already not so nice, but at least let's try to print same thing, and avoid repetition of 'ERROR' in it.
2015-11-12Cleanup: rename line to segments, avoids confusionCampbell Barton
Differentiate between lines and segments.
2015-11-12Cleanup: unused definesCampbell Barton
2015-11-11Cleanup: replace more direct id->us handling by calls to BKE_library API.Bastien Montagne
2015-11-11And another fix to psys ID handling - ParticleSystem->part **is** user counted!Bastien Montagne
2015-11-11Fix (unreported) foreach ID looper going over some psys' IDs twice...Bastien Montagne
2015-11-11OpenGL Render: Support full-sample Anti-AliasingCampbell Barton
This brings back old (slower), higher quality method. Useful since graphics cards often use a faster MSAA which only oversamples edges.
2015-11-11Cleanup: GL Render (simplify internal logic)Campbell Barton
Reduce code-paths so improvements to 3D view render apply to sequencer too.
2015-11-11Free libraries last, and not first - most datablocks may have link to those...Bastien Montagne
2015-11-11Fix (unreported) potential crash: ParticleSystem->part shall never be NULL.Bastien Montagne
2015-11-11Fix T46694: UVLoop incorrectly copied flagCampbell Barton
Error in copying customdata flag lead to pin being randomly enabled.
2015-11-10Cleanup: use func definitions for wm/notifiers/editors ID callbacks.Bastien Montagne
2015-11-10Correct order-of-freeing error from last commitCampbell Barton
2015-11-10Cleanup: ID usercount: moar checks and factorization. No change in behavior ↵Bastien Montagne
expected.
2015-11-10Fix T46720: Crash applying subsurf modifierCampbell Barton
Freeing a modifier that had data in the derived mesh could crash (applying or removing).
2015-11-10Cleanup: minor deduplicate of code.Bastien Montagne
2015-11-09Cleanup: `BKE_library_update_ID_link_user`: use `id_us_ensure_real` for ↵Bastien Montagne
`IDWALK_USER_ONE`.
2015-11-09Fake user: add BKE_library helpers to set/clear that flag.Bastien Montagne
Since it also involves usercount manipulation, safer and cleaner to do it in BKE_library...
2015-11-09Rework a bit id_us_min, and make it assert on usercount error.Bastien Montagne
2015-11-09Cleanup: avoid incrementing/decrementing id->us outside of BKE_library.Bastien Montagne
We have callbacks for that, they also do some checks and help ensure things are done correctly. Only place where this is assumed not true is blenloader (since here we may affect refcount of library IDs as well...).
2015-11-09Fix broken groupobject usercount handling.Bastien Montagne
As we can see in (original) read code, ob pointer in groupobject is actually a 'USER_ONE' case. This was not done in 'add object to group' code, probably because we can assume objects always have at least one user in that case? Made it explicit now. Also fixed foreach_ID_link looper. In general we have waaayyyyyy too much 'own handling' of ID->us count in code currently, will clean up that...
2015-11-08Remove unused header filesSergey Sharybin
Was a left-over from recent OpenSubdiv changes.
2015-11-08Fix T46712: Crash while rendering Freestyle sceneSergey Sharybin
The issue was in fact caused by missing initialization of motion blur shutter curve for all new scenes when not using "Copy Scene Settings" option.
2015-11-07Cleanup: spelling, headersCampbell Barton
2015-11-05Cleanup: comments/styleCampbell Barton
2015-11-04Fix compilation error with OpenSubdiv disabledSergey Sharybin
2015-11-04OpenSubdiv: Use pool for delayed OpenGL buffers free when freeing from ↵Sergey Sharybin
non-main thread This is really similar to what GPU module was already doing. There are number of possible improvements still: - Re-use allocated VAOs when requesting new ones instead of going to the trouble of freeing VAO and then re-creating it again. - Move VAO handling to GPU module. Fixes T46589: OpenSubdiv crash with drivers
2015-11-03Fix T46672: Concurrent access to source DM in datatransfer modifier.Bastien Montagne
There is no real elegant solution here, ideally a modifier shall never *modify* a source DM, but that would imply much better ways to ensure required data is available in that source DM, which we do not have currently. So instead, let's use brute force solution for now and always create a local copy of our source DM, that we can modify to our heart content!
2015-11-03imp: show alert color if mesh has weight groups but no active group is selectedGaia Clary
2015-11-03Avoid assert weight painting w/o an active groupCampbell Barton
2015-11-03Fix T46611: Vertex group locking failsCampbell Barton
2015-11-03Fix related to T46567: Skin modifier: add a warning message when no valid ↵Bastien Montagne
root vertex is found. Otherwise user may have a hard time understanding why their modifier is no more working after they e.g. deleted some vertices... including the root one. ;)