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-06-22Cleanup: styleCampbell Barton
2016-06-22Cleanup: remove unused Image space curvesCampbell Barton
Caused leaks reading old files, was read/written but not freed, remove since its unused.
2016-06-22writefile: use const for old addressCampbell Barton
Also remove temp preview overwriting.
2016-06-22Docs: use doxy formatting for readfileCampbell Barton
2016-06-21Cleanup: hide debug print behind proper debug defines instead of using ↵Bastien Montagne
comments...
2016-06-21Fix T48412: Blender 2.77a crashes on Undo in some specific multi-level ↵Bastien Montagne
linked libraries cases. Good old dead-brain stupid error when iterating over a linked list from which you remove some items...
2016-06-21Fix T48688: Crash loading particle effector weightsCampbell Barton
2016-06-16Fix/cleanup BKE libquery's ID looper.Bastien Montagne
Some area were still not in sync with readfile.c, now should be better. Note that readfile.c has been used as référence here re us refcounting, not sure how accurate it is, time will say :|
2016-06-16readfile.c: fix some wrong usages of newlibadr_us.Bastien Montagne
There are most likely some more still, but think this should now be inline with libquery looper...
2016-06-16Readfile cleanup: add new newlibadr_real_us helper.Bastien Montagne
2016-06-14Write .blend file: refactor & fixes re ID block itself.Bastien Montagne
Factorized writing of ID block's data (so far, only IDProps) into own helper func. This also fixes missing IDProp (aka custom data) saving from GreasePencil and Library datablocks (and add comment about why we do not save WM IDProps). Finaly, it ensures all ID-related data are written immediately after the ID itself (was not the case for all data types previously, some were writting their own data before IDProps). This is not a fix (.blend file format does not enforce any order on sub-data of datablocks, they only have to be after datablock struct itself in file), but makes things more consistent.
2016-06-07readfile: optimization for undoCampbell Barton
Was using O(n^2) lookup on ID's with undo. This caused undo to hang with 1000's of data-blocks (especially with heavy scenes & outliner-space, which doesn't even need to be visible to cause a slow-down). Internally this uses a ghash per id-type, which is lazy-initialized. Each key uses the name and library since there may be name collisions between libraries. Developer Notes: - Adds small `BKE_main_idmap_*` API. - Needed to change linking order for this to build.
2016-06-07readfile: avoid library lookups for every id on undoCampbell Barton
Instead index libraries, makes minor speedup when using many libraries.
2016-06-06EditNormal modifier: add some 'maximum angle' limit.Bastien Montagne
Allows to avoid generating flipped faces when using extreme normal modifications. Related to T48576.
2016-06-06readfile: add assert to check libmap isn't sortedCampbell Barton
2016-06-06readfile: minor optimization, no need to count flagsCampbell Barton
in this case we only need to check if any id's need to be read.
2016-06-06Cleanup: use const for old member in OldNew structCampbell Barton
2016-06-06Cleanup: rename flag -> tagCampbell Barton
ID's have a flag member too, best avoid confusion here.
2016-05-22Make Shift-Z in viewprot a toggle between current shading mode and rendered oneSergey Sharybin
This way it is now possible to toggle between material and rendered shading while previously rendered viewport will always go back to solid shading.
2016-05-18Cycles: Pole merging for spherical stereoSergey Sharybin
The idea of pole merge is to fade interocular distance after a certain altitude to zero when altitude goes closer to a pole. This should prevent annoyances looking up in the sky or down to the bottom. Works for both panorama and perspective cameras when Spherical Stereo is enabled. Reviewers: dfelinto, brecht Reviewed By: brecht Subscribers: sebastian_k Differential Revision: https://developer.blender.org/D1998
2016-05-17Bendy Bones: Advanced B-Bones for Easier + Simple RiggingJoshua Leung
This commit/patch/branch brings a bunch of powerful new options for B-Bones and for working with B-Bones, making it easier for animators to create their own rigs, using fewer bones (which also means hopefully lighter + faster rigs ;) This functionality was first demoed by Daniel at BConf15 Some highlights from this patch include: * You can now directly control the shape of B-Bones using a series of properties instead of being restricted to trying to indirectly control them through the neighbouring bones. See the "Bendy Bones" panel... * B-Bones can be shaped in EditMode to define a "curved rest pose" for the bone. This is useful for things like eyebrows and mouths/eyelids * You can now make B-Bones use custom bones as their reference bone handles, instead of only using the parent/child bones. To do so, enable the "Use Custom Reference Handles" toggle. If none are specified, then the BBone will only use the Bendy Bone properties. * Constraints Head/Tail option can now slide along the B-Bone shape, instead of just linearly interpolating between the endpoints of the bone. For more details, see: * http://aligorith.blogspot.co.nz/2016/05/bendy-bones-dev-update.html * http://aligorith.blogspot.co.nz/2016/05/an-in-depth-look-at-how-b-bones-work.html -- Credits -- Original Idea: Daniel M Lara (pepeland) Original Patch/Research: Jose Molina Additional Development + Polish: Joshua Leung (aligorith) Testing/Feedback: Daniel M Lara (pepeland), Juan Pablo Bouza (jpbouza)
2016-05-08Action Editor: Initial support for a Properties RegionJoshua Leung
This commit adds some of the initial support for a properties region in the Action Editor. There are currently no panels to display, as there is still a lot of work required to port over the required internal architecture to support the panels seen in the Graph Editor.
2016-05-08D1886: GPencil - Add smooth iterations parameter to get better qualityAntonio Vazquez
After some test, a new iteration parameter has been added in order to apply repetitive smoothing to the stroke. By default 1 iteration is applied, but can used any number between 1 and 3. The repetition uses different levels of intensity from 100% of the defined smooth factor for the first loop, 50% for the second and 25% for the third. We use in each loop a smaller value in order to avoid deform too much the stroke.
2016-05-08Code Cleanups: A bunch of tweaks to tidy up things from the GPencil Fill patchJoshua Leung
2016-05-08D1705: Fix Grease Pencil Fill for Concave ShapesAntonio Vazquez
Improve filling for concave shapes using a triangulation of the stroke. The triangulation information is saved in an internal cache and only is recalculated if the stroke changes. The triangulation is not saved in .blend file. Reviewers: aligorith Maniphest Tasks: T47102 Differential Revision: https://developer.blender.org/D1705
2016-04-27Sequencer text strip color optionsCampbell Barton
D1930 by @NiKoZLaB
2016-04-27Fix mask active-point being lost on load/undoCampbell Barton
2016-04-25Refactor BKE_blender into separate headersCampbell Barton
- BKE_blender_version.h (only version defines & versionstr). - BKE_blender_copybuffer.h (currently only used for view3d copy/paste). - BKE_blender_undo.h (global undo functions). - BKE_blendfile.h (high level blend file read/write API).
2016-04-15New freehand curve drawing toolCampbell Barton
- Access with Shift-LMB or from the 'Create' toolbar tab. - Uses curve fitting for bezier curves, with error and corner angle options. - Optional tablet pressure to curve radius mapping. - Depth can use the cursor or optionally draw onto the surface, for the entire stroke or using the stroke start. - Stroke plane can optionally be perpendicular to, or aligned to the surface normal. - Optional radius tapering and for start/end points. - Supports operator redo and calling from Python.
2016-03-27Fix T45075: "Error, region type 2 missing in - name:"File", id:5"Julian Eisel
Unexpectedly found out what was going wrong here. If a file was saved with a filebrowser open, we searched for the channel region in the wrong list (see 'ListBase *regionbase = (sl == sa->spacedata.first) ? &sa->regionbase : &sl->regionbase;'). Minor annoyance is that I had to move the loookup to the 2.77.1 version patch now.
2016-03-27Fix changing view in default video editing layout brokenJulian Eisel
Own mistake in 802bb422671 Apparently we only store one preview region for all views, didn't know that (makes sense though).
2016-03-27Fix crash opening some .blend files after recent fix for hidden preview regions.Brecht Van Lommel
2016-03-26Fix T47951: UserId problem on reload.Bastien Montagne
readfile.c would increment object usercount in three places, where it should not. Remember kids: Objects are **only** refcounted by Scene's bases, and Object->proxy!
2016-03-26Fix sequencer view in video editing layout containing hidden preview regionJulian Eisel
Steps to reproduce were: * Open default video editing layout * Drag down or click '+' icon in upper right corner of sequencer view * A preview region appears, even though the view type is not set to sequencer-preview split mode Another bug that has been there since ages :/ Reported by @Blendify via IRC, thanks!
2016-03-22Fix for crash of point density textures due to undefined `point_data` on ↵Lukas Tönne
loading.
2016-03-22Weight Paint: blur now smooths connected weightsCampbell Barton
Previously it would average all points under the brush, giving an off feedback loop that often depended on the direction of the brush stroke, giving not-very-useful smearing effect. Now blend brush smooths between connected edges.
2016-03-22Fix T47882: startup camera not uprightCampbell Barton
2016-03-22Cleanup: reduce scope for versioning varsCampbell Barton
2016-03-14Better fix for T47787 - remove extra user due to 'user_one' as soon as we ↵Bastien Montagne
increase 'real' user count. This has several benefits: * User count remains coherent, regardless of the order in which you use 'user_one' & real refcounting users (i.e. if you add to group, and then link in scene, or the reverse, you now always get same final user count). * Avoids the need to check for potential 'user_one' extra user in count in several places in code (e.g. when making IDs single users...). * Users won't wonder why they cannot make 'single user' and ID even though its user count shows '2'! * readfile.c now always uses code from BKE's library.c when modifying id->us. Which means we can consider (asside from assignment during initialization) that id->us is read-only outside of library.c context. Note that this commit reverts previous one (rB6b1d77a8052b) - please **do not** backport this one in 2.77.
2016-03-03Fix T47676, take two: also do some 'regular file' versionning (allows to ↵Bastien Montagne
handle users own default startup files, among others...).
2016-03-03Fix T47676: Broken default values for particle brush strength.Bastien Montagne
Current startup .blend has old (percent?) values for particle brush strength. Since rBe4e21480d6331903c90ab073746484498441e1ac, UI controls do not clamp automatically values anymore, which means when you first enable comb (or any other brush) you get a 50 strength, waaaayyyy to powerful. This commit fixes this in `BLO_update_defaults_startup_blend`, note that it does not fix custom users' startup files, nothing to do here...
2016-03-03Cleanup: take Main argument for copyCampbell Barton
2016-02-29Minor optimization: avoid 2x hash, adding to setCampbell Barton
2016-02-23Fix memory leak in point densitySergey Sharybin
The issue was happening when having unconnected point density which will cache data but will not free it because there's no actual call to the actual sampling. Now the idea is to make sure cache is zeroed on file load and undo and then caching via RNA will free the data if any exists. This could leave us with a single copy of cache in the node if it's not used, but it's quite small amount of memory and it's not leaking.
2016-02-22Sculpt: Enable original-normal for grab brushCampbell Barton
Without this, grabbing with normal weight will continually select new normals based on where you move the cursor, causing the normal location to flicker in a way which isn't controllable in any useful way.
2016-02-15Cleanup: reorganize BKE ID tagging functions.Bastien Montagne
BKE_main_id_tag_/BKE_main_id_flag_ were horrible naming now that we split those into flags (for presistent one) and tags (for runtime ones). Got rid of previous 'tag_' functions behavior (those who were dedicated shortcuts to set/clear LIB_TAG_DOIT), so now '_tag_' functions affect tags, and '_flag_' functions affect flags.
2016-02-15Fix white balance, was doing unnecessary linear conversionsCampbell Barton
This made byte & float images behave differently, where other modifiers remain the same. Also remove scene from the modifier (should have been passed as arg but no longer needed).
2016-02-13Set alpha clip to lower valueCampbell Barton
Workaround for T46962 still works
2016-02-11Fix for cursor not being reset on file loadCampbell Barton
caused by 6081f6c3
2016-02-09Set clip alpha to small non-zero valueCampbell Barton
This amends 089d2a18 which was a known driver bug (T46962), increasing the clipping to avoid precision issues.