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
2013-07-01fix [#35858] there were two bugs here, hidden faces were occluding in vertex ↵Campbell Barton
selection mode.
2013-06-28Fix #35551: the topology mirror setting affected shape key and vertex group butBrecht Van Lommel
this was confusing as there was no setting visible for it. Now these menus contain an entry to mirror without and with topology mirror.
2013-06-27remove bmesh arg from BM_face_legal_splits(), don't use a bmesh iterator.Campbell Barton
2013-06-26fix [#33068] Can't paint weights of some vertices in some situations.Campbell Barton
old limitation where you could only paint onto one side of a mirrored mesh (weight paint, vertex paint).
2013-06-26Fix #35365 Texture cloning not behaving correctly in perspective viewAntony Riakiotakis
This issue was caused by doing pespective interpolation of clone uv coordinates in perspective view. To fix this we need to use perspective correction for screen coordinates, but return regular barycentric weights back for clone layer uv coordinate interpolation.
2013-06-26Fix #35583 Smooth brush ignores hidden partsAntony Riakiotakis
The bug only exists for multires smoothing. Other cases were handled by BKE_pbvh_vertex_iter_begin, which culled hidden parts accordingly. Added a manual check on the multires smoothing code.
2013-06-26fix for vert/face mask modes using last used select option when using the ↵Campbell Barton
select-all key shortcut.
2013-06-26fix [#35858] Weight Paint: Hiding faces isnt flushing the flag to the vertices.Campbell Barton
2013-06-24fix [#35457] Mirror the U texture coordinate does not work in projection ↵Campbell Barton
painting regression since 2.61
2013-06-19fix [#35793] Crash When Painting Gradient WeightCampbell Barton
2013-06-13Fix #35634: weight paint did not do z-buffer culling anymore on Windows ↵Brecht Van Lommel
after recent change to size of bool.
2013-06-09Fix #35611: 'Quick Edit' in Texture mode + RGBA16bit gives bright resultsSergey Sharybin
Was missing linearization of colro came from byte buffer.
2013-06-09Fix #35638: Object disappears when rotating after using the simplify brushSergey Sharybin
2013-06-06style cleanupCampbell Barton
2013-06-03fix [#35555] Collada: export destroys mesh in some casesCampbell Barton
add arguments to calculate normals when converting to bmesh: BM_mesh_bm_from_me, DM_to_bmesh This gives some speedup to undo (which didnt need to re-calculate vertex normals), and array modifier which doesnt need to calculate face normals at all
2013-06-02code cleanup: remove unused structCampbell Barton
2013-05-30remove redundant includes from cmake and scons.Campbell Barton
2013-05-28move BLO_sys_types.h -> BLI_sys_types.h (it had nothing todo with loading)Campbell Barton
remove MEM_sys_types.h which was a duplicate.
2013-05-28bmo_subdivide_edgering.c now builds with release+debuginfo, also remove ↵Campbell Barton
unused defines and correct include guards.
2013-05-28code cleanup: lots of calls to BKE_mesh_calc_normals_mapping were not using ↵Campbell Barton
the mapping functionality. replace ED_mesh_calc_normals with BKE_mesh_calc_normals().
2013-05-27style cleanup: nodesCampbell Barton
2013-05-26BLI_math rename functions:Campbell Barton
- mult_m4_m4m4 -> mul_m4_m4m4 - mult_m3_m3m4 -> mul_m3_m3m4 these temporary names were used to avoid problems when argument order was switched.
2013-05-25Bug fix, irc submitted:Ton Roosendaal
3D Viewport render (internal) didn't render bump maps (it was black even).
2013-05-24fix own error in r56649, caused normal calculation to fail, reported as ↵Campbell Barton
[#35448], also quiet float/double warning.
2013-05-24Follow up to previous commit. Non tiled mask wouldn't work on airbrushesAntony Riakiotakis
2013-05-24Fix #35426, masking works wrong in projection painting. When we don'tAntony Riakiotakis
use tiling, we need to sample the mask texture when determining the pixel masking.
2013-05-24style cleanup: also remove unused varCampbell Barton
2013-05-23Fix #35469: image editor smear and soften paint tools not working correct forBrecht Van Lommel
float images, was not taking premul/straight convention into account properly.
2013-05-22Mark toggling and create missing and non-save properties for brush selectionSergey Sharybin
Re-using this properties were rather confusing -- selecting mask brush once lead to changes in behavior of other brushes hotkeys.
2013-05-20code cleanup: scons - binreloc include was copied all over the place for no ↵Campbell Barton
reason, -pthread too.
2013-05-20code cleanup: split scons includes onto multiple lines, reduce chance of ↵Campbell Barton
include conflicts later on.
2013-05-18Fix crash due to shared paint cursor function. It is necessary to checkAntony Riakiotakis
if we really are in sculpt mode context since the active object may be in sculpt mode while cursor is in the 2d paint editor.
2013-05-18Fix for #35373, calling any paint operator from operator search menuAntony Riakiotakis
with mouse crashes blender. Issue here is that paint operator invocation, immediately calls modal, which checks if event is the same as initialization event plus keyup. Since using the mouse on amenu calls the operator on mouse button up, the operator ended immediately and that cause immediate cleanup and crash, Worked around this by forbidding the operator to finish on first modal call (which is expected by all the asserts on invoke anyway). This prevents the crash but requires an extra up event to end. Also, ported part of Jason Wilkins' patch to stroke code to allow for stroke sampling to be done before a dab is first performed and as soon as the stroke begins
2013-05-18style cleanupCampbell Barton
2013-05-18Painting / Sculpting: more tweaks to pressure sensitivityBrecht Van Lommel
* Also do pressure interpolation for brush size and spacing. * Do smoothing of pressure when smooth stroke and sample average is enabled. * Revert the OS X specific pressure change to pressure ^ 2.5, for low pressure values like 0.05 it makes the pressure 100x lower, which is problematic. If we need to adjust the pressure curve it should be done for all platforms. Still weak: * Pressure of first touch on tablet is difficult to control, usually it's low which makes the stroke start out small or soft, but other times not. Finer event capturing at ghost level would help, along with pressure changes without mouse movement, but this may also need different paint stroke logic. * Brush radius is rounded to integers, this gives noticeable stepping. * Brush falloff is not antialiased, gives noticeable aliasing for small brush sizes which was always a problem, but is more common with size pressure control.
2013-05-18Fix #35404: crash in file save with python code that accesses mesh from panel.Brecht Van Lommel
On file save the mesh gets loads from the editmesh but the derived mesh caches wer not cleared. This usually happens through the depsgraph but it needs to be done manually here. Most changes are some refactoring to deduplicate derived mesh freeing code.
2013-05-18Stroke code:Antony Riakiotakis
* Fix crash on 2d painting when no active object is present (NULL pointer dereference in cursor drawing) * Skip conditional on space_stroke function, since this is already checked for on higher level. * Interpolate pressure on spaced strokes.
2013-05-17Fix #35393: Sculpt Shortcuts are bananas.Sergey Sharybin
Issue was introduced by self in svn rev56815. Brushes list was simply not fully traversing due to mistake in termination condition.
2013-05-16Fix #35372: sculpting/painting long brush strokes with small brush size wouldBrecht Van Lommel
take up a lot of memory. The operator was recording an array with all stroke points. However this was not particularly useful, only sculpt mode had exec() implemented to redo the stroke, but it was not registering the operator anyway so there was no way to access the data after the operator was done. So no one was using this anyway. I did now implement exec for the paint modes so you can call the operator with stroke points from a script.
2013-05-16Fix #35355: 2D image paint View mapping mode was dependent on zoom, this wasBrecht Van Lommel
wrong, it should just fit the texture in the brush circle.
2013-05-15use bool arrays rather then char for weight paint lock/select arraysCampbell Barton
2013-05-15Attempt to fix #35057 and #35372: slow texture painting performance.Brecht Van Lommel
After the paint refactoring for 2.67, the OpenGL texture was getting updated for every stroke point, rather than once for every redraw. With a small brush radius and low spacing the number of stroke points can be quite large, which might have a big performance impact depending on the graphics card / drivers. Also for 2D image paint, avoid redrawing the button panels and properties editor during painting. There is another possible cause for slowdowns with 3D texture painting which was not fixed. Projection painting is creating and destroying threads for every stroke point. Depending on the CPU/OS there might be a lot of overhead in doing that if the brush size is small.
2013-05-15Fix part of #35372: distorted strokes when painting zoomed out with a small ↵Brecht Van Lommel
brush size. Interpolated mouse coordinates should not get rounded to integers.
2013-05-15Fix #35364: sculpting - D shortcut inconsistencySergey Sharybin
Switching to tool will cycle via all brushes with given type only in case current brush tool matches requested one. This means, when user requests brush with different type, first brush of that tool will be activated. But further toggling to the same tool will cycle via all acceptable brushes.
2013-05-14style cleanupCampbell Barton
2013-05-13Fix sculpt getting slower as you paint a longer stroke. Partial redraw wasBrecht Van Lommel
redrawing the whole area that was painted on from the start of the stroke, should only do the last part.
2013-05-13Fix #35337: sculpt performance regression, partial redraw was not working ↵Brecht Van Lommel
anymore due to paint cursor redraw problem.
2013-05-12Image paint: 2D painting now supports texture masks and does masking moreBrecht Van Lommel
consistent with projection painting. Also did some refactoring of this code, moving the brush image creation code out of brush.c and making it consistent with image updating code.
2013-05-08Fix #35240: command line -t number of threads option did not work for cycles.Brecht Van Lommel
Now it works for blender internal, cycles and other multithreading code in Blender in both background and UI mode.
2013-05-08code cleanup: remove references to BLI_rand.hCampbell Barton