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
2010-08-16- remove unused includes IMB_*, BIF_* & MEM_*Campbell Barton
- remove MEM_guardedalloc.h from header files (include directly)
2010-08-11Update address in license block.Guillermo S. Romero
2010-08-10header re-shuffle, some headers contained unneeded refereces to other ↵Campbell Barton
headers, better include inline with the C files that need them
2010-08-08remove unused includesCampbell Barton
2010-08-04Brush/Paint internal changesCampbell Barton
- remove brush array for each Paint struct, just use a single brush pointer. - removed rna function based template filtering. - filter brushes using a flag on the brush and the pointer poll function. - set the brushes using a new operator WM_OT_context_set_id(). TODO - remake startup.blend, currently brush groupings are lost. - rewrite WM_OT_context_set_id() to use rna introspection.
2010-08-04include cleanup, no functional changesCampbell Barton
- removed DNA_brush_types.h from DNA_scene_types.h (and some other similar cases) - removed DNA_wave_types.h (never used) - removed Main.wave
2010-08-02SConsCampbell Barton
- remove scons option WITH_BF_FHS, its not needed anymore. - comment WITH_BF_DOCS, was using epydocs which we dont use now. - blenderlite target was broken, always using openmp. - building without python wasnt working. - fixed some warnings.
2010-07-303 duplicate functions: bone_flip_name() object_flip_name() flip_side_name()Campbell Barton
removed object_flip_name() & bone_flip_name(), use flip_side_name()
2010-07-30Preview commit in sculpt brushes broke resetting curves in other areas (rgb ↵Matt Ebb
curves etc). Fixed by adding a 'slope' parameter to curvemap_reset() to mirror curve presets around Y axis. Also removed curve preset with 'random' icon, wasn't doing what it looked like it should, this was intended only for hue correct node anyway.
2010-07-29Fix for error while weight painting:Campbell Barton
RNA_boolean_get: OperatorStrokeElement.flip not found. flip was renamed to pen_flip but not updated everywhere.
2010-07-29== Sculpt ==Nicholas Bishop
* Changed rotation brush to not scale down the rotation angle; easier to control this way (and works the same as anchored brush rotation.) Note: rotate brush seems to work much better with USE_ORIGINAL_NORMAL, this should probably be made the default, if not forced on.
2010-07-29Fixed some potential memory corruptionNicholas Bishop
2010-07-27== Sculpt ==Nicholas Bishop
Added a brush reset operator so that a user won't need to reload the default blend to get back default brush settings * New brush.reset operator, resets a brush based on the currently-selected tool * Added UI button in the tools panel TODO: * Only resets sculpt brushes right now, other paint modes should be added * Sculpt polish tool exists only as a Brush, not as a tool; I'd suggest we make it a tool so it can be reset to defaults too
2010-07-27Fix #23044: sculpted mesh not updated in object mode with VBO's enabled.Brecht Van Lommel
2010-07-27* removing code meant for debuggingJason Wilkins
2010-07-27Saved a call to 'brush_alpha'Jason Wilkins
2010-07-26Fix: Overlay should draw areas that will be affected transparently and areas ↵Jason Wilkins
that will not be effected opaquely.
2010-07-26* Accessing Brush size, alpha, size pressure, alpha pressure, and ↵Jason Wilkins
unprojected radius need to use the appropriate brush_* function.
2010-07-23Fix #21028: operator redo creates hundreds of images when texture paint is on.Brecht Van Lommel
Now operator redo will look for an undo push with the same name in both the paint/sculpt and global undo stack.
2010-07-23minor warning fixCampbell Barton
brush_alpha was being converted to an int not a float, if this is intentional it should be delared 'const int', but looks like it wasnt.
2010-07-22== Sculpt/Paint Fixes ==Jason Wilkins
* Fix: unify strength and size did work consistently with other paint modes * Fix: If [ and ] keys were used to resize a brush it was not possible to increase the size of the brush if it went under 10 pixels * Fix: Made interpretation of brush size consistent across all modes, Texture/Image paint interpreted brush size as the diameter while all the other modes interpret it as radius * Fix: The default spacing for vertex paint brushes was 3%, should be 10% * Fix: due to fixes to unified strength, re-enabled 'Unify Size' by default * Fix: Unified size and strength were stored in UserPrefs, moved this to ToolSettings * Fix: The setting of pressure sensitivity was not unified when strength or size were unified. Now the appropriate pressure sensitivity setting is also unified across all brushes when corresponding unification option is selected * Fix: When using [ and ] to resize the brush it didn't immediately redraw * Fix: fkey resizing/"re-strength-ing" was not working consistently accross all paint modes due to only sculpt mode having full support for unified size and strength, now it works properly. * Fix: other paint modes did expose the ability to have a custom brush colors, so I added the small bit of code to allow it. Note: I made all of the other paint mode brushes white. Note2: Actually, probably want to make the paint modes use the selected color for painting instead of a constant brush color. * I had removed OPTYPE_REGISTER from some Sculpt/Paint operators but in this commit I add them back. I'm not completely sure what this option does so I don't want to disturb it for now.
2010-07-22Fix #22661: Multires/Sculpt SegfultSergey Sharybin
- Show error message in multires modifier if there is no MDISPS layer - Sculpt on basis mesh if there is no the same layer
2010-07-22just a note on where to look laterTom Musgrove
2010-07-22this fixes the bug that occurs when using pen tablet controlled pressure and ↵Tom Musgrove
the first daub is at maximum pressure - the bug is actually in brush_painter_paint(BrushPainter *painter, BrushFunc func, float *pos, double time, float pressure, void *user) according to brecht, but 'seems more complicated than expected to properly fix this' so this work around has been approved
2010-07-21Unified size only works for sculpt, so only modify it in sculpt mode.Brecht Van Lommel
2010-07-21sorry this hadn't been committed eearlier allows shift+number so now up to ↵Tom Musgrove
20 brushes can be selected via the numeric selection instead of just the first ten, also CKEY is clay, SHIFT CKEY is crease, and IKEY is inflate - not sure when the IKEY for inflate got dropped previously
2010-07-21* added keymap C for crease brushJason Wilkins
* fixed key mappings for Pinch and Flatten
2010-07-21* In previous commit, the draw brush for sculpting got separated out to a ↵Jason Wilkins
new brush called 'SculptDraw'. Updated the keymap 'D' to switch to this new brush.
2010-07-20- correct some spelling errors.Campbell Barton
- remove FreeCamera struct (wasnt used) - remove world color alpha values (not used anywhre).
2010-07-17spelling correction: alredy --> alreadyCampbell Barton
2010-07-17* Applied patch from nicholasbishop that refactors calculation of the grab ↵Jason Wilkins
delta into a function with less duplication
2010-07-15* smooth wasn't working with strengths below .5Jason Wilkins
2010-07-15mistake in recent commit, set all axis values.Campbell Barton
2010-07-15* removed unneeded autosmooth_overlap, forgot to remove before mergeJason Wilkins
* replaced omp critical sections, code either crashes or does not function correctly without them
2010-07-14SVN maintenance.Guillermo S. Romero
2010-07-14Merge GSOC Sculpt Branch: 28499-30319Jason Wilkins
https://svn.blender.org/svnroot/bf-blender/branches/soc-2010-jwilkins See log of that branch for details.
2010-07-14Fix a few compile warnings and rename gpu_buffers.h to GPU_buffers.hBrecht Van Lommel
for consistency.
2010-06-29image re-projection wasnt changing alpha values.Campbell Barton
2010-06-23Fix #22553: dragging number buttons would run update functions more often thanBrecht Van Lommel
necessary due to the more accurate mouse move events that are useful for sculpting and painting (at least on Linux/X11, not sure about other platforms). If the update function takes a while to run, this in turn causes more mouse move events to be accumulated, making things even slower, .. going into a spiral of slower and slower redraws. As a solution I've added a INBETWEEN_MOUSEMOVE event next to MOUSEMOVE. A MOUSEMOVE event is automatically changed to INBETWEEN_MOUSEMOVE when a MOUSEMOVE event is added after it. This new event type is only handled by painting/sculpting operators, everything else can happily ignore it.
2010-06-23Sculpt+shape keys:Sergey Sharybin
- Sculpting on the basis key should change original mesh - For relative keys sculpting on basis key should update others
2010-06-22[#22262] Sculpting shape keys using the Smooth brush switches the shape to ↵Sergey Sharybin
the Basis PBVH used the same verts array as mesh data and shape key/reference key coords were applying on the mesh data, so on some refreshing undeformed mesh was displayed. Added utility functions to get vert coords from key block, apply new vert coords on keyblock and function to apply coords on bpvh, so now pbvh uses it's ovn vertex array and no changes are making to the mesh data. Additional change: Store key block name in SculptUndoNode, so now shape wouldn't be copied to wrong keyblock on undo
2010-06-14naming changesCampbell Barton
path -> filepath (for rna and operators, as agreed on with elubie) path -> data_path (for windowmanager context functions, this was alredy used in many places)
2010-06-13use utility functions for vertex groups, no functional changesCampbell Barton
2010-06-06finish cleanup to cmake editors, also removed some stuff from scons thats ↵Campbell Barton
not needed.
2010-06-04have cmake build editors as different libs like scons and nan-makefilesCampbell Barton
2010-06-02Sculpt & modifiers: patch by Sergey Sharybin, with modifications by me.Brecht Van Lommel
Fixes various crashes and redraw problems, most noticeable new feature is that you can now sculpt on a multires mesh with deforming modifiers preceding it. I've left out support for sculpting on multires with enabled modifiers following it, in this case only the base mesh can be sculpted now. The code changes needed to do this are just too ugly in my opinion, would need a more torough redesign which I don't think we should try now. In my opinion this is also not really an important case, since it's going to be incredibly slow anyway to run a modifier on a high res mesh while sculpting. So, to summarize current state: * Fastest sculpting: base mesh with no modifiers or multires with only modifiers preceding it. * Slower sculpting: base mesh with modifiers, depends on the speed of the modifiers. * Not supported: multires mesh with modifiers following it.
2010-06-02rename some rna properties filename --> filepathCampbell Barton
* filename == "foo.ext" * filepath == "/path/to/and/including/foo.ext" this was alredy followed in some places not not everywhere.
2010-06-01Workaround #20467: disabled OpenMP multithreading on subsurf/multires/sculptBrecht Van Lommel
for now, it's too fine grained and so becomes a performance bottleneck on some platforms, while only providing a modest speedup on others. Couldn't find a simple enough solution to solve this, so for now no multithreading here.
2010-05-07ghash alloc string from render branchCampbell Barton
svn merge https://svn.blender.org/svnroot/bf-blender/branches/render25 -r28571:28573 svn merge https://svn.blender.org/svnroot/bf-blender/branches/render25 -r28575:28576
2010-04-24warning cleanup, also made voxel.c and volumetric.c use BM_INLINE define ↵Campbell Barton
rather then having their own ifdefs in each file.