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
2016-01-17Cleanup: styleCampbell Barton
2016-01-17Revert "Make 'incompatible pointer type' gcc warning an error by default."Campbell Barton
This reverts commit b5bd39b5182590fd4d5ddb24d7b7bdbe714d57bf. This is problematic because it means minor differences in system headers can cause errors (glew in this case errored for me both with system and Blender's bundled version). Developers can enable -Werror=* locally for warnings that aren't reliable across different systems.
2016-01-17Revert "Fix compile error in gpu_debug (incompatible-pointer-type)."Campbell Barton
This reverts commit 75cfc81ec39ac9953f25eb0ae5f9e70d3c24ee7e.
2016-01-17Point Cache bake: make sure endframe is initialize with a decent value.Kévin Dietrich
This is how the old code used to initialize it. Current value was failing big time when baking all caches (always set to MAXFRAME), and it was added right before commit to quiet a warning... (I know, I know...)
2016-01-17Dynamic Paint: use job system for the image sequence bake operator.Kévin Dietrich
Reviewers: brecht Differential Revision: https://developer.blender.org/D1732
2016-01-17Point Cache: use job system for bake operators.Kévin Dietrich
Reviewers: brecht Differential Revision: https://developer.blender.org/D1731
2016-01-17Fix compile error in gpu_debug (incompatible-pointer-type).Kévin Dietrich
2016-01-17Fix memory leak in (the still unused) WM_reportf.Brecht Van Lommel
2016-01-17Make 'incompatible pointer type' gcc warning an error by default.Bastien Montagne
This is the second time at least that kind of stuff slips in during one of my refactor, a mere warning here is really not enough (too easy to miss it)!
2016-01-17Fix T47189: Large smoke simulation sometimes make Blender crash.Bastien Montagne
Issue was with very thin domains along one or two axes, these could lead to simulation with only one cell width - and smoke code assumes we have at least 4 cells in each direction. So now, we clamp resolution to a minimum of 4 in smoke_set_domain_from_derivedmesh(). Note: in extreme cases like this report, this will generate very un-cubic cells, check it still works OK in 3DView is needed here. Thanks to @genscher and @kevindietrich for help on this issue. :)
2016-01-17Fix incorrect function for sculpt multithreading task after recent refactor.Brecht Van Lommel
2016-01-17WM: remove unnecessary context argument from WM_report, no good reason to ↵Brecht Van Lommel
have it.
2016-01-16Fix smoke BLI_task'ed code after recent refactor.Bastien Montagne
Curse gcc for not erroring by default on passing wrong func pointers... :/
2016-01-16OpenGL Smoke: fix possible inconsistency between fire shader/texture binding.Brecht Van Lommel
2016-01-16Cycles: Fix compilation with older OSLSergey Sharybin
We didn't switch to OSL-1.6.9 on all platforms yet, so please keep codeabse compiled with 1.5 for the time being.
2016-01-16Cleanup: BLI_task foreach looper API doc.Bastien Montagne
2016-01-16Cleanup: BLI_task - API changes.Bastien Montagne
Based on usages so far: - Split callback worker func in two, 'basic' and 'extended' versions. The former goes back to the simplest verion, while the later keeps the 'userdata_chunk', and gets the thread_id too. - Add use_threading to simple BLI_task_parallel_range(), turns out we need this pretty much systematically, and allows to get rid of most usages of BLI_task_parallel_range_ex(). - Now BLI_task_parallel_range() expects 'basic' version of callback, while BLI_task_parallel_range_ex() expectes 'extended' version of the callback. All in all, this should make common usage of BLI_task_parallel_range simpler (less verbose), and add access to advanced callback to thread id, which is mandatory in some (future) cases.
2016-01-16Fix (unreported) missing scene->gm.dome.warptext in libquery looper.Bastien Montagne
2016-01-16Fix T47188: Blender crashes when trying to undo adding new scene with "copy ↵Bastien Montagne
settings". Our RenderSettings struct may have a bit too much levels, makes it hard to track all 'pointer' data during copy... Fixed several issues here, but not sure I found all existing ones. :/
2016-01-16Fix T47180: Cycles deform motion blur + displacement behaves weirdlySergey Sharybin
Displacement shader was not updating motion vertex positions. Current solution is not totally correct because it applies same offset for all time steps. Ideally we'll need to evaluate displacement shader for every time offset separately, but currently we don't have subframe image access. For the time being will consider this a TODO.
2016-01-16OpenGL: remove redundant state changeMike Erwin
2016-01-16cleanup: C99Mike Erwin
- tighter scoping - declare closer to use - struct initializers - bool vs int
2016-01-16OpenGL: simplify some UI draw callsMike Erwin
- vectorscope grid - color ramp handles - box shadows (image file preview)
2016-01-16OpenGL: pull glBegin/End out of loopMike Erwin
so that all points here are drawn between one Begin/End pair.
2016-01-16OpenGL: fixes related to GL_POINTSMike Erwin
I put all usage of GL_POINTS under the microscope. Fixed problems & optimized a couple of spots. - reduce calls to glPointSize by about 50% - draw selected & unselected vertices together for UV editor & EditMesh - draw initial gpencil stroke point the proper size - a few other smaller fixes New policy: each GL_POINTS draw call needs to set its desired point size. This eliminates half our calls to glPointSize (setting it back to its 1.0 default after every draw).
2016-01-16Cleanup: stdbool no longer optional, remove checksCampbell Barton
2016-01-16Cleanup: use enum constant for DNA comparisonCampbell Barton
2016-01-16Blender Internal: subframe render supportCampbell Barton
Note this doesn't expose the option to the interface, it just means scripts that set the subframe can render (as with Cycles).
2016-01-16Cleanup: styleCampbell Barton
2016-01-16Fix T47181: Blender OSL script node crash (OSL 1.6.9)Lukas Stockner
Compiling OSL scripts with errors in them would cause Blender to crash since the OSL version bump to 1.6.9 instead of printing the error to the console as it did before. With version 1.6.2, OSL added a pointer to an OpenImageIO ErrorHandler as an argument to the OSLCompiler constructor. However, since it defaults to the NULL pointer, Blender still compiled fine after the OSL version bump. It turns out, though, that this pointer is used without further checks inside the OSL code, which makes it crash when it tries to report an error unless a valid ErrorHandler pointer is specified. Therefore, this commit simply passes a pointer to the static default handler that OIIO offers, which prints the error to the console just like OSL did before. Using this feature for a more advanced error handling and displaying from the Blender side would be possible and seems reasonable, but for now it's not really relevant for fixing this bug.
2016-01-15Cycles-Bake: Custom Baking passesDalai Felinto
The combined pass is built with the contributions the user finds fit. It is useful for lightmap baking, as well as non-view dependent effects baking. The manual will be updated once we get closer to the 2.77 release. Meanwhile the new page can be found here: http://dalaifelinto.com/blender-manual/render/cycles/baking.html Reviewers: sergey, brecht Differential Revision: https://developer.blender.org/D1674
2016-01-15Fix T47185: Wrong items order with template_icon_view.Bastien Montagne
2016-01-15Changes around update normals from PBVH to CDDMSergey Sharybin
- Only do this if PBVH is not used for display, this should correspond to whats' happening in sculpt.c now. - No need to do such synchronization for solid drawing, it supports optimal display from PBVH. In fact, such synchronization is only needed in the following case: Drawing callback does not support PBVH draw and sculpt session is configured to use PBVH for display and related operations.
2016-01-15Tracking: Make plane track sliding aware of closest mouseSergey Sharybin
Also made threshold aware of zoom, so now it's always 12px threshold regardless of how much you're zoomed in.
2016-01-15Tracking: Split tracking_ops into smaller filesSergey Sharybin
The file started to be rather really huge and difficult to follow. Should be no functional changes.
2016-01-15Tracking: Cleanup, use more strict code styleSergey Sharybin
Should be no functional changes.
2016-01-15Cleanup: used pre-defined atoms in ghostCampbell Barton
2016-01-15Tracking: Use sliding zone which is closer to the mouseSergey Sharybin
Previously it was simplier logic which only checked whether the mouse is inside of some area around sliding zone, which was resulting in wrong sliding zone used when zoomed out.
2016-01-15Fix T31063: X11 window resize fails on PPCCampbell Barton
X11 property access was using wrong sized types that only worked for little endian systems.
2016-01-15Fix crash w/ scripts run from the command line that load filesCampbell Barton
Also refactor context backup/restore into functions.
2016-01-15DNA: partial revert of long removalCampbell Barton
924c626 broke loading on systems with different endian. We could support reading values from SDNA, it isn't really worth the extra hassle. Long support is still removed, just keep enum values the same.
2016-01-14Fix T47168: Project image looses float precisionCampbell Barton
2016-01-14Doc: more detailed ImBuf.rect/rect_float commentsCampbell Barton
2016-01-14Cleanup: warning, whitespaceCampbell Barton
2016-01-14Improve multi-paint tipCampbell Barton
2016-01-14Usual fixes and tweaks for UI messages.Bastien Montagne
2016-01-14Fix broken i18n messages extracting script with new py code.Bastien Montagne
Some py devs are way too smart for our own good... :P
2016-01-14Cycles: One more attempt to fix issue mentioned in previous commitSergey Sharybin
2016-01-14Cycles: Fix typo in the debug panel commitSergey Sharybin
2016-01-14Cycles: Fix string compiler warnings after recent changesSergey Sharybin