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
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-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-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-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-14Bugfix: Referencing actions from Action Actuator was not setting a userJoshua Leung
This reverts the change made in 8872cba7e956a9d9a840e55e5323945497524795 which was contributing to actions being lost in some cases [1], even when they were assigned to those actuaters, which needed them to be able to function. Now there's one less case where users are needed but were missing :) Note that this still doesn't solve the core issue where nothing is responsible for associating actions created for a particular datablock (and not currently being used in its active action slot, or in the NLA stack) with that datablock. That issue is the cause of most action disappearances as well as for other problems (such as renaming bones being unable to fix unreferenced/unused actions) where there are diifferences between users' mental models and the data model. Proper fixes are coming soon (restoring fake users here isn't a proper fix, as it only masks the fundamental mismatch/problem here). [1] http://blenderartists.org/forum/showthread.php?357021-BGE-loses-actions
2015-02-13Revert "Fix T43646: VSE preview allows displaying channels down to -5"Julian Eisel
This reverts commit e652f781a33b3b31fa95b543bf4003ff7b0c57d6. @schlaile, mentioned in T43646 that this was an intended feature. Checked git history and it's seems like he's right.
2015-02-13No need to use "SSAO" for SSAO colorAntony Riakiotakis
2015-02-13Fix T43646: VSE preview allows displaying channels down to -5Julian Eisel
Maybe just another typo (tm). (Checked with @psy-fi)
2015-02-13Cleanup horrible artifact of Greek to English translation.Antony Riakiotakis
2015-02-12Use the RNA for overriding the name instead.Antony Riakiotakis
2015-02-12Viewport compositing - first codeAntony Riakiotakis
This commit introduces a few ready made effects for the 3D viewport and OpenGL rendering. Included effects are Depth of Field, accessible from camera view and screen space ambient occlusion. Those effects can be turned on and tweaked from the shading panel in the 3D viewport. Off screen rendering will use the settings of the current camera. WIP documentation can be found here: http://wiki.blender.org/index.php/User:Psy-Fi/Framebuffer_Post-processing
2015-02-12Removed the cloth preroll feature.Lukas Tönne
This feature has been totally broken for a long time. It was added originally because negative frames were not supported. Giving simulations (cloth and others) time to settle before animation starts needs to be solved in a much better and more generic way.
2015-02-12BGE: Improve UI of Anisotropic Friction subpanelJorge Bernal
Little patch that introduces X: Y: and Z: texts over anisotropic friction sliders Reviewers: moguri, campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D1073
2015-02-11Fix VSE strip channel skip overlapping stripsCampbell Barton
D1096 by @mangostaniko (with some edits)
2015-02-11FileBrowser Bookmarks: fix issue with invalid bookmarks.Bastien Montagne
Reported by maxon through IRC, thanks. Invalid (inexistant) bookmarks would not be selectable, hence not removable. First, made invalid bookmarks grayed out in lists, so that user knows when there are some. Then, added a new 'cleanup' operator that removes all invalid bookmarks. This solution may not be completely satisfaying, but should do the work for now. I do not want to add back those ugly 'X' delete buttons for each entry in list, so better solution would be to make UIList able to select several items at once...
2015-02-11RNA: sequencer channel range was incorrectCampbell Barton
Broke since 2.4x, zero sequence channels shouldn't be allowed
2015-02-11Cavity masking - add curve control to cavity mask and move relevantAntony Riakiotakis
structs to paint struct (might be useful for vertex paint too in the future) Cavity masking now has a curve control. The control will set the amount of masking for positive cavity ("pointness") or negative cavity ("cavity") with x axis being the amount of cavity and 0.0 = full cavity, 1.0 = full pointness, 0.5 = no cavity and the y axis being the amount of alpha.
2015-02-11cleanup: style/indentationCampbell Barton
2015-02-11FileBrowser: Editable Bookmarks.Bastien Montagne
Bookmarks are now editable (i.e. you can rename them, and reorder them). They are also listed in regular UILists, so you can filter/sort them as usual too. Also, FileBrowser 'T' side area is changed to something similar to 3DView one, in this case because we need op panel to remain at the bottom, and later because we'll more than likely need tabs here! Thanks to Campbell and Sergey for reviews. Differential Revision: https://developer.blender.org/D1093
2015-02-11UI: add optional tip callback to uiBut, and use it for per-item tooltips in ↵Bastien Montagne
UIList. When defined, uiBut->tip_func is called when button's tip is generated. This allows for advanced, dynamic generation of tooltips. For now, only used by UIList, which can now optionaly use a given string property of each item for its tooltip. Thanks to Campbell for the reviews!
2015-02-10Cavity mask support for texture painting.Antony Riakiotakis
Title says it all, options can be found in the options panel, A slider controls the amount of cavity masking that is applied while it's also possible to invert the mask and paint outside or inside cavities. Again we might greatly benefit from caching of the cavity result, but that should only affect startup time for the stroke.
2015-02-08CMake: only quiet warnings for generated rna filesCampbell Barton
also minor warning cleanup
2015-02-07RNA: use FUNC_USE_MAIN to avoid 'G' globalCampbell Barton
2015-02-07RNA: packing functions for vfont & soundCampbell Barton
D389 by @kevindietrich
2015-02-06UserPrefs: increase max undo steps to 256Campbell Barton
2015-02-06rename SIPO_AUTOVIEW -> SIPO_AUTO_VIEW_SELECTEDCampbell Barton
The term auto-view on its own isn't very meaningful
2015-02-06Graph Editor: Auto Viewjulianeisel
Auto View automatically adjusts the view based on selection, so that the view is always focused on the current selection. A checkbox in the header is used to access it and it works for the following selection methods: Toggle All, Border, Circle, Lasso, Left, Right, More, Less, Linked, Column (so all except of single selection, in which this can be a bit annoying) Reviewed by @Aligorith (thanks for that :) )
2015-02-06Add a precision to 'show group color' tooltip, that fcurve/action editors ↵Bastien Montagne
option was confusing users a bit.
2015-02-06Fix some UI messages from own recent merge, and RNA code checking for final ↵Bastien Montagne
'.', was a bit too rough.
2015-02-06Animation play: Follow feature. Enabled from playback menu in theAntony Riakiotakis
timeline. When enabled, ipo, dopesheet, NLA, timeline, clip and sequence editors will follow the current frame during animation. When the cursor reaches the end of the screen, then the next range of frames of the same width is displayed.
2015-02-05Custom Loop Normals: Add NormalEdit modifierBastien Montagne
Nothing much to say here, basic tool to make normals point toward a target, or to make them point 'outward' as if object was a spheroid (useful for game bushes etc.). Also, forgot a big thank you to Campbell for the extensive review work he has done on this project!
2015-02-05Add Custom Loop Normals to Data Transfer.Bastien Montagne
Titles says everything, just two notes: * We have to actually transfer plain *normals*, not 'compressed' clnors, so had to add pre/post process to transfer to make the conversions. * Also added interpolation and advanced copy/mixing to CD_NORMAL, for same reasons.
2015-02-05Add Custom Loop Normals.Bastien Montagne
This is the core code for it, tools (datatransfer and modifier) will come in next commits). RNA api is already there, though. See the code for details, but basically, we define, for each 'smooth fan' (which is a set of adjacent loops around a same vertex that are smooth, i.e. have a single same normal), a 'loop normal space' (or lnor space), using auto-computed normal and relevant edges, and store custom normal as two angular factors inside that space. This allows to have custom normals 'following' deformations of the geometry, and to only save two shorts per loop in new clnor CDLayer. Normal manipulation (editing, mixing, interpolating, etc.) shall always happen with plain 3D vectors normals, and be converted back into storage format at the end. Clnor computation has also been threaded (at least for Mesh case, not for BMesh), since the process can be rather heavy with high poly meshes. Also, bumping subversion, and fix mess in 2.70 versioning code.
2015-02-05Mesh validate: add an option to not clean temp/cache CDLayers.Bastien Montagne
This is mandatory for incoming custom normal imports from io scripts, because often geometry here is corrupted, so we need to call mesh.validate() to clean it up. Issue is, we cannot set custom normals before geometry is clean, so we need to store temporary plain loop normals in a CD_NORMAL layer, validate, and then set custom normals. So we need a way to prevent 'temp' lnors to be freed by validate.
2015-02-05UI: UVWarp-Modifier had duplicate namesCampbell Barton
D1047 by @lichtwerk
2015-02-04Fix T43567: Freestyle On/Off keyframe is being ignored.Bastien Montagne
That kind of stuff shall not be animated! :)
2015-02-04Cleanup: name flip x/yCampbell Barton
2015-02-04RNA image.pack(): fix possible memleak, add possibility to pass raw bytes data.Bastien Montagne
Note passing data assumes user knows what he is doing, else segfault is guaranted (there is no good ways to pass raw bytes data to RNA func currently, and using int array is way too heavy in this case). And image->packedfile was never freed...
2015-02-04Support rotation and flipping for background images, patch by Andre D.Antony Riakiotakis
(T34583) with minor changes. Thanks for the patch!
2015-02-04BGE physics: allow higher values for maxlogicstep and maxphystepSybren A. Stüvel
Increasing those values beyond 5 is important for exact physics simulation. Soft limit is increased to 50, hard limit to 10000. To be able to set different values for hardlimit and softlimit, RNA_def_property_range needs to precede RNA_def_property_range, hence the swapped order.
2015-02-03Compositor: Implement sampled motion blur for plane track deform nodeSergey Sharybin
Quite striaghtforward change, and in theory we can even try supporting motion blur for the corner pin node (which is tricky because coordinates actually coming from sockets, but with some black magic should be doable).
2015-02-03Hook Modifier: add falloff & radius optionsCampbell Barton
- Add falloff types & curves (matching warp-modifier) - Add uniform scale option, important when adding hooks to non-uniform scaled objects, especially for use with lattice objects which can't avoid uneven scaling. This uses relative transformation set when the hook is assigned, when measuring the distances.
2015-02-03UI messages: minor fixes...Bastien Montagne
2015-02-03Add inverse-square blending for PET and warpCampbell Barton
Similar to 'Root' but without noticeable spike/pinch in the center.
2015-02-03Fix T43514: Environment map doesn't updateSergey Sharybin
2015-02-03Fix T43403: Compositor does not respect interlaced videoSergey Sharybin
This is actually issue with Image datablock, which had obscure Fields settings but didn't allow to de-interlace the video. Now added the option to de-interlace Image with Movie input type.
2015-02-02Cycles: Implement cubit image interpolation on CPUSergey Sharybin
Basically title says it all. Could be not totally optimized but the code is there now.