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-08-15Cleanup/refactor: no new general arg-less macros enforcing var names please!Bastien Montagne
We do have an history of those pieces of evil in our code, would be nice to get fully rid of it, but at the very least let's not add more of them in new code. :)
2017-08-15Merge branch 'master' into blender2.8Sybren A. Stüvel
# Conflicts: # source/blender/makesrna/intern/rna_render.c
2017-08-15Cycles/BI: Add a pixel size option for speeding up viewport renderingLukas Stockner
This patch adds "Pixel Size" to the performance options, which allows to render in a smaller resolution, which is especially useful for displays with high DPI. Reviewers: Severin, dingto, sergey, brecht Reviewed By: brecht Subscribers: Severin, venomgfx, eyecandy, brecht Differential Revision: https://developer.blender.org/D1619
2017-08-14Fix T52331: Motion blur shutter length not keyableSergey Sharybin
The only reason shutter time was marked as non-animatable is because Blender Internal render does not support such animation. But this is something what users are keeping asking for and now Blender Internal is on it's way out. Enabled animation of this property, but noted in tooltip that Blender Internal does not support animation of this property.
2017-08-12Code cleanup: fix various compiler warnings.Brecht Van Lommel
2017-08-12Merge branch 'master' into blender2.8Campbell Barton
2017-08-12Cleanup: whitespaceCampbell Barton
2017-08-11iFix T52050: Empty VSE preview for scene strips with OpenGL preview + ↵Bastien Montagne
Rendered settings. 'OpenGL Preview' checkbox was redundant now, just use seq_prev_type value only. Might be OK for 2.79, but should be double-checked first...
2017-08-11Merge branch 'master' into blender2.8Campbell Barton
2017-08-11Object Apply Transform: option to apply propertiesCampbell Barton
In some cases users may want to disable this option to avoid changing other properties besides vertex locations.
2017-08-11Tweak maximum sizes of vertices/handle verticesJoshua Leung
* 255 maximum seems excessive for F-Curve handle vertices; now reduced to 100 * Vertex Size is no longer restricted to the old 10px maximum size limit (used because Windows limited the maximum vertex size drivers needed to support)
2017-08-11RNA: Operators were excluded from struct mapCampbell Barton
Recent changes meant structs that were registered without a name wouldn't get added to the map. Now assigning identifiers manages the struct-map.
2017-08-11Error in last commit, problems with unregisterCampbell Barton
We can't free the identifier before its used when removing from the ghash.
2017-08-11RNA: Use hash lookups for structsCampbell Barton
Adding structs was checking for duplicates causing approx 75k string comparisons on startup. While overall speedup is minimal, Python access to `bpy.types` will now use a hash lookup instead of a full linked list search. See D2774
2017-08-11Transform: Snap used multiple eval contextsCampbell Barton
Changes for 2.8x to use EvaluationContext caused some confusion - Would use scene layer passed from snap context. - Would generate duplis from Main eval context. - Would take context argument and use it to create another eval context. Adding context args all over and filling in a new eval-context for every ray-cast test isn't ideal either. Remove the context argument since the purpose of SnapObjectContext is to avoid this kind of confusion. Store the EvaluationContext once and re-use.
2017-08-10Merge branch 'master' into blender2.8Bastien Montagne
2017-08-10DPI: add back option to control line width, tweak default width.Brecht Van Lommel
Adds thin/default/thick modes to add -1/0/1 to the auto detected line width, while leaving the overall UI scale unchanged. Also tweaks the default line width threshold, so thicker lines start from slightly high UI scales. Differential Revision: https://developer.blender.org/D2778
2017-08-10Eevee: Refraction: Add "thickness" parameter.Clément Foucault
This enables to fake a second refraction event. This is great to simulate thin planar objects such as glass panels.
2017-08-10Eevee: Refraction: Make it available for opaque materials.Clément Foucault
Theses Materials are rendered after the SSR pass. The only difference with previous method is that they have a depth prepass (less overdraw) and are not sorted.
2017-08-10Eevee: Add Screen Space Refraction.Clément Foucault
For the moment the only way to enable this is to: - enable Screen Space REFLECTIONS. - enable Screen Space Refraction in the SSR parameters. - enable Screen Space Refraction in the material tab.
2017-08-10Manipulator: add compositor corner-pin widgetsCampbell Barton
2017-08-10Manipulator: expose use_draw_offset_scale to RNACampbell Barton
2017-08-09Manipulator: add sun-beam node manipulatorCampbell Barton
2017-08-09Manipulator: replace hard coded color w/ themeCampbell Barton
2017-08-05Merge branch 'master' into blender2.8Campbell Barton
2017-08-04Tracking: Remove limit of 50 points of the track historySergey Sharybin
Was quite stupid reason for this: static size of array. Now we allocate needed amount of points in heap if requested path length is getting too big.
2017-08-04Manipulator: add manipulator space matrixCampbell Barton
Render-border & crop-node 2d-cage manipulators where unreasonably complicated to implement because there was no good way to define the sub-region the manipulator was transforming in (render border within the camera's frame for example). Add matrix-space variable, remove scale property from cage2d manipulator, use matrix instead.
2017-08-01Merge branch 'master' into blender2.8Campbell Barton
2017-08-01Cleanup: warnings from last commitCampbell Barton
2017-08-01Merge branch 'master' into blender2.8Campbell Barton
2017-08-01Cleanup: use static vars where appropriateCampbell Barton
2017-07-31Fix T52232: Crash in RNA_enum_from_value while inspecting compositor image ↵Bastien Montagne
node properties in outliner. Bug was in RNA nodes code actually, itemf functions shall never, ever return NULL! Note that there were other itemf functions there that were potentially buggy. Also harmonized a bit their code.
2017-07-31Eevee: SSR: Change clamp to a real clamp and add Max Roughness.Clément Foucault
Clamp will now works as in Cycles. Max roughness limit ssr to a certain roughness level: for noise / performance tweaking.
2017-07-31Eevee: SSR: Rewrote the raytracing algorithm.Clément Foucault
It now uses a quality slider instead of stride. Lower quality takes larger strides between samples and use lower mips when tracing rough rays. Now raytracing is done entierly in homogeneous coordinate space. This run much faster. Should be fairly optimized. We are still Bandwidth bound. Add a line-line intersection refine. Add a ray jitter between the multiple ray per pixel to fill some undersampling in mirror reflections. The tracing now stops if it goes behind an object. This needs some work to allow it to continue even if behind objects.
2017-07-30Fix manipulator Python API crash w/ undoCampbell Barton
Split up manipulator free & unlink, so freeing window data doesn't run callbacks that might use freed data.
2017-07-29Merge branch 'master' into blender2.8Campbell Barton
2017-07-29Cleanup: quiet picky ubsan warningsCampbell Barton
2017-07-28Merge branch 'master' into blender2.8Campbell Barton
2017-07-28Replace magic numbers with deprecated namesCampbell Barton
The names aren't meaningful but means it wont accidentally use valid names. Also remove textured-font setting
2017-07-28Merge branch 'master' into blender2.8Campbell Barton
2017-07-28Cleanup: clear deprecated UI flagsCampbell Barton
Also adds cursor-lock flag, to be used in next commit.
2017-07-28Fix T52148: Point Density Texture ID User decrement error related to the ↵Bastien Montagne
Object field. Note that fix is not perfect, systematically make refcounting of all IDs assigned to node's id pointer, which breaks the 'do not refcount scene/object/text datablocks' principle... But besides that principle being far from ideal in general, it becomes pretty much impossible to apply when using //generic// ID pointer, unless we add some kind of type data to that pointer somehow. So for now, better to live with that, than having broken usercount.
2017-07-27Fix UI messages...Bastien Montagne
2017-07-27Depsgraph: Skip iterating over all ntree users on node tree parameter updateSergey Sharybin
Also make sure drivers on node tree properties will work correctly for viewport.
2017-07-27Manipulator: remove namesCampbell Barton
They weren't used anywhere, both C & Py manipulators better assign to vars (no lookup needed).
2017-07-26PyAPI: Store PyInstances for ID'sCampbell Barton
This means once an ID is created, it will keep using the same PyObject instance. This has some advantages: - Avoids unnecessary re-creation of instances on UI poll / redraw. - Accessing free'd ID's gives an exception instead of crashing. (long standing annoyance!, though this only applies to ID's and not yet other data that uses the ID's - vertices for eg). - Allows using instance comparison (a little faster). Note that the instances won't be kept between undo.
2017-07-26Cleanup: typedef enumsCampbell Barton
Manipulator enum types are easy to confuse, use typedefs.
2017-07-26Manipulator: refactor/fix selection logicCampbell Barton
- Cleanup array access, move into functions. - Store allocated size to avoid realloc's on every add/remove. - Make select editable from Python. - Rename select callback to select_refresh (collided with select boolean). - Call select_refresh when de-selecting as well as selection.
2017-07-26FaceMaps: add select flagCampbell Barton
For use by manipulators since they don't have their own persistent data in the blend file.
2017-07-25Depsgraph: Support changing scene's render engineSergey Sharybin