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-04-13Smoke: Updated mantaflow sourcesRoman Pogribnyi
2015-03-16after-merge errors fixedRoman Pogribnyi
2015-03-15Merge branch 'master' into soc-2014-fluidRoman Pogribnyi
2015-03-14Cleanup: styleCampbell Barton
2015-03-14BGE: Fix for T43788 Light casts shadow when use_shadow uncheckedJorge Bernal
Makes use_shadow usage consistent across supported lamp types (Spot and Sun) Differential D1148 Reviewers: Moguri, Brecht
2015-03-13RNA: avoid inefficient array printingCampbell Barton
2015-03-13Add argument to DM_to_mesh() function to take ownership over the DMSergey Sharybin
The idea is pretty simple: instead of making temporary copy of all the related custom data layers just pass the ownership from the DM to the mesh. This is really handy in cases when you've got DM which you need to convert to Mesh datablock and wouldn't need that DM after conversion anyway. Foe example, render database conversion, exporters and even Modifier Apply will benefit from this option. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D1127
2015-03-13Add an option to mesh.calc_tessface() to get rid of polygons and loopsSergey Sharybin
The purpose of this change is to add extra possibility to render engines and export scripts to reduce peak memory footprint during their operation. This new argument should be used with care since it'll leave mesh in not really compatible with blender format, but it's ok to be used on temp meshes. Unfortunately, it's hard to get scene where it'll show huge benefit because in my tests with cycles peak memory is reached in MEM_printmemlist_stats(). However, in the file with sintel dragon it gives around 1gig of memory benefit after removing the polys which would allow other heavy to compute stuff such as hair (or even pointiness calculation) to not be a peak memory usage. In any case, this change is nice to have IMO, and only means more parts of scene export code should be optimized memory-wise. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D1125
2015-03-13Cycles: Free caches used by the synchronized objectsSergey Sharybin
Issue this commit is addressed to is that particle system and particle modifier will contain caches once derived mesh was requested and this cached data will never be freed. This could easily lead to unwanted memory peaks during synchronization stage of rendering. The idea is to have RNA function in object which would free caches which can't be freed otherwise. This function is not intended to deal with derived final since it might be used by other objects (for example by object with boolean modifier). This cache freeing is only happening in the background rendering and locked interface rendering. From quick tests with victor file this change reduces peak memory usage by command line rendering by around 6% (1780MB vs. 1883MB). For rendering from the interface it's about 12% (1763MB vs. 1998MB). Reviewers: campbellbarton, lukastoenne Differential Revision: https://developer.blender.org/D1121
2015-03-13Fix T43959 jittering in 2D texture painting.Antony Riakiotakis
This is still not perfect, but should work smoother now. Previously there was visible wobbling while painting. This can be included in final release.
2015-03-13Fix unstable particle jittered distribution.Lukas Tönne
This was never working for threaded distribution.
2015-03-13Initial compilation support with C++11 featureset enabledSergey Sharybin
This commit makes some preliminary fixes and tweaks aimed to make blender compilable with C++11 feature set. This includes: - Build system attribute to enable C++11 featureset. It's for sure default OFF, but easy to enable to have a play around with it and make sure all the stuff is compilable before we go C++11 for real. - Changes in Compositor to use non-named cl_int structure fields. This is because __STRICT_ANSI__ is defined by default by GCC and OpenCL does not use named fields in this case. - Changes to TYPE_CHECK() related on lack of typeof() in C++11 This uses decltype() instead with some trickery to make sure returned type is not a reference. - Changes for auto_ptr in Freestyle This actually conditionally switches between auto_ptr and unique_ptr since auto_ptr is deprecated in C++11. Seems to be not strictly needed but still nice to be ready for such an update anyway/ This all based on changes form depsgraph_refactor branch apart from the weird changes which were made in order to support MinGW compilation. Those parts of change would need to be carefully reviewed again after official move to gcc49 in MinGW. Tested on Linux with GCC-4.7 and Clang-3.5, other platforms are not tested and likely needs some more tweaks. Reviewers: campbellbarton, juicyfruit, mont29, lukastoenne, psy-fi, kjym3 Differential Revision: https://developer.blender.org/D1089
2015-03-13CMake: unbundle LZO libraryCampbell Barton
Patch T41989 by @hasufell
2015-03-13Pass proper bmain to the updateDepgraph() of modifiersSergey Sharybin
This is mainly to make physics modifiers being able to work with it. For other cases this main is not needed.
2015-03-13Fix T43803: Crash playing smoke animation, when linked as group instanceSergey Sharybin
The issue was caused by missing relations between smoke domain and flow/source objects. This happened because smoke's modifier only iterated base objects and ignored cases when flow/source could be linked to scene via dupli-group and does not have real base. The same seems to be still needed for fluid and dynamic paint modifiers, will do it as a separate commit. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D1172
2015-03-13BGE: Fix for T43793 Increment frame_start/end value to 255 framesJorge Bernal
Currently, for animated textures we were allowing 16x16 tiles but we can reproduce 128 frames only. Reviewers: moguri, sergey, campbellbarton Reviewed By: sergey, campbellbarton Differential Revision: https://developer.blender.org/D1164
2015-03-12View3D: Quad-view opposite axis switchingCampbell Barton
Pressing Numpad9 now orbits to the opposite side in any viewport, with the advantage that it can switch locked-quadview axis to their opposite side.
2015-03-12Cleanup: remove unused viewnumpad codeCampbell Barton
2015-03-12D1171: Use GHash for BHead idname lookupsCampbell Barton
This patch avoids looping over bhead's linked list when looking up values by name. Used during appaned and library loading. Gives noticeable overall speedup loading files that used libraries. (nearly 2x on some Mango files)
2015-03-12Cleanup: use realloc for entry-array-resizingCampbell Barton
2015-03-12Cleanup: refactor header lookups into functionsCampbell Barton
2015-03-12Cleanup: use POINTER_OFFSET macroCampbell Barton
2015-03-12Fix T43974: Alpha output of movie clip node crashes blenderSergey Sharybin
Issue was caused by a bug in the memory optimization commit, should be backported to the final release branch.
2015-03-12Cleanup: styleCampbell Barton
2015-03-12makesrna: move extern prototypes into own headerCampbell Barton
Patch T36049 by @jeske
2015-03-12OpenEXR 2.2 add support for Dreamworks DWAA / DWAB compressionMartijn Berger
This patch makes it possible for the user to select all supported compression types in OpenEXR 2.2 Discussion points: - B44 is only defined for half's it compresses to a fixed representation of 44% of the halfs. We do currently not reflect in the UI that in the case of float32's it will be equal to compression = NONE - ZIPS is single scanline zip and is supposed to be useful in cases where importing in Nuke happens. - The new Dreamworks formats, are the worth exposing etc etc Reviewers: campbellbarton, sergey Reviewed By: sergey Projects: #bf_blender Differential Revision: https://developer.blender.org/D1050
2015-03-12Fix loading of indexed .bmp filesCampbell Barton
D1173 by @rdb Support for 1,2,4 bit images
2015-03-12Blender 2.75 release cycle start: BCon1Thomas Dinges
2015-03-12Py/RNA: add bpy.data.palettesCampbell Barton
2015-03-12CustomData: don't calloc when duplicating layersCampbell Barton
2015-03-12Cleanup: de-duplicate view3d clippingCampbell Barton
2015-03-112.74 version bumpCampbell Barton
2015-03-11Fix really stupid issue reported by Campbell, code retry to renderAntony Riakiotakis
without VBOs would return prematurely and leak.
2015-03-11Fix typo in RNA definition of "shape_key_add"Philipp Oeser
Reviewers: sergey Reviewed By: sergey Differential Revision: https://developer.blender.org/D1167
2015-03-11Fix 8bit BMP palette readingCampbell Barton
part of D1173 by @rdb, load BGR -> RGB
2015-03-11Fix flip node making unsigned int out-of-rangeCampbell Barton
2015-03-11Cleanup: styleCampbell Barton
2015-03-11Cleanup: indentationCampbell Barton
2015-03-11Fix T43342 bad rendering of normal maps on NVIDIAs on the MacOSAntony Riakiotakis
This is not limited to normal maps, it's just that normal maps cause a mix of interleaved vertex arrays + non interleaved vertex arrays + GLSL, which could confuse the GL. Possible explanation is that it may be clobbering the vertex index of the shader somehow but this is difficult to know without extensive tests and the Mac is needed by Francesco in the morning :). Do brute force solution instead, just force legacy drawing on Macs when VBOs is off. On the plus side VBOs work fine, so we should be fine when we update.
2015-03-10Fix T43831: Image Editor: Render info not displayedSergey Sharybin
Issue was caused by b62c2a9 and root of it goes to the fact that text info is stored in the "main" scene, not the currently rendering one. This is a bit annoying but making it so text and result are coming from the same scene is a bit dangerous to do now. Will re-visit this change after the release and see if it might be done in a more clear fashion.
2015-03-10Fix T43953, make opengl render work like before, basically, if we renderAntony Riakiotakis
transparent, it will render sky/transparent, regardless of the "show world setting".
2015-03-10Fix memory leak when using two bump maps on the same materialAntony Riakiotakis
2015-03-10Fix crash in mesh data transferCampbell Barton
2015-03-10Fix crash extruding an empty curveCampbell Barton
2015-03-10Fix crash enabling dyntopo in background modeCampbell Barton
2015-03-10Fix T43941: Grease pencil eraser outline vanishesCampbell Barton
2015-03-102D lowres smokeRoman Pogribnyi
2015-03-09Fix for yet another assert fail of particle dmcache index.Lukas Tönne
This is totally broken, just making sure Blender does not crash and devs can investigate other issues that are actually fixable.
2015-03-09Attempt to fix T43919, avoid using GPU_framebuffer_slots_bind just inAntony Riakiotakis
case a system does not support drawing to many framebuffers.
2015-03-09Fix T43674: Smoke collision does not detect obstacles reliably.Lukas Tönne
The smoke obstacle detection was using a maximum distance for BVH checks to find mesh elements that define boundary cells in the grid. This BVH test was using an arbitrary value of 0.6 cell units. It should be `sqrt(3)*0.5` to account for the maximum possible distance of mesh elements inside a cell. Otherwise some cells that should form the boundary are not detected as such (no closest mesh element found inside the radius), so you get gaps in the smoke obstacle.