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-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.
2016-02-08Fix: Empty > Image not working in some hardwaresDalai Felinto
Basically the default U.glalphaclip was 1.8367099231598242e-40 in some computers (e.g., OSX 10.11, AMD Radeon HD 6750M) this value would need for bad gl clipping. The new default is 0.0. To test this before/after the fix, just run: $ blender -b --factory-startup --python-expr "import bpy; print(bpy.context.user_preferences.system.gl_clip_alpha)"
2016-02-06Fix T47204: selection failing directly after disabling multisample in user ↵Brecht Van Lommel
prefs. Now store the multisample setting each window was created with.
2016-02-03Recent BLI_rename fix introduced error w/ blend file versioningCampbell Barton
Rename calls didn't check if the file existed first, so missing file was counted as success and ignored.
2016-02-01Cleanup: FileData->flags: Convert defines to anonymous enum.Bastien Montagne
2016-01-27World textures displaying for viewport in BI.Alexander Romanov
This patch supports "Image or Movie" and "Environment map" types of world texture for the viewport. It supports: - "View", "AngMap" and "Equirectangular" types of mapping. - Different types of texture blending (according to BI world render). - Same color blending as when it lacked textures (but render via glsl). {F207734} {F207735} Example: {F275180} Original author: @valentin_b4w Regards, Alexander (Blend4Web Team). Reviewers: sergey, valentin_b4w, brecht, merwin Reviewed By: merwin Subscribers: campbellbarton, merwin, blueprintrandom, youle, a.romanov, yurikovelenov, AlexKowel, Evgeny_Rodygin Projects: #rendering, #opengl_gfx, #bf_blender:_next Differential Revision: https://developer.blender.org/D1414
2016-01-21Cleanup: line length, indentationCampbell Barton
2016-01-17Cleanup: spellingCampbell Barton
Also use doxy formatting for warning/note.
2016-01-16Cleanup: use enum constant for DNA comparisonCampbell Barton
2016-01-15Cycles-Bake: Custom Baking passesDalai Felinto
The combined pass is built with the contributions the user finds fit. It is useful for lightmap baking, as well as non-view dependent effects baking. The manual will be updated once we get closer to the 2.77 release. Meanwhile the new page can be found here: http://dalaifelinto.com/blender-manual/render/cycles/baking.html Reviewers: sergey, brecht Differential Revision: https://developer.blender.org/D1674
2016-01-11Support for copy/paste groupsCampbell Barton
Developer node, now bases are instanced by give_base_to_objects, needed for correct OB_FROMGROUP base-flag assignment.
2016-01-10Some minor fixes from coverity reports.Bastien Montagne
2016-01-09Byte swap doubles on file readCampbell Barton
2016-01-09Readfile: use hash lookup for bonesCampbell Barton
Bone loop for reconstructing links was O(n^2)
2016-01-08Fix T47047: Toolbars opening at maximum zoom levelCampbell Barton
There were 2 issues: - toolbars were set initialized in user-defaults so their scroll & zoom level were set. - initializing new 2d views included the scroll width, which scaled the new views zoom level, especially when dragging out.
2016-01-08Koro request: add 'active layer' and 'selected' options to view3D' paste ↵Bastien Montagne
operator. Those two are ON by default, since I think it's most common expected behavior (as with append/link ops).
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
2016-01-04Remove SCons building systemSergey Sharybin
While SCons building system was serving us really good for ages it's no longer having much attention by the developers and started to become quite a difficult task to maintain. What's even worse -- there started to be quite serious divergence between SCons and CMake which was only accumulating over the releases now. The fact that none of the active developers are really using SCons and that our main studio is also using CMake spotting bugs in the SCons builds became quite a difficult task and we aren't always spotting them in time. Meanwhile CMake became really mature building system which is available on every platform we support and arguably it's also easier and more robust to use. This commit includes: - Removal of actual SCons building system - Removal of SCons git submodule - Removal of documentation which is stored in the sources and covers SCons - Tweaks to the buildbot master to stop using SCons submodule (this change requires deploying to the server) - Tweaks to the install dependencies script to skip installing or mentioning SCons building system - Tweaks to various helper scripts to avoid mention of SCons folders/files as well Reviewers: mont29, dingto, dfelinto, lukastoenne, lukasstockner97, brecht, Severin, merwin, aligorith, psy-fi, campbellbarton, juicyfruit Reviewed By: campbellbarton, juicyfruit Differential Revision: https://developer.blender.org/D1680
2015-12-28White Balance modifier for the VSEThomas Beck
This snippet creates a white balance modifier for the video sequence editor. It is useful for everyone who likes to set a new white point in the video source (easily via the eyedropper). Just select a point in the source file where you know that it should be white. The algorithm will then shift the colors towards your new white point. See attached the image for a quick demo. {F270576} Reviewers: psy-fi Reviewed By: psy-fi Subscribers: Blendify Projects: #bf_blender Differential Revision: https://developer.blender.org/D1698
2015-12-28Cleanup: use BLI_libblock prefix for id functionsCampbell Barton
- test_idbutton -> BLI_libblock_ensure_unique_name (not only used from UI) - BKE_rename_id -> BKE_libblock_rename (always pass valid main) also rename: - name_uiprefix_id -> BKE_id_uiprefix
2015-12-28Changes to rename_id function:Antony Riakiotakis
* Don't copy name before entering new_id function. new_id does that for us already. * Take a main argument to make the function possible to use with different databases * Append BKE_ to rename_id
2015-12-27Minor UI incosistency reported by erickblender on irc. Twist brush isAntony Riakiotakis
renamed to Rotate to match the tool name. It is not actually compulsory that the two must match since users can change the name of a brush arbitrarily but at least try to have consistent naming in our defaults.
2015-12-27Fix T47064: Change Audio defaults to 48 kHzJörg Müller
Historically blender had an audio sample rate of 44.1 kHz as default which is mostly popular because it's the sample rate of audio CDs. Audaspace kept using this default from the pre 2.5 era. It was about time to change to 48 kHz, which is a more widespread standard nowadays, especially in video. It is the recommended sampling rate of the Audio Engineering Society. Further reading: https://en.wikipedia.org/wiki/44,100_Hz#Status
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-12-19BGE: Fix unconverted character max jump value from old files.Porteries Tristan
The bug was introduced in 3dd83b, a little conversion in versioning_270.c was forgotten. Now max_jumps is set as default to 1.
2015-12-14Usual i18n fixes, and cleanup: fix 'randomise' -> 'randomize' spelling in code.Bastien Montagne
2015-12-13GPencil: Bump subversion and ensure that the datablock-level onionskinning ↵Joshua Leung
flag is set correctly
2015-12-13Grease Pencil: Merge GPencil_Editing_Stage3 branch into masterJoshua Leung
This commit merges all the work done in the GPencil_Editing_Stage3 branch as of ef2aecf2db981b5344e0d14e7f074f1742b0b2f7 into master. For more details about the changes that this brings, see the WIP release notes: http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.77/GPencil
2015-12-04Fix (unreported) bad LI_ID usercount when linking a new lib.Bastien Montagne
Library datablocks shall have a zero user count in Blender currently...
2015-12-02Fix T46909: Text strip not themeableJulian Eisel
Normally we don't allow adding new theme options if we can avoid it, but this is a legit exception since all other strips are themeable. Default color for text strip is now yellow-ish. Not nice but there are also not many other colors left.