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-10-12Fix crash running Blender in background mode, caused by revision 60633.Brecht Van Lommel
2013-10-11Fix #36905: backport of fix in soc-2013-paint. This commit ensures that ↵Antony Riakiotakis
during color sampling the cursor of the current brush is disabled. This avoids sampling of the brush cursor for really small brushes. Only caveat is that if operator exec is called then cursor might be visible in new sample location. This is not so common though.
2013-10-11fix [#37031] bones are not selectable in weight paint mode anymoreCampbell Barton
2013-10-10add MEM_SIZE_OPTIMAL to avoid memory fragmentation & waste lost to slop-space.Campbell Barton
2013-10-10style cleanupCampbell Barton
2013-10-09Fix uber evil (-15 alignment points) own buffer overflowAntony Riakiotakis
2013-10-09minor code cleanup.Antony Riakiotakis
2013-10-09Paint cursor overlays: Delete the cursor texture overlay resources whenAntony Riakiotakis
exiting a paint mode.
2013-10-03adjustments to sculpt cache scaling code, (float/double promotion)Campbell Barton
2013-10-03real fix for #36695, scale brush stroke with maximum scale component,Antony Riakiotakis
except layer brush where the previous algorithm is used.
2013-10-03Revert 60358, it made irregularly scaled objects behave incorrectly, ↵Antony Riakiotakis
checking out different approach here.
2013-10-01style edits and use macro for prefix checkCampbell Barton
2013-10-01UV sculpting was missing curve initialization causing crashes. ReportedAntony Riakiotakis
by Sebastian Koenig, thanks!
2013-10-01Mark some CCG funcrions as inlinedSergey Sharybin
This seems to be giving speedup up to 10% in own tests. -- svn merge -r60104:60105 ^/branches/soc-2013-depsgraph_mt
2013-09-30Fix "Sample Color" not working in vertex paint mode.Irie Shinsuke
The issue was discussed at blender.org forum: http://www.blender.org/forum/viewtopic.php?t=28158
2013-09-30revert r36440, own commit, no longer needed because of changes to the keymap.Campbell Barton
resolves [#36860] sampling color in face select mask
2013-09-30lots of operator descriptions were incorrectly copy/pasted.Campbell Barton
update some descriptions, others were removed and operators tagged as internal. add a script to detect duplicate operator descriptions.
2013-09-24Fix #36695, brushes would behave differently in scaled objects (testedAntony Riakiotakis
by applying scale). It looks that only layer brush needs this correction.
2013-09-24allocate bmesh data from known sizes where possible (was still using ↵Campbell Barton
defaults in places), add macros for initializing BMAllocTemplate's, also add assert on invalid use of bmesh_sfme()
2013-09-18style cleanupCampbell Barton
2013-09-17Fix #36748 Sculpting/image painting does not respect undo steps limit.Antony Riakiotakis
A simple oversight here, it should work as intended now. Nice to have it functional for people who might hate dyntopo undo with a passion.
2013-09-16Fix issue with paint cursor overlay and size pressure drawing, it wouldAntony Riakiotakis
draw incorrectly and leave openGL in an inconsistent state, making for a quite surreal UI. Reported by Sebastian Koenig thanks!
2013-09-16fix [#36732] Auto depth feature misbehaves on orbit with mouse cursor ↵Campbell Barton
outside the model. ortho mode didn't store the depth for re-use when the cursor had no depth.
2013-09-16Undo the front-facing only commit for clay strips brushes, it adds anAntony Riakiotakis
attenuation that should really be optional. There's also a minor performance penalty and all this only for one problematic case. In case the tool flattens two surfaces, users can manually set the front face only option. A better non-attenuating way to cull such vertices can be added later. Also flatten brush should calculate the flatten plane from the original vertices or the flattening will not converge for planes offsets different than zero. Reported by Michalis Zissiou, thanks!
2013-09-14fix weird issue after last commit where grab brush would not work andAntony Riakiotakis
also warnings fix and description fix.
2013-09-14Sculpting:Antony Riakiotakis
* Cleanup for previous commit and reduce some local variable referencing * Add support for brushes that operate on frontfaces only and do not show the option for those brushes. Currently only clay strips is in the list but this may change according to artist feedback. This should take care of the "sticky" surface problem completely.
2013-09-14Sculpting:Antony Riakiotakis
Modify calculation of sculpt plane to only take into account forward facing vertices. This will solve cases where sculpting on a volume with the two sides of the mesh inside the brush radius could move the sculpt plane inside the mesh volume. To completely fix the issue where the mesh would "stick" the two sides of the mesh together on the sculpt plane (for instance for clay strip brushes), user should enable "front face only". Perhaps some brushes, like clay strips should enforce this and not present the option in the first place.
2013-09-10Fix #36577: sculpt area plane texture mapping + random angle did not work.Brecht Van Lommel
2013-09-05Code cleanup: use boolean instead of int for colormanagementSergey Sharybin
2013-09-05Ctr-Alt-F radial control operator for texture painting, controls theAntony Riakiotakis
rotation of the brush mask texture. Unfortunately secondary path does not work here because we do not have a permanent switch to choose between primary-secondary brush texture. Use operator property instead.
2013-09-04replace sqrt(dot()) with length functions.Campbell Barton
2013-08-29follow up on r59628, setting modes now ensures that other modes exit first,Campbell Barton
this was only done in some cases before and it was possible to enable weightpaint+sculpt at the same time when enabling sculpt by directly running the mode switching operator. add generic function to ensure a compatible mode before entering the new mode (added to each operators exec function)
2013-08-29fix [#34462] Crash when switching modes via mix of TAB and spacebar menuCampbell Barton
2013-08-26replace hashes with sets where possible.Campbell Barton
2013-08-24fix for crash in weight-paint-gradient, missing call to curve ↵Campbell Barton
curvemapping_initialize
2013-08-23fix leak in BM_face_split() with multires if the split failed.Campbell Barton
also remove redundant normal copy. only triangulate the mesh if its needed when enabling dyntopo.
2013-08-23move bmesh tools into their own include,Campbell Barton
changes to tool args would rebuild far too many files and these are mainly by modifiers outside of bmesh.
2013-08-22add utility functions for dealing with planesCampbell Barton
- plane_point_side_v3(), a bit like line_point_side_v2() - isect_point_planes_v3(), moved from paint_hide.c functions to convert between point/normal pairs. - plane_from_point_normal_v3() - plane_to_point_normal_v3()
2013-08-19Fix crash caused by own commit to optimize out curvemappingAntony Riakiotakis
initialization. In sculpt mode, when using shift-click to switch to the smooth brush it was possible to ommit initialization of curvemapping for that brush.
2013-08-19Minor optimization for paint systems, initialize the paint curve beforeAntony Riakiotakis
the stroke and skip checking for initialization each time we request the curve value.
2013-08-19Dyntopo:Antony Riakiotakis
Turn off pbvh normal update flag after recalculation, saves recalculating normals every frame when not stroking the mesh. For this to work reliably with undo we need to support original normals in the bm_log (was marked as a TODO already in the code), so that undoing avoids having invalid normals in the mesh (since we don't update every frame anymore). This was added in this commit as well. Also added some (disabled) quite paranoid checks in the bmesh valication code for dyntopo hoping to catch the real normal update issue. No luck there yet.
2013-08-19Made modifiers_getVirtualModifierList safe for threadingSergey Sharybin
Move static variables to context filling in by this fcuntion and owned by a callee function. This ensures no conflicts between threads happens because of static variables used in this function. Also moved modifier types and virtual modifiers data to a function called from creator. This is needed to be sure all the information is properly initialied to the time when threads starts to use this data. -- svn merge -r57899:57900 ^/branches/soc-2013-depsgraph_mt
2013-08-19Fix #34485 sculpt strength weirdly inverted with some mesh part.Antony Riakiotakis
The view vector was not being calculated correctly. Shamelessly rip off correct transform to object space from projective texture painting code.
2013-08-17avoid double ghash lookupsCampbell Barton
2013-08-07code cleanup: some structs were declaring data when only typedef's were ↵Campbell Barton
intended, make local vars and functions static.
2013-08-07code cleanup: more zero as NULL pointers.Campbell Barton
2013-08-02User request: when switching to smooth tool with shift-click inAntony Riakiotakis
sculpting, use the original brush size.
2013-08-01Fix a very irritating problem of our stroke system. On small brushes,Antony Riakiotakis
the space stroke would be repeated on unneeded subpixel precision. Since this is not really useful, enforce spacing to be at least one pixel. This makes small brushes quite more responsive.
2013-07-29fix [#36280] Dynamic Topology crashes with active faceCampbell Barton
2013-07-28use '_exec' suffix for operator execute callbacks, also picky change to ↵Campbell Barton
sizeof() use in BLI_array.h