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-10-18Fix T53098, T53079: OpenCL world texture errors after recent changes.Brecht Van Lommel
2017-10-17Make auto handle placement aware of cyclic extrapolation.Alexander Gavrilov
Cyclic extrapolation is implemented as an f-curve modifier, so this technically violates abstraction separation and is something of a hack. However without such behavior achieving smooth looping with cyclic extrapolation is extremely cumbersome. The new behavior is applied when the first modifier is Cyclic extrapolation in Repeat or Repeat with Offset mode without using influence, repeat count or range restrictions. This change in behavior means that curve handles have to be updated when the modifier is added, removed or its options change. Due to the way code is structured, it seems it requires a helper link to the containing curve from the modifier object. Reviewers: aligorith Differential Revision: https://developer.blender.org/D2783
2017-10-17Fix T52959: Local view looses clip range on exitCampbell Barton
2017-10-17Fix T53074: Use the pybuffer->itemsize to get the corresponding GLtypeGermano
It seems that `typestr` does not always define the final size of the element. And it varies by operating system. Then use the `typestr` only to know the itemtype is `float` type or not.
2017-10-17Fix T53007: OpenSubdiv + transparency = artefact/crashesSergey Sharybin
2017-10-17GPU: Report number of compressed texture formats to help nailing crahs down ↵Sergey Sharybin
in the future
2017-10-17GPU: Fix memory corruption in GPU_debug on GTX1080Sergey Sharybin
Number of texture formats is 51, which is greater than allowed size of 32.
2017-10-17Added alpha channel check to Alembic unit testSybren A. Stüvel
It was broken due to 823bcf1689a3dbd44dd77b2c8ea46b9b54073c46, which added alpha information and thus changed tuple size from 3 to 4 items.
2017-10-17WM: move gesture operator callbacks into own fileCampbell Barton
`wm_operators.c` is near 5k LOC with lots of mixed functionality, extract gesture callbacks since they aren't closely related.
2017-10-17Cleanup: use 'e' prefix for enum typedefsCampbell Barton
Convention was only followed loosely, apply to DNA where changes aren't likely to conflict. (Skipped ModifierType for eg).
2017-10-17WM: immediate line-gesture activation on tweakCampbell Barton
Matches border-gesture behavior, needed for binding bisect to tweak event.
2017-10-17Knife Tool: add wait_for_event optionCampbell Barton
2017-10-16Replace freeing checks with MEM_SAFE_FREEJoshua Leung
2017-10-16WM: refactor gestures for use as toolsCampbell Barton
Border and circle select wait for input by default. This commit uses bool properties on the operators instead of magic number (called "gesture_mode"). Keymaps that define 'deselect' for border/circle select begin immediately, exiting when on button release.
2017-10-16Fix T53054: Parentless bone + IK crashesCampbell Barton
2017-10-16Cleanup: modal operator border callback namesCampbell Barton
Use same convention as all others. Remove 'select' since these are used for zoom as well.
2017-10-16WM: store modal operator last-propertiesCampbell Barton
Avoids modal operators needing to explicitly store them.
2017-10-16WM: Don't save mouse-paths to operator historyCampbell Barton
In preparation for modal operators storing their properties, no need to keep mouse-paths around. Also use generic function for lasso properties.
2017-10-16WM: remove hard-coded circle radius memoryCampbell Barton
Replace with operator type 'last_properties'. Also use generic function for circle gesture properties.
2017-10-16Event System: Prevent mouse motion in click eventsCampbell Barton
Don't convert mouse button events to click if they include dragging. Double-click events already checked for this.
2017-10-16Cleanup: simplify lasso reallocationCampbell Barton
Remove unneeded define, double allocations when increasing.
2017-10-16Cleanup: rename gesture mode to is_activeCampbell Barton
Wasn't obvious what this did at a glance.
2017-10-15Code cleanup: deduplicate primitive refit code.Brecht Van Lommel
2017-10-15Fix bad 'poll' prop callback API doc.Bastien Montagne
This was added to all prop types, when it is only available for Pointer ones.
2017-10-15Fix OpenCL performance regression after cubic interpolation.Brecht Van Lommel
Reorganize code to reduce register pressure.
2017-10-14Edit Mesh/Curve: Median center for click extrudeCampbell Barton
Was using bound-box center which depends on rotation.
2017-10-14Add some basic 4K render presets.Bastien Montagne
This difinition is becomming rather common now, time to add it to our collection imho (requested in T53064).
2017-10-14Edit Mesh: click extrude, ensure inverse matrixCampbell Barton
Relied on this being set elsewhere which isn't assured.
2017-10-14Correct bezier curve assertCampbell Barton
Bezier curves should have v-points zero'd.
2017-10-14Cleanup: use const for eventsCampbell Barton
2017-10-14Hide "Confirm on Release" button from transfor redo optionsJulian Eisel
Hide-flag wasn't set so option shows up in keymap editor. But seems like that flag is ignored there by now anyway.
2017-10-12Fix T53052: ID decrement error when deleting a scene, either python or GUI.Bastien Montagne
User count of scenes was inconsistant, screens only have 'user_one' kind of owning over scenes, which means they shall never increment or decrement their real user count. And usually, scenes have no real user at all.
2017-10-12Fix T52999: floating (popup) panels/menus could jump around screen in some ↵Bastien Montagne
cases. Would happen during panel's refresh drawing, if drawing code had to adjust final panel position compared to the initial one computed based on the mouse coordinates, and user had dragged the floating panel around. Issue fixed by adjusting stored mouse coordinates once final panel position is known, such that they would directly generate those coordinates. that way, the basic offset applied to those stored mouse coordinates during panel dragging is valid, and recreating panel based on those won't make it jump in screen. Note that panel will still jump in case user dragged it partially out of view - we could prevent that, but imho it's better to keep that behavior, since redraw can generate a popup of different size, which could end up with a totally out-of-view one... Hopefully this fix does not break anything else!
2017-10-12Docs: add note for bmesh face_split_edgenetCampbell Barton
2017-10-11Fix T53048: OSL Volume is broken in Blender 2.79Sergey Sharybin
Was a mistake in optimization commit which was disconnecting closures and nodes which does not make sense for volume output. OSL script we can't ignore and can't currently know in advance if it's a proper volume shader or not. So we never disconnect OSL nodes from volume output. This is a good candidate for corrective release.
2017-10-11Cycles: Speedup up tangent space calculationSergey Sharybin
This patch goes away form using C++ RNA during tangent space calculation which avoids quite a bit of overhead. Now all calculation is done using data which already exists in ccl::Mesh. This means, tangent space is now calculated from triangles, which doesn't seem to be any different (at least as far as regression tests are concerned). One of the positive sides is that this change makes it possible to move tangent space calculation from blender/ to render/ so we will have Cycles standalone supporting tangent space. Reviewers: brecht, lukasstockner97, campbellbarton Differential Revision: https://developer.blender.org/D2810
2017-10-11Cycles: Add utility function to calculate triangle's normalSergey Sharybin
2017-10-11Cycles: Add utility function to remove given attributeSergey Sharybin
2017-10-11Cycles: Fix possible race condition when initializing devices listSergey Sharybin
2017-10-11Cycles tests: Don't proint braces for empty statusSergey Sharybin
2017-10-10Fix T53040: Vertex paint, texure & symmetry failCampbell Barton
Removed old logic for brush texture which was being applied twice.
2017-10-10Vertex Paint: add back missing VertProjHandle freeCampbell Barton
Also avoid passing large struct as value.
2017-10-10Correct logic for vertex paint smearCampbell Barton
Swapping gave values from the state before the last. Thanks to @angavrilov for spotting.
2017-10-10Fix Sculpt 2D falloff, missing brush caused crashCampbell Barton
2017-10-10Cycles: Fix compilation of sm_20 and sm_21 kernelsSergey Sharybin
Was broken since the bicubic commit for GPU support.
2017-10-09Recent check for navigation missed NULL checkCampbell Barton
2017-10-09UI: VSE strip menu reorganizationAaron Carlisle
Add Inputs and Transform submenus.
2017-10-08Cycles: schedule more work for non-display and compute preemption CUDA cards.Brecht Van Lommel
This change affects CUDA GPUs not connected to a display or connected to a display but supporting compute preemption so that the display does not freeze. I couldn't find an official list, but compute preemption seems to be only supported with GTX 1070+ and Linux (not GTX 1060- or Windows). This helps improve small tile rendering performance further if there are sufficient samples x number of pixels in a single tile to keep the GPU busy.
2017-10-08Fix T53017: Cycles not detecting AMD GPU when there is an NVidia GPU too.Mathieu Menuet
Best guess is that cuInit() somehow interferes with the AMD graphics driver on Windows, and switching the initialization order to do OpenCL first seems to solve the issue.
2017-10-08Fix potential string buffer overruns.Bastien Montagne
Note that our library path handling is still rather dodgy on this regards, shall take some time at some point to seriously sanitize it...