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-09-16Merge branch 'master' into blender2.8Sergey Sharybin
2016-09-16Fix jumping view when expanding graph editor channel over view boundsJulian Eisel
Didn't change versioning_250.c entries, flags will be overridden anyway.
2016-09-16Fix vertical scrollbar adding to region width in graph editorJulian Eisel
Had to calculate draw region width based on region size excluding scrollbars.
2016-09-16Remove debug only codeSergey Sharybin
Thanks Severin for spotting it!
2016-09-16Tweak for pinned/always visible curves in Graph EditorSergey Sharybin
Allow such kind of pin for armature bones.
2016-09-16Added buttons to move a pose in a pose library up/down.Sybren A. Stüvel
This will break the pose library preview add-on, since that add-on uses file indices rather than pose names.
2016-09-16Picky correction to previous commitJulian Eisel
A bit nicer to do empty-string check for operator poll message as well.
2016-09-16UI: Allow showing why button is disabled in tooltipJulian Eisel
Uses red alert color. Operators that failed poll check already did this.
2016-09-16OpenSubdiv: Remove redundant section define from shader compilationSergey Sharybin
2016-09-16OpenSubdiv: Split shader source filesSergey Sharybin
Was a bit annoying to do tweaks in a file which contained all vertex, geometry and fragment shaders.
2016-09-16GPencil: Remove toggle option for pop-up specials menuAntonioya
According UI rules, no toggle options in pop-ups menus, so remove it.
2016-09-16Fix T49349: Baking action doesnt bake multiple objects.Bastien Montagne
Tooltip was wrong here, it can only bake a single (active) object, 'only selected' option is for pose bones only...
2016-09-16GPencil: Add a new special menu for editing and replace subdivision shortcutAntonioya
Replace the W shortcut for subdivision by a new menu for edit specials in order to keep consistency in UI. Subdivision is not used all the time, so it's better assign this shortcut to menu.
2016-09-16Fix T49372: Fresnel node: difference between 2.76 and 2.78 GLSL outputSergey Sharybin
2016-09-16GPencil: New subdivide stroke operatorAntonioya
In some situations the artist needs to subdivide a stroke created with few points before, specially for sculpting. The subdivision is done for any pair of continuous selected points in the same stroke. The operator can be activated in edit mode with W key and has a parameter for number of cuts.
2016-09-16OpenGL render: Move file writing to a separate threadSergey Sharybin
The idea is to have a dedicated thread which is responsive for all the file writing to a separate thread, so slow disk will not slow down OpenGL itself. Gives really nice speedup around 1.5x when exporting barber shop layout file to h264 video.
2016-09-16Fix T49369: Blender crashes/closes down application at alembic export ofKévin Dietrich
any object There were a couple of crashes caused by stupid typos in rB631af9f930d2fd2c76751204ff22239aa95f761d and rB78ea06fea4a74181c25254ed72d50d8a743b6954, as well as a shamefull lack of 'testing before committing' which only affect exporting. One crash was due to using RNA_boolean_get instead of RNA_enum_get, the other one was a tricky case of order of deletion happening in the destructors of AbcExporter and ArchiveWriter. Should not affect RC or release.
2016-09-15Gawain improvementsMike Erwin
Fixed compile error in debug build (thanks mont29) Renamed some functions for consistency. New features: Create a Batch with immediate mode! Just use immBeginBatch instead of immBegin. You can keep the result and draw it as many times as you like. This partially replaces the need for display lists. Copy a VertexFormat, and create a VertexBuffer using an existing format. Resize a VertexBuffer to a different number of vertices. (can only resize BEFORE using it to draw)
2016-09-15Extend Gawain to use Blender's built-in shadersMike Erwin
Was already done for immediate mode, but rearranged code to make a clean separation. Cleaned up #includes for code that uses this feature. Added same for batched rendering.
2016-09-15Gawain: batch rendering APIMike Erwin
Follow-up to rBddb1d5648dbd API is nearly complete but untested. 1) create batch with vertex buffer & optional index buffer 2) choose shader program 3) draw!
2016-09-15Cleanup: Redundant forward declarationSergey Sharybin
2016-09-15Fix mistake in previous commitSergey Sharybin
Was copying things in other way around and was not performing proper color space conversion.
2016-09-15OpenGL render: Avoid byte-float-byte roundtripSergey Sharybin
It was annoyingly slow to do roundtrip from byte OpenGL render to float render result and back to byte image format (which is used in 99% of cases for the OpenGL previews), Now we use render result's rect32 to store render result which is already supposed to be in the display space. Gives about 30% speed improvement for OpenGL previews here.
2016-09-15OpenCOlorIO: Add explicit linearSRGB -> sRGB lookup tableSergey Sharybin
Previously converting from linear space to SRGB was doing rather slow inverted 1D lookup. Adding explicit inverse LUT gives 20% speedup of OpenGL render. Next question is: why do we even bother with sRGB conversion here, OpenGL is already in the proper space so in theory we can avoid quite some color space conversions. In any case, having this case optimized in nice anyway.
2016-09-15OpenGL render: Add developer option to easily enable time informationSergey Sharybin
2016-09-15Bring blender_release.cmake uptodate with the changes from D2227lazydodo
2016-09-15[windows] add some helpers to make.bat to facilitate making release builds.lazydodo
New features: 1) Release target that checks for both cuda 7.5 and 8 with WITH_CYCLES_CUDA_BINARIES=ON and CYCLES_CUDA_BINARIES_ARCH=sm_20;sm_21;sm_30;sm_35;sm_37;sm_50;sm_52;sm_60;sm_61 options set. 2) Option to switch between x86 and x64 builds, the default remains (auto detect the architecture) but can be overridden. 3) Option to switch between vs12(2013) and vs14(2015) default is 2013. Reviewers: juicyfruit, sergey Reviewed By: sergey Tags: #platform:_windows Differential Revision: https://developer.blender.org/D2180
2016-09-15Gawain: simplify attrib binding APIMike Erwin
This API is used internally by the immediate and batch drawing systems.
2016-09-15Gawain: delete bind_attrib_locationsMike Erwin
This function modifies the GL program object, which reduces our ability to share a shader among meshes with different vertex formats. Recommended approach is to use get_attrib_locations.
2016-09-15Depsgraph: Avoid some false-positive time dependencies of scripted driversSergey Sharybin
This was quite weak to consider all scripted expression to be time-dependent. Current solution is somewhat better but still crappy. Not sure how can we make it really nice.
2016-09-15Fix filebrowser not getting back to valid dir in Release builds.Bastien Montagne
Stupid mistake wrapping path validation code inside a BLI_assert, which means it was only called in Debug builds... Found by Sergey, thanks. Should be backported to 2.78.
2016-09-15Fix crash in some cases when deleting particle systems.Bastien Montagne
Those 'never null' ID pointers are really a PITA to handle... luckily we don't have much of those around! Found by Sybren, thanks. Should be backported to 2.78.
2016-09-15Fix Py's IDs user mapping: do not consider ShapeKeys' from here.Bastien Montagne
This is internal pointer helper for scene evaluation and tools, though exposed to bpy API, it can give false 'dependency cycles' in bpy.data.user_map() results. That's followup to rBe007552442634 really, both should be backported to 2.78
2016-09-15OpenGL render: Skip GP passes if viewport has GP visibility disabledSergey Sharybin
2016-09-15Fix Py's IDs user mapping: do not consider proxy_from here.Bastien Montagne
This is internal pointer helper for scene evaluation and tools, it's not exposed to bpy API anyway, and can give false 'dependency cycles' in bpy.data.user_map() results. Found by sybren in his Splode work.
2016-09-15Use temp .blend file copybuffer for pose copy-pasteSergey Sharybin
Uses similar way of storing temp data as object copy paste, just uses different read entrypoint which does not modify current bmain. This gives ability to easily copy-paste poses from one blender to another one. Hopefully doesn't introduce user-measurable differences. Request from Peer here in the studio. Reviewers: mont29 Reviewed By: mont29 Subscribers: hjalti, fsiddi Differential Revision: https://developer.blender.org/D2229
2016-09-15Revert "Cycles: Tweak empty boundbox children"Sergey Sharybin
This reverts commit ecbfa31caaadb03c53c0fe1459718b99613c8804. Original commit broke logic in nodes re-fitting. That area can access non-existing children momentarely. Not sure what would be best solution here, for now simply reverting the change/
2016-09-15Fix T49179: Parts of mesh disappear with adaptive subdivisionMai Lavelle
Problem was zero length normal caused by a precision issue in patch evaluation. This is somewhat of a quick fix, but is better than allowing possible NaNs to occur and cause problems elsewhere.
2016-09-14Cycles: Deduplicate light pass codeLukas Stockner
2016-09-14Cycles: Stop lamp sampling if the lamp isn't visibleLukas Stockner
Both spot and area light have large areas where they're not visible. Therefore, this patch stops the light sampling code when one of these cases (outside of the spotlight cone or behind the area light) occurs, before the lamp shader is evaluated. In the case of the area light, the solid angle sampling can also be skipped. In a test scene with Sample All Lights and 18 Area lamps and 9 Spot lamps that all point away from the area that the camera sees, render time drops from 12sec to 5sec. Reviewers: brecht, sergey, dingto, juicyfruit Differential Revision: https://developer.blender.org/D2216
2016-09-14Cycles: Also support the constant emission speedup for mesh lightsLukas Stockner
Reviewers: brecht, sergey, dingto, juicyfruit Differential Revision: https://developer.blender.org/D2220
2016-09-14Fix T49352: Blender's file browser do not display previews.Bastien Montagne
Own stupid 'logical inversion' mistake in rBa2677100fef06af.
2016-09-14fix Mac build with Xcode 8Mike Erwin
Small issues in GHOST - use NSApplicationDelegate protocol for our app delegate - make sure NSApp is initialized before using (cherry picked from commit df7be04ca6d4b6dccc998445386228699d72d072)
2016-09-14Gawain: flesh out VertexBufferMike Erwin
create, specify, fill with data
2016-09-14fix Mac build with Xcode 8Mike Erwin
Small issues in GHOST - use NSApplicationDelegate protocol for our app delegate - make sure NSApp is initialized before using
2016-09-14Cleanup: Fix epic indent failure in previous commit :/Bastien Montagne
2016-09-14Fix missing PaintCurves list in bpy.dataBastien Montagne
Minimal list features for now, no add/remove stuff, that we can add later... Reported by sybren. Should be safe for 2.78.
2016-09-14Fix memory leak in copy pose operatorSergey Sharybin
2016-09-14Fix T49342: TypeError when autocompleting bpy.app.something.Bastien Montagne
Regression from rB036c006cefe471. We can't use self here, self is bpy.app, not pydescriptor of python path getsetter... So for now, do not try to replace getsetter by actual value in bpy.app's dict, just return static var generated on first run. Should be safe for 2.78.
2016-09-14Fix T49341: Bad motion blur behavior in Cycles when using Speed effect in ↵Sergey Sharybin
Sequencer Cycles was thinking it always rendering integer frame, which is not correct.