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-08-14code cleanup: reduce calling sqrt() when distances are only calculated for ↵Campbell Barton
comparison use dist_squared_to_line_segment_v2().
2012-07-08style cleanupCampbell Barton
2012-07-03More spell and typo fixes (mostly visualise->visualize, grey->gray, ↵Bastien Montagne
normalise->normalize).
2012-06-29Fix #31948: dynamic paint substeps do not work for objects parented to armaturesMiika Hamalainen
2012-06-25style cleanupCampbell Barton
2012-05-20code cleanup:Campbell Barton
- style - multi-line ifs move braces onto new lines. - iterators - convert some to macros, other split up and move brace.
2012-05-19style cleanup: whitespace/indentationCampbell Barton
2012-05-19code cleanup: use TRUE/FALSE rather then 1/0 for better readability, also ↵Campbell Barton
replace do prefix with do_ for bool vars.
2012-05-18style cleanup: function definitionsCampbell Barton
2012-05-17style cleanup: block commentsCampbell Barton
2012-05-13code cleanup: minor improvements to float/vector usage.Campbell Barton
2012-05-12code cleanup: some style and use math defines, also small speedup for ↵Campbell Barton
dynamicpaint, dont call acosf twice.
2012-05-12style cleanup: whitespaceCampbell Barton
2012-05-05code cleanup: BKE_scene api naming.Campbell Barton
also stop numpy from being found in /usr/include with cmake.
2012-05-05code cleanup: function naming, use BKE_*type* prefix.Campbell Barton
2012-04-30code cleanup: header cleanupCampbell Barton
2012-04-29style cleanup: function calls & whitespace.Campbell Barton
2012-04-29style cleanup: whitespace / commasCampbell Barton
2012-04-28code cleanup: Campbell Barton
- replace inline face UV center calc. - use const float[3] for mesh and uv functions. - remove unused define
2012-04-28style cleanup: changes to brace placement / newlines - for/while/if/switchCampbell Barton
2012-04-23corrected more issues from [#31069] Analyzing the Blender project with ↵Campbell Barton
PVS-Studio
2012-04-21style cleanup: multi-line if statements.Campbell Barton
2012-04-21style cleanupCampbell Barton
2012-04-03stule cleanup: edits for files which were recently cleaned up.Campbell Barton
2012-03-27fix [#30651] bpy.ops.object.mode_set(...) editmode removes faces.Campbell Barton
problem was that BMesh had tessellation call when undo pushes were called. if python called an operator with no undo push, tessfaces would not be created. fix this by making it the responsibility of each editmesh operator to re-tessellate, as it is with notifiers and depsgraph. added EDBM_update_generic() function to add notifier, tag for depsgraph update and optionally re-tessellate.
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-22Renaming CD_WEIGHT_MCOL/MLOOPCOL and their masks from WEIGHT to PREVIEW, as ↵Bastien Montagne
this layer is now also used for various preview tasks in Object mode. “Cleanup” commit, no functional changes.
2012-03-19Fix [#30234] Various problems with CD layers and tesselation, related to ↵Bastien Montagne
modifiers stack. Should also fix [#30266], [#29451], and partly [#30316]. Here are the changes made by this commit: * It adds a "dirty" flag to DerivedMesh struct (for now, only DM_DIRTY_TESS_CDLAYERS, but more might be added as needed). * It adds a new func, DM_update_tessface_data, which assumes tessfaces themselves are valid, but updates tessellated customdata from their poly/loop counter parts. * At end of modstack, when valid tessellated faces are present in finaldm , but the cdlayers dirty flag is set, call that function (instead of recomputing the whole tessellation). * Edits to the codes concerned (UVProject, DynamicPaint, and Subsurf modifiers). * Also add to subsurf dm generation code the creation of a CD_POLYINDEX layer (mandatory for DM_update_tessface_data to work well, and imho all tessellated dm should have one). Note: some pieces of old code are just #if 0’ed, will clean them later.
2012-03-18spelling cleanupCampbell Barton
2012-03-18swap BMLoopCol r/b color, requires subversion bump.Campbell Barton
old mesh MCol 'r' was blue, 'b' was red, but theres no reason to keep this for bmesh with MLoopCol. Loading old files works, saving legacy format works too. What wont work is loading a file after this revision and loading it in an older revision since the bmesh merge. (it wont crash but the blue and red will be swapped on vertex color layers).
2012-03-09style cleanup: comment blocksCampbell Barton
2012-03-09style cleanup: spelling.Campbell Barton
also remove large, duplicate comments from sunsky.h
2012-03-08use BLI_path_cmp() rather then strcmp()Campbell Barton
2012-03-07style cleanup - braces & else / if'sCampbell Barton
2012-03-04style cleanup - comment spelling + translate some dutch.Campbell Barton
2012-03-04style cleanup / comment formatting for bli/bke/bmeshCampbell Barton
2012-03-01Spelling CleanupCampbell Barton
2012-02-27style cleanup (mostly whitespace)Campbell Barton
2012-01-30remove CDDM_copy second argument, added CDDM_copy_from_tessface instead.Campbell Barton
this function caused too many conflicts and in most cases was zero anyway.
2012-01-30svn merge ^/trunk/blender -r43733:43751Campbell Barton
2012-01-27Dynamic Paint:Miika Hamalainen
* Fix: Brush didn't paint particles that were hidden by the display percentage setting.
2012-01-25svn merge ^/trunk/blender -r43664:43676Campbell Barton
2012-01-24Dynamic Paint:Miika Hamalainen
* Converted some more functions to use mpolys/mloops instead of tessellated faces. * Fixed some bmesh related issues.
2012-01-24Dynamic Paint:Miika Hamalainen
* Fix: Substep update failed if brush was parented to a canvas vertex. Now substeps are ignored in such case. * Fix: Wave "open borders" option didn't work for image sequence format. * Fixed a possible crash after changing surface format to image sequence. * Some code cleanup.
2012-01-23BMesh: Fix for previous own fix (re-enable DynamicPaint previews in Object ↵Bastien Montagne
mode). In fact, we have to add a CD_WEIGHT_MCOL layer (if not yet present) when updating CD_WEIGHT_MLOOPCOL, else with modifiers modifying the topology (like subsurf), it will sigsev. That step should probably be done at tesselation time, though…
2012-01-23BMesh: Fix (re-enable) DynamicPaint previews in Object mode.Bastien Montagne
Also simplifies DM_update_weight_mcol: no need to update CD_WEIGHT_MCOL here, as it is anyway recreated from CD_WEIGHT_MLOOPCOL at tesselation time. Only commented out code for now.
2012-01-23svn merge ^/trunk/blender -r43611:43616Campbell Barton
2012-01-23Merged with trunk (-r43609:43611): updated modifier preview.Bastien Montagne
Noted preview code for DynamicPaint is currently disabled, will see if I can re-enable it…
2012-01-22svn merge ^/trunk/blender -r43564:43609Campbell Barton
2012-01-22Add weight preview to WeightVG modifiers, and first, simple/basic refactor ↵Bastien Montagne
of how modifiers can generate preview. User side: * Preview for DynamicPaint should keep the same behavior (for now). Weight preview should be somawhat quicker, though. * Preview for WeightVG modifiers is only active in WeightPaint mode, and if the affected vgroup is the active one. * Last active preview modifier in stack wins! Note: that modifier preview topic is yet to be further refined, quite raw/incomplete for now. Dev side: * In draw code, renamed DRAW_DYNAMIC_PAINT_PREVIEW flag to DRAW_MODIFIERS_PREVIEW * Removed use of MOD_DPAINT_PREVIEW_READY in DynamicPaint code (seems unecessary, and if it was, should be of more general scope). * Added eModifierTypeFlag_UsesPreview to ModifierTypeFlag, for modifiers that can generate some preview data. * Added three new modifier funcs, to handle preview modifiers in draw code / mod stack. * For weights preview: added the generic DM_update_weight_mcol func, which can update WEIGHT_MCOL layer with either a given array of weights (currently used by DynamicPaint only), or from current active vgroup(s). So now, draw code is fully generic (i.e. no more modifier-type checking in it). Mod stack code is generic to some extent, but will need more work.