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
2012-11-26fix [#33303] face selection masking for painting does not work with mesh ↵Campbell Barton
with n-gon caused by own change to how origindex is used, now if mpoly's CD_ORIGINDEX array is missing its assumes that its the original mpoly array.
2012-10-30remove CD_POLYINDEX customdata layer:Campbell Barton
reported as [#29376] BMESH_TODO: remove tessface CD_ORIGINDEX layer for a single mesh there could be 3 origindex mappings stored, one on the polygons and 2 on the tessfaces. (CD_POLYINDEX and CD_ORIGINDEX). as Andrew suggests, now tessfaces (which are really a cache of polygons), using origindex to point to polygons on the same derived mesh, and polygons only store the original index values.
2012-10-06fix writing past array bounds in imagewraposa().Campbell Barton
also correct array sizes in othere areas.
2012-09-20code cleanup:Campbell Barton
- make view3d project names more consistent. - remove apply_project_float() its not needed. - update comments referencing an old function name. - move doxygen docs into the C file, prefer they are kept here to avoid getting out of sync with code.
2012-09-07code cleanupCampbell Barton
2012-08-05code cleanup: minor edit - replace memset() with zero initialization, remove ↵Campbell Barton
unneeded NULL check in ibuf_sample()
2012-07-21use fabsf when using floats.Campbell Barton
2012-07-12add bli rect min/max functions.Campbell Barton
2012-07-12add bli rect funcs BLI_rctf_init_minmax, BLI_rcti_init_minmaxCampbell Barton
2012-06-04Fix #31093: Brush's "Paint curve presets" in Image paint in UV\Image Editor ↵Sergey Sharybin
doesn't work if weight paint mode is active Some operators like curve presets, color sample and some more were using object's mode to distinguish in which mode user is currently painting. Such approach fails in cases when there's paint mode active in 3D viewport and Image Editor. Changed logic here to use some context's state like active space which helps distinguishing current paint mode more accurate. Ported all areas which uses paint_get_active() to new paint_get_active_from_context(). There're still some calls to paint_get_active(), but that shouldn't be harmful due to that places indeed have object's mode as priority when getting paint mode.
2012-05-09code cleanup: color/bw conversion - use BLI color function.Campbell Barton
change modifier to use the average of the RGB since perceptual conversion isn't really needed for modifiers.
2012-05-05code cleanup: brush/camera namingCampbell Barton
2012-04-15Fix bug [#30953] Changing brush preset irreversibly undoes thingsNicholas Bishop
Remove REGISTER/UNDO flags from brush preset operator.
2012-03-28style cleanup: mainly whitespace around operators and indentation - ↵Campbell Barton
paint/sculpt tools
2012-03-28fix [#30666] Texturepaint "Soften" brush gets stuckCampbell Barton
use derived mesh tessfaces since the mesh doesnt ensure this, also means non-project-painting in the viewport works with modifiers now.
2012-03-24style cleanup: follow style guide for/with/if spacingCampbell Barton
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-22style cleanup: spaces aroudn operators for operator definitions.Campbell Barton
2012-03-07fix for bug in ED_view3d_project_float that only effected the 'Rip' tool.Campbell Barton
when the source and destination vectors were the same pointer, the X value would get overwritten. now the rip tool uses the best side to grab as in trunk.
2012-03-03style cleanup - use aligned * prefixed blocks for descriptive comments (was ↵Campbell Barton
already used a lot and part of proposed style guide).
2012-02-28code cleanup: use float vector size in function definitions, and const's ↵Campbell Barton
where the values are unchanged.
2012-01-16svn merge ^/trunk/blender -r43392:43420Campbell Barton
2012-01-16Minor sculpt/paint cleanups.Nicholas Bishop
Added some comments, constified a param, and moved a couple things around.
2011-12-27svn merge ^/trunk/blender -r42882:42886Campbell Barton
2011-12-27Fix own error in r42881, didn't add rectangle padding correctly.Nicholas Bishop
2011-12-27svn merge ^/trunk/blender -r42871:42882Campbell Barton
2011-12-27Factor out some generic parts of the sculpting PBVH redraw planes code.Nicholas Bishop
One function converts bounding boxes to screen space, the other converts a screen-space rectangle to 3D clipping planes. Also const-ified some parameters in the ED_view3d API.
2011-11-07svn merge -r41575:41602 ^/trunk/blenderCampbell Barton
2011-11-06replace macros for bli math functions in editorsCampbell Barton
2011-10-24svn merge ^/trunk/blender -r41226:41227 .Campbell Barton
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-09-22svn merge ^/trunk/blender -r40368:40370Campbell Barton
2011-09-22svn merge ^/trunk/blender -r40367:40368 --- raddish weight paint mergeCampbell Barton
2011-09-21svn merge -r40295:40367 ^/trunk/blenderCampbell Barton
2011-09-19SVN maintenance.Guillermo S. Romero
2011-09-19Merged 40338-40364soc-2011-radishJason Hays
2011-09-19/blender/editors: Removed final points in UI strings and messages.Bastien Montagne
Plus a few cuts in very long lines…
2011-09-19svn merge ^/trunk/blender -r40311:40338Campbell Barton
2011-09-18Split do_weight_paint_vertex() to isolate the simple case.Jason Hays
Added a tool-tip to the "fix deforms" op. Removed code markers: "Radish"
2011-09-18add back GPL2+ header to paint_utils.c, copied from editface.c since some of ↵Campbell Barton
its functions trace back to that file from 2.4x. (imapaint_tri_weights for eg).
2011-09-18Changed the branch code markers to say "Radish" in response to a review.Jason Hays
They weren't & aren't meant to show ownership, they just help me navigate my related code.
2011-09-18I made multitude of fixes based on the comments provided online:Jason Hays
Removed the drawSelectedVerts and added drawSelectedVertices, which uses dm->foreachMappedVert. In calc_weightpaint_vert_color(): Made the weight paint color black and return instead of input=-1 Made the pose bone selection normal when multi-paint is inactive. Name fix for functions using mv instead of mvert. Used vector functions provided by the math lib. Changed some MEM_callocN references to be stacks. Changed dm_deform_clear to use ob->derivedDeform primarily Made the variable "float **changes" into "float (*changes)[2]" Used CTX_data_active_object() in place of CTX_data_pointer_get_type() Added the invert selection hotkey "Ctrl+I" to weight paint's vertex mask.
2011-07-12Lots of incomplete changes:Jason Hays
Weight Paint Vertex Select tweaked to act like edit mode's select and Circle select was added, but clipping is not working properly for either. Select all was added too, but to the Q key until I look into overriding A's select all bones. The select vertices checkbox was moved to the header, but it does not force face select mask to turn off yet--and it doesn't have the correct icon. There will definitely be an update tomorrow to fix the problems with all or most of the issues.
2011-05-20svn merge -r36725:36801 https://svn.blender.org/svnroot/bf-blender/trunk/blenderCampbell Barton
2011-05-20edit gp_stroke_convertcoords not to modify the mval passed to it & make some ↵Campbell Barton
mval args const elsewhere too.
2011-05-20use consistant arguments to ED_view3d_win_* funcs, a single float vector ↵Campbell Barton
rather then 2 floats.
2011-05-20function rename to give clearer meaning that they change from window to 3d ↵Campbell Barton
coordinates. some functions had vague names, I even ended up re-writing some of these functions by accident! also added doxy comments. * ED_view3d_win_to_3d (was window_to_3d) * ED_view3d_win_to_delta (was window_to_3d_delta) * ED_view3d_win_to_vector (was window_to_3d_vector / viewvector) * ED_view3d_win_to_segment_clip (was viewline) * ED_view3d_win_to_ray (was viewray)
2011-04-15=bmesh= merge from trunk at r36153Joseph Eagar
2011-03-27object/paint/misc-files: floats were being implicitly promoted to doubles, ↵Campbell Barton
adjust to use floats. - also UV angle stretching was using radians->deg which wasn't needed.
2011-02-27doxygen: blender/editors tagged.Nathan Letwory