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
path: root/source
AgeCommit message (Collapse)Author
2015-02-17Amend to previous own Fix T43684: only use hack on WIN32, and use ↵Bastien Montagne
case-insensitive comparison. Thanks to Campbell for the headup.
2015-02-17Fix T38808: Re-opening an image makes absoluteCampbell Barton
2015-02-17Fix T43708: Wrong manipulator in individual originCampbell Barton
Manipulator and actual behavior were out-of-sync with a single edge selected.
2015-02-17BMesh: calc_manipulator_stats can only check vertsCampbell Barton
Code assumed selection wasn't correctly flushed, which we ensure now.
2015-02-17Fix T43684 (again!): Mighty Windows thinks it’s perfectly sensible to ↵Bastien Montagne
block everyone during 5 seconds for a mere stat() call on "A:\" path... For now, just always consider those floppy entries ("A:\" and "B:\") as valid... sigh.
2015-02-17Fix crash when rendering to offscreen OpenGL, fix scons buildAntony Riakiotakis
2015-02-17Compositing works with X-Ray.Antony Riakiotakis
Basically, before drawing X-Rays, we now bind a second depth buffer. After drawing XRays, we do an extra resolve pass where we overwrite the non-XRay depth buffer in pixels where the depth is not maximum (which means background pixel, since depth is cleared before drawing X-Ray objects). This ensures both scene and X-Rays keep their depth values and are ready for compositing. Well, the odd effect due to depth discontinuities can be expected, and X-Rays are a bit more expensive (extra buffer + resolve pass) but at least X-Rays won't invalidate depth values anymore. Whee!
2015-02-17Fix for particle path drawing with black tips.Lukas Tönne
The last path segment can be shortended due to randomized path length. In that case the last segment's color vector was not defined.
2015-02-17Quick fix/hack for too small 'operator' panel in filebrowserBastien Montagne
Real issue is that temp area used to draw modal filebrowser is never saved, so non of UI 'edits' (like UIList resize, regions resize, panels reorder, etc.) are ever saved. Should be addressed, but no time for that currently.
2015-02-17GPencil: On the fly switching between Drawing and Erasing when using ↵Joshua Leung
"Continuous Drawing" It is now possible to switch between drawing and erasing strokes when in the modal "Continous Drawing" sessions. This makes the drawing experience just a little more fluid, saving some unncessary steps to get out of the editing mode to activate the intended tool. TODO: Is there interest for tablet support for this too?
2015-02-17Fix T43706: Creating a directory in the file browser (by typing it in the ↵Sergey Sharybin
file path) crashes Blender Issue was caused by 2e9105c, free() does nothing if pointer is NULL, but guarded allocator expects you to not free NULL.
2015-02-17Fix T43697, grid drawing over wires and grease pencil. Props to JulianAntony Riakiotakis
for figuring out a simple solution to that :)
2015-02-17etch-a-ton: off by one errorCampbell Barton
was writing past the buffer when inserting strokes
2015-02-17etch-a-ton: fix crash selecting strokesCampbell Barton
2015-02-17etch-a-ton: fix uninitialized memory useCampbell Barton
2015-02-17Hide 3D Cursor in Paint Modes (with exceptions)Julian Eisel
= Hide 3D Cursor in Paint Modes (with exceptions) In paint modes, the 3D Cursor mostly is rather useless so it's more annoying than useful. This patch aims to hide the cursor in cases it's not used. Included exceptions (cases where cursor is drawn in paint modes): * Active object is in weight paint mode and a selected bone in pose mode can be found * Clone brush (only if //Clone from paint slot// is disabled) There might be more exceptions where the cursor should be shown in paint modes, but those are all I could find for now. Feel free to hint me for more. Note: After D1110 was rejected, Campbell and me discussed this a bit more on IRC and agreed that this behaviour might be a good solution. Reviewers: psy-fi, campbellbarton Reviewed By: psy-fi, campbellbarton Projects: #user_interface Differential Revision: https://developer.blender.org/D1113
2015-02-17RNA API: reuse property lookupsCampbell Barton
2015-02-17Fix for another missing update from GPencil in OutlinerJulian Eisel
2015-02-17Fix T43669: Grease Pencil visibility toggle not working in OutlinerJulian Eisel
2015-02-17Fix FileSel globbing including dirs & ".."Campbell Barton
2015-02-17Revert "Fix file size not drawn using Link/Append"Campbell Barton
This reverts commit 4ca4f04c75c456d3614855ebaa70bab9a92eb36a. Was running an fs-stat on redraw, on every file! (every mouse motion!). Could become very slow on network-fs also caused crash (T43631)
2015-02-17assert when BLI_exists is called with NULL pathCampbell Barton
2015-02-17Subsurf: Use guarded allocator for non-arena CCGSergey Sharybin
Our new guarded allocator implementation has much smaller memory block size overhead and doesn't have any locks now. So in order to make fuller track of what's happening in blender and avoid confusion why certain circumstances reports much less memory than others we'll now switch to guarded allocator. This was actually one of the biggest reasons of the confusion in the recent memory usage investigation. There's still some overhead is happening due to non-freeing nature of arena allocator but the things are not nearly as bad as they looked before: memory overhead is measured in tens of megabytes, not hundreds as it looked before. Plus with some smarter allocation policy we can almost eliminate this overhead.
2015-02-17FileSpace selection didn't call op.check sometimesCampbell Barton
(de)select all & globbing didnt run operators check callback. D867 by @igel with edits
2015-02-16UI messages fixes and cleanup.Bastien Montagne
2015-02-16Fix T43684: File Browser is unusable on Windows Machines (do not ↵Bastien Montagne
BLI_is_dir() in draw loop!) Did not had any issue on linux, but looks like on some windows can slow things as Hell. Or maybe just the presence of some network FS? Anyway, not a good idea, so now fsmenu entries' valid status is stored and only evaluated on startup (reading of bookmarks & co) and when opening file browser (refresh, like for system bookmarks).
2015-02-16Fix T43689, viewport compositing does not respect alpha settings forAntony Riakiotakis
background. For SSAO supporting this is no problem, for DOF we would ideally do blurred alpha, but alpha channel in blurred buffers is occupied by coc field, so use original color alpha instead. It's not entirely correct but it's better than nothing.
2015-02-16Extended RNA support for mesh customdata property layers.Lukas Tönne
Support for user-defined customdata layers (named int, float, string layers) was limited to polygon customdata. This is not accessible in cycles because only tessfaces are used there. Furthermore the polygon attributes were simply described as MeshFloatProperty, MeshIntProperty, MeshStringProperty, omitting the distinction by element type. The patch only adds vertex attributes so far. However, the code now explicitly defines polygon and vertex attributes, so adding edges, loops and tessfaces is much easier should the need arise. Problem is that the RNA definition, which is already much more complicated than the basic DNA/BKE definition of custom properties, now becomes extremely bloated and cumbersome. A simpler solution would be preferable but may not be possible within the constraints of RNA.
2015-02-16Vert/Edge Slide: better UV interpolationCampbell Barton
Ignore faces which the sliding vert is outside of.
2015-02-16Math Lib: add dist_signed_squared_to_corner_v3v3v3Campbell Barton
Can be used to check if a point is inside the 2-planes defined by a face-corner.
2015-02-16Correct crash /w vertex slide with no facesCampbell Barton
Error in recent commit
2015-02-16cleanup: split VSE view-size into own functionCampbell Barton
2015-02-16Fix T43681: VSE draw glitch with no-displayCampbell Barton
Missed clearning the backdrop
2015-02-16BMesh: Connect path, use select orderCampbell Barton
Could connect a pair of verts previously, now connect all vertices along the path, running a second time closes the loop. Can also be used for without faces to connect edges between selected points.
2015-02-15Compilation error fix for strict compiler flagsSergey Sharybin
2015-02-15Fix T43671: Playing with Mix Factor of Data Transfer Modifier Is ↵Bastien Montagne
Overwritting Data of Base Mesh The issue was actually affecting all data types that are not regular CDLayer ones, since by default DerivedMesh references mesh data (verts, edges, etc. - modifying custom normals often implies modifying edges' sarpness too). Modfying edge/face sharpness etc. could directly affect the mesh in this case, **bad**! So we detect whether we are copying data types that may affect non-CDlayers data, and whether verts array of org dm is same as mesh one - in which case we copy the DM. This avoids useless copying in most cases. Note Edit Normals was quite obviously suffering the same issue.
2015-02-15Cleanup of SpaceFile, from asset-experiments branch mostly.Bastien Montagne
Helps keeping diff with branch relevant and clean...
2015-02-15Fix for previous commit, sorry for the noise.Bastien Montagne
2015-02-15Cleanup: BLI_listdir (direntry): get rid of usage of raw malloc/free here.Bastien Montagne
No reason at all not to use MEM_xxx as everywhere else, especially confusing when members of direntry **are** MEM_-allocated (relname, etc.)!
2015-02-15Possible todo notes for more polished UI?Joshua Leung
2015-02-15Outliner: "Purge All" function for Outliner in "Orphaned Datablocks" modeJoshua Leung
Many users have been requesting a way to remove unused datablocks from the file/session "without closing and reopening" Blender (or at least that's the impression I'm getting). This commit adds a new operator (exposed as the "Purge All" button in the header of the "Orphaned Datablocks" mode in the Outliner, which seems to be the logical place for this) for doing so. It does so by wrapping up the save and "revert" (i.e. reload the saved file from disk, without needing to quit Blender) operators along with a confirmation prompt for good measure. Caveats: * Ultimately, we still cannot really cleanly delete any datablocks from the current session outright without reloading the file/data at some point. Thus, we do need to reload the file again before it can be used. * This does mean that this operation is irreversible. Notably, Undo history is lost is doing this operation. Hence the warnings... (Then again, undo/redo actually reloads the entire scene DB from memory, so it's not anything uncommon ;) Other Notes: * The addition of this operator brings this mode more into line with being a kind of "Trashcan" place, with this new operator being the manual "Empty Trash" button. If the "Orphaned Datablocks" name is too obscure, maybe we could rename this mode to "Trash" or something similar?
2015-02-15Code Cleanup: Reshuffle libraries and orphaned datablocks views to a more ↵Joshua Leung
appropriate place in the file
2015-02-15Outliner: Do not show RMB menu for "ID Base" entriesJoshua Leung
2015-02-15Outliner: Use restriction columns in "Orphaned Datablocks" view to manage ↵Joshua Leung
usercounts When in "Orphaned Datablocks" mode, the restriction columns are used to display usercount indicators and toggles to manage whether datablocks get saved or not. * The first column shows an icon to indicate whether that datablock is going to get saved. A tick indicates the datablock will be saved, while a cross indicates the opposite. Clicking on this changes whether the datablock will get saved. * The second column shows the usercount. * The third column shows whether the datablock has a fake user. Notes: * The second and third columns are pretty much redundant (functionally speaking). While it is possible to also toggle fake users by clicking in the third column, its role here is more as information for power users (and hopefully to allow others to connect the relationship between the saved/not saved status and fake users) * I'm not sure whether the use of the X here for the "not saved" state stands out enough to draw user's attention to items which are "in the danger zone".
2015-02-15Outliner: Added new mode for displaying "orphaned" datablocksJoshua Leung
Orphaned datablocks are those which have either: * 0 users * A "fake" user only In the case of the former, they will be quietly discarded from the file on the next save + reload. Hence, it is helpful to have a view where you can confirm which ones fall into this category and might be worth saving. We also include datablocks with a fake user only so that datablocks given a user above can have that easily turned off again (in case the user makes a mistake). Another benefit of showing these is that it become easier to remove fake users from datablocks you no longer want retained without having to hunt for them.
2015-02-15Revert/Remove "Auto View" FeatureJulian Eisel
Turned out that I misinterpreted the feature request, plus there are some minor issues with the commit that would need to be corrected. After all, I decided to just remove it again as it seems to not be really useful for the users.
2015-02-15missed this second last commitCampbell Barton
2015-02-15mathutils: Implement __hash__() functionsCampbell Barton
- all mathutils types - only works on frozen data (so vectors can be used in sets/dict keys) - uses same method as CPython, (matches hashing a tuple) D1104 by @juicyfruit with own modifications
2015-02-15mathutils: add freeze() method, is_frozen attrCampbell Barton
This allows you to make any mathutils object immutable.
2015-02-15mathutils: remove redundant read callbackCampbell Barton