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
2014-11-29Cleanup: unused headersCampbell Barton
2014-11-23Refactor: BLI_path_util (part 2)Campbell Barton
Use BKE_appdir/tempdir naming prefix for functions extracted from BLI_path_util
2014-11-23Refactor: BLI_path_util (split out app directory access)Campbell Barton
This module is intended for path manipulation functions but had utility functions added to access various directories.
2014-08-20Cleanup: some const and bool cleanup.Bastien Montagne
2014-08-17Fix T41467: Modifier view buttons changing positions.Bastien Montagne
Commits early in this year (to save some space) broke this. Hopefully this time it works in all cases - lastCageIndex is no more influenced by realtime/edit active states. Also, inactivate buttons instead of hiding them, can be useful to set those data even though it does not have any immediate effect. Took the opportunity to switch cage buttons to RNA, btw.
2014-08-15Modifiers: consider all constructive modifiers as 'preview' ones as well.Bastien Montagne
Indeed, constructive modifiers are highly likely to modify CDLayers like vgroups or vcols! See vertexgroup2.blend file ({F93770}) in T40523, especially obvious with subsurf modifier.
2014-06-23T39690: Modifications to Blender's 'temp dir' system.Bastien Montagne
Current temporary data of Blender suffers one major issue - default 'temp' dir on Windows is never automatically cleaned up, and can end being quite big when used by Blender, especially when we have to store per-process data (using getpid() in file names). To address this, this patch: * Divides tempdir paths in two, one for 'base' temp dir (the same as previous unique tempdir path), the other is a mkdtemp-generated sub-dir, specific to each Blender instance. * Only uses base tempdir when we need some shallow persistance accross Blender sessions - and we always reuse the same filename (quit.blend...) or generate small file (crash reports...). * Uses temp sub-dir for heavy files like pointcache or renderEXRs (Save Buffer option). * Erases temp sub-dir on quit or crash. To get this working it also adds a working 'recursive delete' to BLI_delete() under Windows. Note that, as in current code, the 'recover render result' hack-feature that was possible with SaveBuffer option is still removed. A real renderresult cache feature will be added soon, though. Reviewers: campbellbarton, brecht, sergey Reviewed By: campbellbarton, sergey CC: sergey Differential Revision: https://developer.blender.org/D531
2014-05-30Fix T40445: Disabled modifiers prevent cage edit mode.Bastien Montagne
No valid reason to make non-mapping modifiers break edit cage, when they are disabled in 3DView/edit mode!
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-03-20Code cleanup: use boolsCampbell Barton
2014-03-15Code cleanup: use r_ prefix for return argsCampbell Barton
2014-02-26Further work for fix T38804: unnecessary empty space in the modifier UI.Brecht Van Lommel
2013-12-21Mesh Modifiers: refactor copying using a generic functionCampbell Barton
2013-12-18Style Cleanup: minor edits in recent changesCampbell Barton
2013-12-13Interface / Modifiers: Don't show cage placeholder in modifier header, if ↵Thomas Dinges
the current modifier does not support it or the cage is disabled (like Subsurf 0). This way we save some space but still avoid the jumping around while changing settings in the header itself. Thanks to Brecht for help on this. :)
2013-09-24modifiers_isCorrectableDeformed now checks a modifier is enabled before ↵Campbell Barton
returning true, also check deformMatricesEM callback for modifier_isCorrectableDeformed() rather then checking modifier types.
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-07-05fix for [#35911] wasn't complete, while weigths would show in editmode, ↵Campbell Barton
weights that were modified by a weight modifier wouldn't.
2013-06-19move modifier callback wrappers into modifier.cCampbell Barton
2013-06-13fix for problem with creating weight-paint preview.Campbell Barton
In the case where the modifier stack didnt need deform-verts to calculate, they would not be available for the preview either. This fixes a bug caused by r57206 which set mirror to preview so the mirrored weights would be displayed, but it only worked when there was an armature after it, see [#35545].
2013-06-02use booleans for modifiers and api callbacks.Campbell Barton
2013-03-25More new data names translation (most cases should be covered now).Bastien Montagne
Also done a few cleanup here and there...
2013-03-20I18n users request: add the ability to use a translated name for newly ↵Bastien Montagne
added/created objects or other datablocks. This simply adds a third "translation type" (in addition to iface and tip), "new data", with relevant user settings flag and helper funcs/macros (and py api). Currently implemented name translation when adding new objects, as well as modifiers and constraints, will add the others (cd layers, scenes, perhaps nodes [though I think they do not need this], etc.) later.
2013-03-02code cleanup: clarify comment about virtial-modifiers, also add comments to ↵Campbell Barton
DNA headers when its not so obvious what their purpose is.
2012-12-15remove modifiers_indexInObject(), just call BLI_findindex directly.Campbell Barton
2012-12-15add checks to style checker script for 'a . b' and 'a []'Campbell Barton
also use BLI_findindex for modifiers_indexInObject
2012-11-13disable applying constructive modifiers when in sculpt mode with multi-res ↵Campbell Barton
data, since this would crash. also rename modifier_sameTopology -> modifier_isSameTopology(), modifier_nonGeometrical -> modifier_isNonGeometrical()
2012-10-27A few more BMesh errors messages translated, and "automated" translation for ↵Bastien Montagne
modifers too!
2012-10-15Parenting an object to a deformer (armature/curve/lattice) will now attempt toJoshua Leung
check if the object is already parented to said deformer before trying to add a new modifier This should help reduce the number of cases where users inadvertantly end up creating multiple deform modifiers pointing to the same object, which has been known to be a cause of "double-transform" artifacts. Note that this is only able to detect these cases by checking if the parent object is selected, so this will only really work for the Ctrl-P shortcut where you have to select both objects first. However, it shouldn't be a problem either in the Outliner (drag and drop), as the object probably won't be a child of its parent already if you're doing this.
2012-10-07style cleanup: if();Campbell Barton
2012-09-19code cleanup: make shape key api names consistent with our new convention.Campbell Barton
2012-07-04Bugfix Smoke / DynamicPaint: Missing update call from depsgraph was missing ↵Daniel Genrich
when force fields were used.
2012-05-20Fix bug #31529 Remesh remove Apply as Shape buttonNicholas Bishop
Change modifier_sameTopology() to not not treat Nonconstructive modifiers as having same topology. This function is only used to test whether Apply as Shape is allowed. The exact nature of "nonconstructive" modifiers is not documented, but current list is remesh, fluidsim, decimate, mask, build, and boolean. All of these modify topology, and should not be making making shape keys.
2012-05-09style cleanup: whitespace/operatorsCampbell Barton
2012-05-06style cleanup: blenkernelCampbell Barton
2012-05-06Removing the old armature 'deform' settings (use vertex groups/envelopes/quats).Joshua Leung
As far as I could tell, these were really only still used for "virtual modifiers", though we really don't use these anymore. Instead, most of the time, people need to set these settings in armature modifiers directly (these didn't even get copied over in that case). This was a source of confusion and redundancy, so removing these now. This change can be reverted if these were actually of some use out there...
2012-04-29style cleanup: whitespace / commasCampbell Barton
2012-04-21style cleanup: multi-line if statements.Campbell Barton
2012-03-26Fix for truncation of 64-bit CustomDataMasks.Nicholas Bishop
Can't use GET_INT_FROM_POINTER anymore with CD masks, as this truncates to 32-bit. Bug: http://projects.blender.org/tracker/index.php?func=detail&aid=30680&group_id=9&atid=498 CR: http://codereview.appspot.com/5905059/
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-18spelling cleanupCampbell Barton
2012-03-09style cleanup: spelling.Campbell Barton
also remove large, duplicate comments from sunsky.h
2012-03-04style cleanup / comment formatting for bli/bke/bmeshCampbell Barton
2012-02-28bmesh code cleanup - remove most of BKE_bmesh and remove BKE_bmeshCustomData.h.Campbell 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.
2011-12-20New modifier type: eModifierTypeType_NonGeometrical, for modifiers affecting ↵Bastien Montagne
CustomData layers only (e.g. UVProject and WeightVG ones). Also, allow applying to obdata those modifiers, even with shapekeys, but do not allow applying them *as* shapekey (as shapekeys do not have CD layers). Fix [#29636] Vertex Weight Mix modifier "apply" button don't work. Note: applying whit shape keys currently always uses base shape, not current one (for apply to obdata as well as apply to shapekey), but this is another topic...
2011-11-20share code for fluidsim, ocean & dynamic paint file paths.Campbell Barton
- use BLI_join_dirfile for joining all paths (no need to ensure slash is appended). - paths from linked library files now supported.
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-22header cleanup and typo'sCampbell Barton
2011-10-20BLI_ghash.h was including BLI_blenlib.h, remove from ghash header and ↵Campbell Barton
include in each file