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
2011-04-01while looking into adding back brush tool keys found mixed texture/image ↵Campbell Barton
paint rna vars, using 'image paint' internally.
2011-03-31using wrong RNA type in sculpt update.Campbell Barton
2011-03-27subsurf, derived mesh and other misc files: floats were being implicitly ↵Campbell Barton
promoted to doubles, adjust to use floats.
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-03-22- weight paint poll would crash if no area was found.Campbell Barton
- don't print a line for each operator run when in background mode. - extrude was using an invalid type for RNA access.
2011-03-12== Sculpt ==Nicholas Bishop
* Removed some fields from struct SculptSession: - Fields drawobject, projverts, and previous_r were completely unused - Field `ob' was really unnecessary, changed sculpt functions to pass the object rather than the SculptSession This removal of `ob' from SculptSession should should make it a little easier to continue generalizing paint/sculpt functionality. There should be no visible changes from cleanup.
2011-03-10fix [#26406] Projection Paint, Occlussion Problem with Intersections in ↵Campbell Barton
perspective mode.
2011-03-07bug [#26329] Project Paint not workingCampbell Barton
we cant ensure that a requested buffer can be allocated so report opengl errors when failing to allocate the buffer (rather then printing to console). this is common enough and generic error isn't too helpful to users.
2011-03-05Final step for texture nodes/threading issue fix: make neededSergey Sharybin
initialization on sculpt brush stroke init and free used resources when stroke is finished.
2011-03-05sculpt undo struct was using an array of char pointers rather then a char array.Campbell Barton
2011-03-05use NULL rather then 0 for pointer assignments & comparison, modifier, imbuf ↵Campbell Barton
& editors.
2011-03-03bugfix #26267Ton Roosendaal
ImageWindow + 3D view texture paint + texture preview render + texture nodes. Threading hell! But it works now :)
2011-03-02replace references to old arithb libraryCampbell Barton
2011-03-01Bugfix #26249Ton Roosendaal
Paint strokes now can be mapped to any key. The operators now store the event it was started with, so it ends with a release. Even hotkeys work (while hold).
2011-02-27doxygen: blender/editors tagged.Nathan Letwory
2011-02-27Fixes for undo when suclpting on deformed mesh:Sergey Sharybin
- Invalid shape when deformation mesh was disabled befoe undoing - Crash when deformation modifier was enabled before undoing Still got problems with undoing multires changes when toggling modifiers.
2011-02-27pedantic warning cleanup, also remove texspace_edit() since its been added ↵Campbell Barton
using a different method.
2011-02-25Fix #26158: The layer hight of the layer tool cannot longer be controled by ↵Sergey Sharybin
the strength of the brush, as it was in 2.49 Layer height used to be controlled with brush radius, quite confusing decision. Added new property for brushes - height for adjusting affectable brush height (it could be not only layer height in the future).
2011-02-24fix for cmake not having the correct svn revision in buildinfo, now generate ↵Campbell Barton
a header every build with the time, date, svn revision.
2011-02-24face-paint mode operators were not ported from 2.4x yet hide/reveal/sel-swapCampbell Barton
also added hide-unselected option to armature mode.
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-22Fixed crash when sculpting on deformed mesh with smooth brush:Sergey Sharybin
vertex iter should be declared inside omp block or it'll be thread-unsafe otherwise.
2011-02-21I swear, it was just an innocence change in guardedalloc!Nathan Letwory
The butterfly wing flap, causing a nice storm in the rest of blender. Now all dependencies should point ok again. CMakers, do double-test.
2011-02-20Fix for crash when sculpting on multires object during playbackSergey Sharybin
- Restored BLI_pbvh_grids_update stuff; - Marc all nodes as changes in ED_sculpt_modifiers_changed, so draw_buffers would be keept correct.
2011-02-18- clear some warningsCampbell Barton
- rename layout.operator_enums -> operator_enum (since we have operator_menu_enum, only called in 4 places)
2011-02-15- Do not use old anchor toggling operator. It used to set brush flags toSergey Sharybin
unawaliable state. - Also changed dynamic space bar menu, so it now also wouldn't allow to set brush stroke flags to unavaliable state. Also tried to remove use_anchor, use_space, use_restore_mesh and use_airbrush, so user would be unable to set flags to unavaliable state, but it was quite difficult for non-sculpt paint modes. They don't support all of stroke methods, so brush.stroke_method can't be used for them. Keep this area unchanged for now.
2011-02-14made most variables which are only used in a single file and not defined in ↵Campbell Barton
header static for blenlib, blenkernel and editors.
2011-02-14Previous commit to small optimization of sculpting broke smooth and layerSergey Sharybin
brushes. They aren't using proxies, so deformation wouldn't be propagated in sculpt_combine_proxies(). So, maye idea of getting rid of "extra" memory allocaiton/disposing was not such cool due to it lead to such exception ways?
2011-02-13fix for warnings from Sparse static source code checker, mostly BKE/BLI and ↵Campbell Barton
python functions. - use NULL rather then 0 where possible (makes code & function calls more readable IMHO). - set static variables and functions (exposed some unused vars/funcs). - use func(void) rather then func() for definitions.
2011-02-12Sculpting on deformed meshSergey Sharybin
========================== Removed limitation of armatured-only objects for sculpting -- now all deformation modifiers are allowed in sculpt mode. Use crazyspace corrections like from transformation modules was used to support all deformation modifiers. Internal change: all crazyspace-related functions were noved to crazyspace.c P.S. Brush could make quite unexpected deformation for meshes which are deformed in specified way. Got patch for this and discussing with Brecht if it's really needed or maybe it could be done in better way.
2011-02-12Save one memory block allocation/disposing when propagating changes fromSergey Sharybin
deformed PBVH to the base mesh. It's not real bottleneck, but crazyspace corrections looks nicer now. Real bottleneck is normals re-calculation, which calls plenty of fsqrt's. We could avoid this for some modifiers (which don't use normals), but such checking would make code less controllable.
2011-02-09Update mesh normals when undoing sculpt stroke to prevent shadingSergey Sharybin
artifacts in some cases (enter edit mode/disabling modifiers after undo)
2011-02-07Type checks for internal ID-Property UI min/max/tip & use defines to get ↵Campbell Barton
values from ID-Props. Probably wouldn't cause a problem but manually editing these types through python could easily crash blender. also changed cmake, stub-makefile default build dir to be lower case and leave out architecture string, easier for documentation. Use ../build/linux/ rather then ../build/Linux_i686/
2011-02-01Fix #25884: Crazy behaviour of the rotate brushSergey Sharybin
Rotation brush used to be crazy because it depends on normal of area under brush, which is used as axis to rotate vertexes around and this normal used to change during stroke. Calculate normal from original mesh state for rotation tool too.
2011-01-31Todo issue: sculpting on deformed meshSergey Sharybin
Used a crazyspace approach (like in edit mode), but only modifiers with deformMatricies are allowed atm (currently shapekeys and armature modifiers only). All the rest modifiers had an warning message that they aren't applied because of sculpt mode. Deformation of multires is also unsupported. With all this restictions users will always see the actual "layer" (or maybe mesh state would be more correct word) they are sculpting on. Internal changes: - All modifiers could have deformMatricies callback (the same as deformMatriciesEM but for non-edit mode usage) - Added function to build crazyspace for sculpting (sculpt_get_deform_matrices), but it could be generalized for usage in other painting modes (particle edit mode, i.e) Todo: - Implement crazyspace correction to support all kinds of deformation modifiers - Maybe deformation of multires isn't so difficult? - And maybe we could avoid extra bad-level-stub for ED_sculpt_modifiers_changed without code duplicating?
2011-01-30remove nan-makefilesCampbell Barton
2011-01-18bad spelling; 'indicies' --> 'indices'Campbell Barton
2011-01-17Bugfix #25657Ton Roosendaal
Three code fixes for 1 report. User experienced crashes while painting on float buffer + having preview renders on. - Texture Nodes: Image was re-allocated without using proper thread lock - Paint code: old convention to free the byte rect from a float image as signal to re-create now is a proper flag. This keeps image memory unchanged. Nice for render. - Imbuf: call to make a byte rect from float was freeing mipmaps unnecessary.
2011-01-15IRC bugreport fix: thumb brush works incorrect when using tablet by Dan ↵Sergey Sharybin
McGrath (troubled) Quite silly fix, not sure if it could be smarter with current events/brushes design. Use pressure_value from first brush step for brushes which don't support strokes -- thumb. brush, brushes with anchored stroke method. Should be fixed in nicer way after events redesigning. P.S. Tried to place pressure saving into invaliants update fuunction, but it seens that this function wouldn't know about pressure yet.
2011-01-13Sculpt:Nicholas Bishop
Small cleanup, de-duplicated the code for combining proxies
2011-01-12Bugfix #25570Ton Roosendaal
The tool-redo depends on a working undo system, so it can rewind a step and then redo operator with new settings. When a user disables undo, this won't work. Now the properties for redo operator (toolbar, F6) will grey out when a redo isn't possible.
2011-01-12remove redundant assignments & unused vars.Campbell Barton
also minor functional changes - OBJECT_OT_make_links_data() type property is now assigned to the operator property (so popup menu can find it) - removing BG image now returns cancelled if no image is removed.
2011-01-11Bugfix #25581Ton Roosendaal
Pressure sensitivity for Sculpt 'strength' got lost in code cleanup. Added warning in code, the function call is confusing.
2011-01-11Bugfix, own testingTon Roosendaal
When pressure was zero, a sculpt brush was still being executed with step amount divided by zero, and thus entering eternal loop. Maybe tablet-specific this but I wonder how this never got reported...
2011-01-09Bugfix #25557Ton Roosendaal
Using texture brush in Sculpt, was calling to use "osa tex" without giving it osa sample vectors. This crashed in using texture nodes.
2011-01-08Sculpt/Paint:Nicholas Bishop
More cleanups: moved a function declaration to the correct module, removed old/incorrect comments, marked more things with TODO where appropriate, refactored copy-pasted function, de-duplicated code.
2011-01-08Paint:Nicholas Bishop
More cleanups to the cursor drawing code; factored out another sculpt-related function, replaced float calculations with bitwise flags, removed unnecessary GL changes, de-duplicated some lines, removed unused parameters, and added more comments.
2011-01-08Paint cleanup:Nicholas Bishop
Pulled out the paint brush overlay drawing code into its own function, brush drawing function was before ~250 lines.
2011-01-08Paint/Sculpt:Nicholas Bishop
More minor cleanups: fixed names and factored out a function that was copy-pasted into paint stroke.
2011-01-08Paint/Sculpt:Nicholas Bishop
Some minor cleanups: removed `#if 0' code and moved a function into paint_util to avoid `extern' declaration.