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
2014-04-03Fix for T39537 wasn't complete, buttons in popups remained unset.Campbell Barton
2014-04-03Fix T39567: simple deform modifier errorCampbell Barton
2014-04-03Fix build for BSD (broken by own 35747ee3d547).Bastien Montagne
Reported by Shane Ambler, thanks!
2014-04-03Code cleanup: strict flags for bmesh_logCampbell Barton
2014-04-03Freestyle: Fix for debug information about sweep line intersection detection.Tamito Kajiyama
Vertices of two edges were swapped by mistake. Also fixed indentation and added a couple of debug prints to make it easier to visualize the lines using Matlab.
2014-04-03Forgotten to add this on last commit. This would cause dyntopo to alwaysAntony Riakiotakis
refresh all its nodes if show diffuse was on.
2014-04-03Add load_ui to WM_OT_read_homefileCampbell Barton
Useful for implementing templates. Patch D423 by Gaia Clary
2014-04-03WM: expose file loading operator property init functionsCampbell Barton
2014-04-03Code cleanup: use BKE_BIT_TEST_SET to set flagsCampbell Barton
2014-04-03Code cleanup: styleCampbell Barton
2014-04-03Fix T39517,Antony Riakiotakis
Issue here is that "show diffuse" option does not respect its intended purpose which is to be used only for masking. There are a couple of caveats here: Dyntopo and multires -always- have mask data enabled, and thus as soon as one goes to dyntopo mode or adds a multires modifier he would get the default grey color instead. Matcaps would break when nodes asked for a diffuse material color (this was broken before too). Solved by adding global material state for when matcaps are enabled. Also matcaps don't always played well with VBOs off. Added a few more missing updates for mask operators to notify show_diffuse property as changed. This was also needed on rebuilding dyntopo pbvh. Also make zero mask color duller again after artist feedback.
2014-04-02Fix T39520, show diffuse not working in dyntopo.Antony Riakiotakis
Was marked as a todo in the code. This does not yet take care of correct display for multi material meshes, since it would need correct separation of faces during pbvh creation. Instead we just take material of first face in node and assume that the rest faces have the same. This will create some funky effects if one attempts to sculpt in this way. Note: This does not yet address T39517
2014-04-02Undoing masks in dyntopo leaked memoryAntony Riakiotakis
2014-04-02Refactor to recent matcap built-ins to not use the built in system.Antony Riakiotakis
Those variables would get declared on fragment shader level and since we use reserved opengl variables, some compilers would throw an error (NVIDIA allows, some ATI compilers may break). Instead, use a separate opengl built-in category especially for them. This works on NVIDIA, and will wait for tests of this commit from ATI users.
2014-04-02Implement fame sliding from IE's cache lineSergey Sharybin
2014-04-02UI: Tweak last commit for UIList and image scopes' grip size.Bastien Montagne
Sorry, forgot the --hold arg to last arc land, wanted to check this before pushing... :/
2014-04-02Replace resize code of image scopes by use of new GRIP button.Bastien Montagne
This deduplicates/simplifies some code. Also cleanup up a bit scopes UI code! Use new GRIP button for uiList grab-resize. This allows us to greatly simplifies the code, and get rid of a few hacks in uiList event handling! Note autosize mode of uiList is now trigered by any value of list_grip below a given threshold, rather than the fixed zero value... Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D343
2014-04-02Add drag-resize to uiTemplatePreview (mat/tex/etc. preview widget).Bastien Montagne
This is done by adding a new button type, GRIP, similar to other numbuttons (scroll, slider, ...), which here controls the preview height. Then, we add a new DNA struct to be able to save that height in Blend files (note I choose not to use Panel struct for this, because we would then have the same limitation we used to have with uiLists, only one preview per panel and no preview outside panel). This implies a change to template_preview UI RNA/py API (each preview needs an ID), but this is backward compatible, as by default datablock type will be used if no ID is given (which means e.g. all material previews with no ID will have same height). Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D342
2014-04-02implement cache line for image editorSergey Sharybin
It works exactly the same as a cache line in movie clip editor.
2014-04-02Fix T39521: Render with two Blender processes on same computer: compression ↵Bastien Montagne
issues? We need to salt temp exr filenames with pid, else several instances of Blender rendering the same scene on same machine and using "Save Buffers" option would use the same files!
2014-04-02Rename "BLI_cpu.h" to "BLI_system.h" and add to it BLI_getpid() helper.Bastien Montagne
There is not much sense to have a whole BLI file just to check SSE2 on CPUs... So idea is to rename it to more generic "BLI_system", and add to it more system-related utils, like e.g. an include helper for getpid(), which allows to hide unix/windows internals from rest of the code... Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D439
2014-04-02Cycles: add dedicated UV Map node, easier to find and has convenient auto ↵Kevin Dietrich
complete. Fixes T37954. Reviewed By: brecht, dingto Differential Revision: https://developer.blender.org/D230
2014-04-02Fix T39547: Toggling render passes on active scene does not updateLukas Tönne
render layer nodes in a pinned tree from different scene. The way these updates work is a nasty legacy hack: https://developer.blender.org/diffusion/B/browse/master/source/blender/nodes/composite/node_composite_tree.c$277 This function is called //very frequently// by the get_from_context method. However, this does not get called for pinned node trees, so when showing a different scene's compositing nodes in the editor they may not get updated correctly. Now moved this update call out of get_from_context so it happens in any case. Will be called no more frequently than before (on every redraw). Eventually the depsgraph should handle this more precisely, it's just a simple ID dependency anyway ...
2014-04-02Fix T39545: "Track selected markers", does not stop at end of videoSergey Sharybin
Issue was cauzed by some weird clamping of current frame. Not sure why it was here at the first point -- it's from the day0 of movie clip datablock.
2014-04-02UI: support for dragging popups title areaCampbell Barton
2014-04-02Code cleanup: avoid redundant lookups for subwindowsCampbell Barton
2014-04-02Fix for BLI_rng_shuffle_array noted by mont29Campbell Barton
2014-04-02Code cleanup: use uint64_t for BLI_randCampbell Barton
2014-04-02Dyntopo: Delete OpenGL buffers of nodes that do not have any moreAntony Riakiotakis
triangles. It is possible to end up with such nodes using brushes in aggressive collapse mode. Those nodes should normally be cleaned up, since they can never be actually reused (adding more geometry to a node requires the node having some geometry to begin with) but until we support dynamic nodes, better delete those to avoid binding graphics driver resources. If such zero elements buffers were used, GL error out of memory would be reported.
2014-04-02Fix for building with MSVC2008Campbell Barton
2014-04-02Fix some redrawing and possibly other issues in dyntopo:Antony Riakiotakis
When node face gets deleted, added or exchanged, the nodes should update their draw buffers, normals and bounding boxes. This was not being done before so there were graphical glitches apparent, especially in collapse mode.
2014-04-01Fix T39550: polygons.active has bad defaultCampbell Barton
2014-04-01Revert 7955cb78d it causes GPU_pbvh_buffers_diffuse_changed to alwaysAntony Riakiotakis
return false, causing update of all pbvh nodes all the time.
2014-04-01Make matcaps suck lessAntony Riakiotakis
This commit does various changes for matcaps: One is taking advantage of drawing with pbvh (which would only happen with dyntopo previously) and drawing with partial redraw during sculpting. The second one is support for masks. To make this work in the special case of multires, which uses flat shading, I use the only available flat shaded builtins in OpenGL 2.0 which are color and secondary color. Abusing colors in that way is also essential for flat shading to work if we are to use pbvh draw in multires, since it is the color that is being interpolated flatly, not the normal (which can only interpolated smoothly). The pbvh drawing code for multires used last triangle element's normal to compute the shading which would only produce smooth results. This could change if we did the shading in the vertex shader for flat shaded primitives, but this is more complex and makes it harder to have one shader to rule the mole. Also increased the brightness of the default diffuse color for sculpting. This should be useful since artists like to tweak the lighting settings and it will give them the full dynamic range of the lights, but also it helps with correct brightness of sculpted matcaps. Reviewers: brecht Differential Revision: https://developer.blender.org/D435
2014-04-01Image and clip editor: change zoom step to end up at powers of two.Harshit Mehta
When you press zoom 3 times you will now get 2:1, 4:1, 8:1, etc. Fixes T36916. Reviewed By: brecht Differential Revision: https://developer.blender.org/D409
2014-04-01Fix T39378: Revert, Recover Last Session and Load Factory Settings have no ↵Grigory Revzin
prompt. Now they do, to make it harder to accidentally press them and lose work. Reviewed By: brecht, carter2422 Differential Revision: https://developer.blender.org/D440
2014-04-01Fix T39546: blender crash on open recent file, when tracking is still in ↵Sergey Sharybin
progress
2014-04-01Fix T39537: Multi button editing is unreliableCampbell Barton
2014-04-01RNA: clamp colors min to 0.0Campbell Barton
any colors which need to be negative can explicitly pass in a range.
2014-04-01Fix T38860: Video preview in VSE shows a distorted and jagged appearance at ↵Sergey Sharybin
scale 1:1 Issue was cauzed by the set zoom ratio optator which didn't really set pixel zoom to 1:1.
2014-04-01Fix an unused function warning without openmp present, some typosJens Verwiebe
2014-04-01Fix for "Show Diffuse Color" was having affect on mesh without maskSergey Sharybin
Only happened with VBOs enabled.
2014-04-01Code cleanup: use bool instead of intSergey Sharybin
2014-04-01Fix T39446: Blender Crashes when Camera TrackingSergey Sharybin
Issue is likely caused by thread-unsafe nature of IMB_freeImBuf which might lead to race condition in some circumstances. Now made it thread-safe and from Sebastian's tests seems crash is gone now, so hopefully the root of the issue is finally nailed down.
2014-04-01Correction for error in own recent commit (makesrna c++ api, un-init var)Campbell Barton
2014-04-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton
2014-04-01Code cleanup: use macro to find vertex in faceCampbell Barton
2014-04-01Fix for leak in freestyle transformVerticesCampbell Barton
2014-04-01Fix for leak in freestyle FitCurveCampbell Barton
2014-04-01Fix for leak in BKE_sequence_sound_initCampbell Barton