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
2016-05-18Fix missing modifiers for mesh objectsSergey Sharybin
All modifiers for all non-lattice objects were disabled after recent commit.
2016-05-18Fix T47737: Lattice crashes w/ smooth modifierPhilipp Oeser
Add flag for modifiers that support lattice
2016-04-04Cycles: Make curves modified by a taper object with modifier considered a ↵Sergey Sharybin
deform modified That might consider a bit more objects to be considered deform modified, but it covers common case of using taper object without require of doing recursive checks. In worst case it'll be just some extra synchronization time, no render time difference will happen for false-positive because of extra checks happening in Cycles.
2016-04-01Cycles: Support deformation motion blur for curves deformed by taperSergey Sharybin
2016-02-11Fix T47387: Cycles Point Density Render IssuesSergey Sharybin
2016-01-09Fix broken build from rBd7da51b727725Bastien Montagne
Please avoid specialized typed enums in headers as widely used as BKE_object.h, we do not want to include DNA_modifiers_type.h everywhere...
2016-01-09Smoke, Dynamic Paint: de-duplicate object subframe update function.Kévin Dietrich
As in the title. In the smoke version, there was also an extra 'for_render' parameter that wasn't used, and wasn't used by the callers either, so it was removed altogether. Reviewers: brecht Reviewed By: brecht Subscribers: brecht Differential Revision: https://developer.blender.org/D1718
2016-01-04Fix T47038: Particles in Particle Edit Mode get added in completely wrong ↵Bastien Montagne
location. It also fixes another issue (crash) related to symmetric editing. Quite involved, we (try to!) fix complete broken logic of parts of particle code, which would use poly index as tessface one (or vice-versa). Issue most probably goes back to BMesh integration time... This patch mostly fixes particle editing mode: - Adding/removing particles when using generative modifiers (like subsurf) should now work. - Adding/removing particles with a non-tessellated mesh (i.e. one having ngons) should also mostly work. - X-axis-mirror-editing particles over ngons does not really work, not sure why currently. - All this in both 'modes' (with or without using modifier stack for particles). Tech side: - Store a deformed-only DM in particle modifier data. - Rename existing DM to make it clear it's a final one. - Use deformed-only DM's tessface2poly mapping to 'solve' poly/tessface mismatches. - Make (part of) mirror-editing code able to use a DM instead of raw mesh, so that we can mirror based on final DM when editing particles using modifier stack (mandatory, since there is no way currently to find orig tessface from an final DM tessface index). Note that this patch is not really nice and clean (current particles are beyond hope on this side anyway), it's more like some urgency bandage. Whole crap needs complete rewrite anyway, BMesh's polygons make it really hard to work with current system (and looptri would not help much here). Also, did not test everything possibly affected by those changes, so it needs some users' testing & validation too. Reviewers: psy-fi Subscribers: dfelinto, eyecandy Maniphest Tasks: T47038 Differential Revision: https://developer.blender.org/D1685
2015-12-27Split id->flag in two, persistent flags and runtime tags.Bastien Montagne
This is purely internal sanitizing/cleanup, no change in behavior is expected at all. This change was also needed because we were getting short on ID flags, and future enhancement of 'user_one' ID behavior requires two new ones. id->flag remains for persistent data (fakeuser only, so far!), this also allows us 100% backward & forward compatibility. New id->tag is used for most flags. Though written in .blend files, its content is cleared at read time. Note that .blend file version was bumped, so that we can clear runtimeflags from old .blends, important in case we add new persistent flags in future. Also, behavior of tags (either status ones, or whether they need to be cleared before/after use) has been added as comments to their declaration. Reviewers: sergey, campbellbarton Differential Revision: https://developer.blender.org/D1683
2015-11-24Fix T46816: Vert/Edge snap fails at edge of boundsCampbell Barton
2015-11-10Correct order-of-freeing error from last commitCampbell Barton
2015-11-10Fix T46720: Crash applying subsurf modifierCampbell Barton
Freeing a modifier that had data in the derived mesh could crash (applying or removing).
2015-11-09Cleanup: avoid incrementing/decrementing id->us outside of BKE_library.Bastien Montagne
We have callbacks for that, they also do some checks and help ensure things are done correctly. Only place where this is assumed not true is blenloader (since here we may affect refcount of library IDs as well...).
2015-11-02Library API: pass Main struct to unlink functionsCampbell Barton
2015-10-28BGE: Fix T44448: LOD will display wrong LOD level object if zoomed outJorge Bernal
then in Current object distance hasn't to be cached.
2015-10-23BLI_math: add mat3_normalized_to_* functionsCampbell Barton
Many uses of matrices for rotation keep them normalized, so no need to normalize each time.
2015-10-23BLI_math: add invert_qt_normalizedCampbell Barton
When the quat is known to be unit length, so we can avoid scaling (just conjugate_qt which asserts on non unit quats).
2015-10-20First step to handle missing libs/datablocks when reading a file.Bastien Montagne
Idea is, instead of ignoring completely missing linked datablocks, to create void placeholders for them. That way, you can work on your file, save it, and find again your missing data once lib becomes available again. Or you can edit missing lib's path (in Outliner), save and reload the file, and you are done. Also, Outliner now shows broken libraries (and placeholders) with a 'broken lib' icon. Future plans are also to be able to relocate missing libs and reload them at runtime. Code notes: - Placeholder ID is just a regular datablock of same type as expected linked one, with 'default' data, and a LIB_MISSING bitflag set. - To allow creation of such datablocks, creation of datablocks in BKE was split in two step: + Allocation of memory itself. + Setting of all internal data to default values. See also the design task (T43351). Reviewed by @campbellbarton, thanks a bunch! Differential Revision: https://developer.blender.org/D1394
2015-10-11BGE: Adding a Max Jumps value to the character physic windowThomas Szepe
Actually we only have a Python API that allows to change the max jumps value. The patch also allows non programmers to change the maximum numbers of jumps. Reviewers: panzergame, sybren, campbellbarton, lordloki, moguri, agoose77 Reviewed By: lordloki, moguri Projects: #game_engine Differential Revision: https://developer.blender.org/D1302
2015-10-08Modifiers: add 'cd_flag' parameter to their ID looping callbacks, neededBastien Montagne
since some IDs (objects) are not 'refcounted' while others (textures) are... Partial merge from id-remap branch.
2015-10-08Fix T46386: Duplicate fails updating driver linksCampbell Barton
Duplicate wasn't updating links, so duplicatinvg a objects would still point to the originals for curve-taper, texmesh, drivers. Use generic id-looper to handle replacing data.
2015-09-25Fix T46263: bpy api - assigning to object.matrix_basis with AXIS_ANGLE ↵Bastien Montagne
rotation mode does not work correctly. Drot in axis angle does not make that much sense anyway (it's even disabled in UI), but let's apply it correctly at least!
2015-09-14Fix T46099: snapping failed on objects with some NULL-dimension in their bbox.Bastien Montagne
Added a helper that ensures a bbox has some non-NULL dimension along all its axes. Also, fixed some (rather unlikely) NULL dereference cases (though it should not in this context, `BKE_object_boundbox_get()` can return NULL).
2015-09-03View-Selected: use custom bones boundboxCampbell Barton
Support using custom pose-bone transform and object when calculating view bounds.
2015-08-25Preemptive fix for search-buffer size issuesJoshua Leung
Forgot to increase the size of the string buffer in b88d8916e44f998c4f0bc397b29b0d6ff0f011e9 While this wouldn't have caused problems in most cases (since most modifier names are short), in the rare event that a long modifier name exists, the buffer may have ended up being truncated prematurely, causing the wrong FCurves to get matched.
2015-08-25Fix T45891: Crash generating previewsCampbell Barton
2015-08-23Fix T45633 - Animated modifiers don't update in new depsgraphJoshua Leung
* Resolved some todo's where FModifier paths were getting identified using the wrong pattern. * Added the missing animation -> modifier link. The "hacky" part here is just to do with how we check if that link is needed; the link though should exist in the graph.
2015-08-18Refactor translation code out of blenfontCampbell Barton
- Add blentranslation `BLT_*` module. - moved & split `BLF_translation.h` into (`BLT_translation.h`, `BLT_lang.h`). - moved `BLF_*_unifont` functions from `blf_translation.c` to new source file `blf_font_i18n.c`.
2015-08-17Fix T45802: View Lock w/ Curve-Parent failsCampbell Barton
2015-08-17Cleanup: remove unused Object.ipoflagCampbell Barton
2015-08-14Cleanup: styleCampbell Barton
2015-08-13Add real boundbox support to lattice, and update armature one.Philipp Oeser
* draw lattice boundingboxes in 3dView [if "show_bounds" is used -- an option previously pretty useless for lattices] * give proper values for lattice objects ".bound_box" in bpy * give proper values for armature objects ".bound_box" in bpy * lets users use "Dimensions" [in 3dView Transform panel] on lattices and armatures * remove redundant calculations in "boundbox_armature()" Armatures boundingboxes were already drawn in 3dView, if "show_bounds" was used. Based on report T45735: Lattice's bounding_box doesn't update, and a comment in code by @campbellbarton ("later we may want to add dimensions for lattice, armature etc too"). Revision: https://developer.blender.org/D1460
2015-08-10Data previews: add preview to Object, Group and Scene.Bastien Montagne
This commit does not add anything yet to users, it’s purely internal one. Useful commit is next. ;)
2015-06-12Fix wrong proxy pointer hanging around after making all localSergey Sharybin
The issue was caused because of the following circumstances: - Making All Local will just iterate all IDs and clear linked flags - It will not do anything with objects which are already local (and since proxy rig is local nothing will be changing it). This commit makes it so id_clear_lib_data() takes care of clearing all related proxy pointers, avoiding situations when proxy rig will point to a local armature. Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D1276
2015-06-11Use more proper flag for psys reconstruction after memory optimizationSergey Sharybin
2015-06-11Fix for unwanted particle re-distribution happening due to memory optimizationSergey Sharybin
The issue was caused by memory optimization marking particle system to recalc, and because of the way how particle flags works it was possible that it'll cause particle's re-distribution. Now this memory optimization will act the same as loading the file. This commit appears to be safe according to our render farm and is safe to be included into final release.
2015-06-08RNA: Object.shape_key_remove methodCampbell Barton
Python had no ability to remove shape keys Original D1169 from @lichtwerk, with edits
2015-06-04Cleanup: clarify order of precedence: &/?Campbell Barton
2015-06-02Fix T36994: Make link modifier fails (soft body)Campbell Barton
2015-06-02Cleanup: use const for object copy funcsCampbell Barton
2015-05-26Fix T44497: Crash on deleting curve handle with hook modifierSergey Sharybin
It was possible race condition on empty curves -- it's possible that curve object is fully updated and path is null in that cases, Proper way to deal with this is to check curve_cache for non-NULL.
2015-05-18Solve threading conflict related on proxy group's inverse matrixSergey Sharybin
It was possible that two threads will start calculating proxy group's inverted matrix and store it in the object itself. This isn't good idea because it means some threads might be using partially written matrix.
2015-05-12Depsgraph: Make ob_get_parent_matrix() more public and reusableSergey Sharybin
Currently still only used from object.c, but in the next commit it'll be also used from granular object update callbacks.
2015-05-12Depsgraph: Add utility function to check whether modifier depends on timeSergey Sharybin
Currently unused, based on the code from old depsgraph.c. The purpose is to re-sue the code over old and new depsgraph in an easy way.
2015-05-12Depsgraph: Move update-related functions into own filesSergey Sharybin
Currently it is just moving existing functions into a new file, but in the future those new files will be grown much more due to upcoming more granular scene updates. Should be no functional changes.
2015-05-07Fix T44611: 'make_links_data' modifiers would fail and crash with multires ↵Bastien Montagne
modifier. Since it was not ensuring dest has valid mdisp data matching new multires modifier subdiv level... Also, fixed a bug in `multires_subdivide()`, which would crash when trying to increase from level 0 (aka no subdiv) to > 1 (wrong check, trying to interpolate when it should not). And added a few sanity checks.
2015-05-04Fix Buttons context, invalid object data accessCampbell Barton
Another instance of T44376. Crash where the Python context would access a stale pointer to the active object.
2015-05-04Remove redundant outliner lookup freeing objectsCampbell Barton
2015-05-04Add name argument to data creation API callsCampbell Barton
Was adding then renaming, unnecessarily.
2015-04-27Cleanup: use mul_v3_mat3_m4v3Campbell Barton