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-02-20Fix possible (unlikely) memory leakCampbell Barton
2015-02-19Cycles: Use size_t for aligned allocatorSergey Sharybin
Seems it got changes by accident to int during guarded allocation work, causing bad memory allocations.
2015-02-19Skip flip check in cases where it's not needed.Antony Riakiotakis
2015-02-19Remove flipping for colinear case/ In such cases it is doubtful whetherAntony Riakiotakis
face orientation is really meaningful
2015-02-19Projective painting: Only dither if factor is more than zeroAntony Riakiotakis
2015-02-19Fix T43735 painting on perpendicular to the screen polygons isAntony Riakiotakis
problematic (still!) It seems due to floating point precision issues we have to account for even more cases. Added colinear check for one more triangle edge-vertex and assumed that if no collision test is found then triangle is completely inside box. Such cases are mostly from float precision not catching triangle just outside bucket. Now tests are much better for simple tests (paint/flood fill cube from ortho view, paint sphere), however there are still some rare cases of stray pixels.
2015-02-19Cycles: Cleanup for indentation in device_cpu.cppSergey Sharybin
Perhaps became broken after rather recent change about which entry point to kernel to use.
2015-02-19Cycles: Free memory used by intermediate BVH vectors earlierSergey Sharybin
Ideally we should get rid of those temporary vectors anyway, but it's not so trivial because of the alignment. For untl then we'll just have a bit worse solution. This part of code is not the root of the issue of memory spikes for now anyway. But since we're getting rid of temporary memory earlier actual spike is a bit smaller as now. For example in franck_sheep file it's now 5489.69MB vs. previously 5599.90MB.
2015-02-19Cycles: Reduce memory used by background light updateSergey Sharybin
Simple change: just get rid of intermediate data a bit earlier, before final pixels array is being allocated. This gives around 30% of memory save during light update (this is about 60meg in the frank sheep file i'm using here). This isn't really visible by artists a lot, because actual spike happens on BVH construction. But it doesn't mean we shouldn't be accurate with memory usage in other areas.
2015-02-19Cleanup: Restructure curve settings code a bit.Thomas Dinges
This is a bit more logical, as it better represents the 3 primitive types we have.
2015-02-19Fix 2d paint issue with textured brushes: Multiply brush color withAntony Riakiotakis
texture in the right space
2015-02-19bge physics: disallowing compound collisions for soft bodiesInes Almeida
Closes D610, T40427, T30630 Cherrypicked from local squash Conflicts: release/scripts/startup/bl_ui/properties_game.py
2015-02-19BGE physics: adding links to bullet documentationInes Almeida
2015-02-19gameengine physics: removing triangle mesh collision option for character ↵Ines Almeida
controllers
2015-02-19gameengine physics: removing compound option for character controllersInes Almeida
Cherrypicking c31d921 onto 117edbb Conflicts: release/scripts/startup/bl_ui/properties_game.py
2015-02-19Animation ghosting: when tweaking start-end values don't clamp userAntony Riakiotakis
input, instead make sure the end-start values are sane instead
2015-02-19Guardedalloc: Reset peak memory should set peak to currently allocated memorySergey Sharybin
Otherwise statistics could be really funny looking.
2015-02-19Cycles: Make sphere and tube image mapping friendly with OpenCLSergey Sharybin
OpenCL doesn't let you to get address of vector components, which is kinda annoying. On the other hand, maybe now compiler will have more chances to optimize something out.
2015-02-19Cycles: Make util_math_fast.h compatible with OpenCLSergey Sharybin
2015-02-19RNA: pass only 0/1 to RNA_property_boolean_setCampbell Barton
2015-02-19RNA: poll functions restricting object typesCampbell Barton
D1100,D1105,D1106 by @lichtwerk
2015-02-19Generate correct Cycles node setup for quick smoke "fire" preset.Thomas Dinges
Patch by Gottfried Hofmann. Differential Revision: https://developer.blender.org/D1103
2015-02-19Fix T43652: X11 "_NET_WM_PID" not set by GhostCampbell Barton
D1107 by @kevindietrich
2015-02-19Ghost/X11 cleanup (reduce variable scope)Campbell Barton
2015-02-19BGE: Fix T41502 Path following jumpingJorge Bernal
New Lock Z velocity parameter was added. This parameter avoid the micro-jumping. By default it is actived except when you load an old file that it is deactived to keep former behaviour. Additionally it was solved another issue related with the acceleration: That is the acceleration value was not taked into account and we had always the maximum linear velocity from the beginning of movement. Now the acceleration is taken into account until we reach the maximum velocity. When you load an old file, the acceleration value is set to the maximum range (1000.f). This way we simulate a maximum velocity constant from the beginning of movement (former behaviour). {F142195} Reviewers: moguri, dfelinto, campbellbarton Reviewed By: campbellbarton Subscribers: sergey Differential Revision: https://developer.blender.org/D1074
2015-02-19Fix Cycles OpenCL error with scons, util_math_fast.h was missing.øThomas Dinges
2015-02-19Fix minor mistake - only increase size of compositing when stencil -is-Antony Riakiotakis
set.
2015-02-19Report total unfreed memory size on exitSergey Sharybin
Previously only number of unfreed blocks would have been printed, which might not be totally enough during investigation process.
2015-02-18Guardedalloc: Add extra logging and checks in MEM_freeN()Sergey Sharybin
We don't like when NULL is send to MEM_freeN(), but there was some differences between lockfree and guarded allocators: - Lockfree would have silently crash, in both release and debug modes - Guarded allocator would have printed error message, abort in debug but keep working in release build. This commit makes lockfree allocator behavior to match guarded one.
2015-02-18Cycles: Make aligned allocation to respect WITH_BLENDER_GUARDEDALLOCSergey Sharybin
Title pretty says it all actually. Can only briefly mention that we're indeed entering that state when after applying some WIP patches having much fuller statistics about memory usage would help giving exact memory benefit.
2015-02-18CMake: remove expression in endif(...)Campbell Barton
2015-02-18CMake: indent & missing headerCampbell Barton
2015-02-18CMake: picky style editCampbell Barton
'cmake_consistency_check.py' relies on this formattng.
2015-02-18RNA: assert when non 0/1 values used as boolCampbell Barton
Prepare for using 'bool' type.
2015-02-18RNA: assert on over-sized array index accessCampbell Barton
2015-02-18RNA: use __func__ for alloc-id'sCampbell Barton
2015-02-18BGE: Fix T42437: Physics/Compound bugJorge Bernal
Null check to verify that parent has a character controller. Otherwise (i.e empty) it will crash. Reviewers: moguri, campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D1115
2015-02-18BGE: Fix T41570: Blender crash when physics createConstraintJorge Bernal
Move physicsid type to unsigned long long to avoid crashes on Windows 8.1 64bits. Other systems also modified to put them inline with this solution. Reviewers: dfelinto, brita_, moguri, juicyfruit, campbellbarton Reviewed By: juicyfruit, campbellbarton Subscribers: juicyfruit Differential Revision: https://developer.blender.org/D1122
2015-02-18Fix T43716 regression in mask modifier - edges could access out ofAntony Riakiotakis
bounds indices of vertices. Issue here is that if we copy edge customdata the MEdge data that were previously written get overwritten, solution is to write indices and flags last (probably writing flags is superfluous here).
2015-02-18Cycles: Initialize "headless" flags on engine initializationSergey Sharybin
This flag is global for all the sessions and never changes. so it doesn't really make sense to pass it around to all sessions and synchronization routines. Switched to a static member of BlenderSession now, but it's probably more logical to introduce some sort of BlenderGlobals. Doesn't currently worth a hassle for a single boolean flag tho.
2015-02-18Cleanup: Remove unused SD_PHASE_HAS_EVAL flag.Thomas Dinges
We only have a non-singular volume closure and therefore no need to distinguish it.
2015-02-18Cleanup for Cycles hair shader ifdefs.Thomas Dinges
sc->T and sc->data2 were behind __HAIR__ ifdef, now they are not anymore, so we can always assign the correct value.
2015-02-18Cleanup: Remove support for Boost filesystem 2.Thomas Dinges
This is deprecated since Boost 1.48.
2015-02-18New filebrowser bookmarks: Some minor fix/optimization from latest coverity ↵Bastien Montagne
report.
2015-02-18Fix Windows build.Bastien Montagne
Mighty M$VC never heard of 'strcasecmp' family of functions, it prefers its own names, as usual...
2015-02-18Include SDL information in system info text.Sybren A. Stüvel
Adds bpy.app.sdl to expose SDL version information. When SDL is not available on a Linux system, certain Blender features are silently disabled (like joystick support in the BGE). This change is the first step towards making it more obvious why something isn't working. SDL information is exposed to Python via bpy.app.sdl, in the same way as OCIO and OIIO information is exposed. Generated system-info.txt contains SDL loading method (linked or dynamically loaded by Blender) and SDL version number. Reviewed by: sergey, campbellbarton Differential Revision: https://developer.blender.org/D1112
2015-02-18Cleanup: Use bools in BVHParams class.Thomas Dinges
2015-02-18Use clamp to border for brushes or textures can "leak" after rotatingAntony Riakiotakis
texture coordinates of brushes (in rake mode).
2015-02-18GPencil: RMB menu tools in Outliner works for GP Layers nowJoshua Leung
It would be even better if these used their own dedicated menu which could include the protect values too, but this one at least works now
2015-02-18GPencil Fix: Added checks to ensure that copy/paste doesn't paste ↵Joshua Leung
incompatible strokes There was a problem with the copy/paste functionality, where it would be possible to paste 3d strokes into 2D editors, or 2D strokes into the 3D view. The problem with that though is that these will not show up, and because there's no feedback at the time, users may end up doing this pasting several times.