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
2012-05-06style cleanup: blenkernelCampbell Barton
2012-05-06Mesh elements sorting refactor.Bastien Montagne
Now only one operator. Same options for vertices, edges and faces (so adds edges sorting, and some options to vertices sorting). Face sorting should behave as previously. However, XSortVerts won’t pack anymore selected vertices at the begining of the vert array (as it used to), if you want such behavior you’ll have to first run SortElements with Selected action. Also added bug ref I forgot in r46354 (armature.c).
2012-05-06Fix for [#31333] 2.63 Bone copy rotation becomes mad after entering/leaving ↵Bastien Montagne
armature edit mode There is no real good solution to this problem, hopefully this threshold value will be a good compromize this time... :(
2012-05-06style cleanup: BKE_*.c files which deal with library functionsCampbell Barton
2012-05-06add back pose specials menu, also add back the ability to clear user ↵Campbell Barton
transforms on all bones (not just selected - mango request - was possible in 2.4x). - rename only_select op property to only_selected (both were used). - only do mingw workaround when building with FREE_WINDOWS defined.
2012-05-06Removing the old armature 'deform' settings (use vertex groups/envelopes/quats).Joshua Leung
As far as I could tell, these were really only still used for "virtual modifiers", though we really don't use these anymore. Instead, most of the time, people need to set these settings in armature modifiers directly (these didn't even get copied over in that case). This was a source of confusion and redundancy, so removing these now. This change can be reverted if these were actually of some use out there...
2012-05-06Simplifying constraints code - removed relink_data() callbacks in favour of aJoshua Leung
more generic system which goes through id_looper(), reducing the maintainance burden for new constraint authors
2012-05-06Deleting action constraints (and a few others) now adjusts the usercounts ofJoshua Leung
their referenced data correctly
2012-05-06code cleanup: naming - BKE_mesh_*Campbell Barton
2012-05-05code cleanup: BKE_libblock_find_name() now takes an ID constant rather then ↵Campbell Barton
a string.
2012-05-05code cleanup: naming - pose/armature/image Campbell Barton
also use ..._find_name(..., name) rather then ..._find_named(..., name) --- both were used.
2012-05-05Bugfixes for various ID-block references (Constraints, NLA)Joshua Leung
* ID-blocks referenced by Constraints but not being used as the target objects (such as Actions in the Action Constraint, or Text Blocks in PyConstraints) now get usercounts for being referenced in this way. This should fix ancient bugs such as [#19205] and [#8593]. More tests still needed to verify that this does now play nicely with proxies. * Changing actions used by NLA strips should now update the usercounts accordingly
2012-05-05code cleanup: BKE_ naming, also make bpy.data.images.load() always load a ↵Campbell Barton
new image. (not use existing one)
2012-05-05code cleanup: BKE_scene api naming.Campbell Barton
also stop numpy from being found in /usr/include with cmake.
2012-05-05code cleanup: function naming, use BKE_*type* prefix.Campbell Barton
2012-05-05Mango Bugfix - Actions being tweaked in NLA Editor were not being played back ifJoshua Leung
the track that they belonged to was currently being played back "solo"
2012-05-05code cleanup: brush/camera namingCampbell Barton
2012-05-05code cleanup: function naming for BLI functions.Campbell Barton
2012-05-04Added start and end bevel factor for curves, so now it's possible to makeSergey Sharybin
a bevelled curve which isn't fully covered with a bevel.
2012-05-04Fisheye Camera for CyclesDalai Felinto
For sample images see: http://www.dalaifelinto.com/?p=399 (equisolid) http://www.dalaifelinto.com/?p=389 (equidistant) The 'use_panorama' option is now part of a new Camera type: 'Panorama'. Created two other panorama cameras: - Equisolid: most of lens in the market simulate this lens - e.g. Nikon, Canon, ...) this works as a real lens up to an extent. The final result takes the sensor dimensions into account also. .:. to simulate a Nikon DX2S with a 10.5mm lens do: sensor: 23.7 x 15.7 fisheye lens: 10.5 fisheye fov: 180 render dimensions: 4288 x 2848 - Equidistant: this is not a real lens model. Although the old equidistant lens simulate this lens. The result is always as a circular fisheye that takes the whole sensor (in other words, it doesn't take the sensor into consideration). This is perfect for fulldomes ;) For the UI we have 10 to 360 as soft values and 10 to 3600 as hard values (because we can). Reference material: http://www.hdrlabs.com/tutorials/downloads_files/HDRI%20for%20CGI.pdf http://www.bobatkins.com/photography/technical/field_of_view.html Note, this is not a real simulation of the light path through the lens. The ideal solution would be this: https://graphics.stanford.edu/wikis/cs348b-11/Assignment3 http://www.graphics.stanford.edu/papers/camera/ Thanks Brecht for the fix, suggestions and code review. Kudos for the dome community for keeping me stimulated on the topic since 2009 ;) Patch partly implemented during lab time at VisGraf, IMPA - Rio de Janeiro.
2012-05-04make text move up/down into a single operator with a direction propertyCampbell Barton
2012-05-04Patch [#30654] Wiki Quick Hack: Text editor move lines up/downJoshua Leung
Submitted by: Justin Dailey (dail) Patch allows the current line (or selected lines) to be moved up and down with Ctrl+Shift+Up and Ctrl+Shift+Down. Has undo/redo support and operators in python menu.
2012-05-04own mistake in recent commit CustomData_layertype_is_singleton()Campbell Barton
was stopping bmesh python api adding multiple layers.
2012-05-04code cleanup: use much simpler (and likely faster) polygon normal ↵Campbell Barton
calculation in object mode.
2012-05-04Renamed "fake" OpenGL identifiers.Jason Wilkins
Any identifier that looks like an OpenGL identifier, but isn't, causes a false alarm by the glreport.py tool. Most of these were in comments so I just rephrased the comments. There were a couple of static functions/macros that were easy enough to rename. Only the glTexco and glIndex fields of the DMVertexAttribs struct was public and had non-local uses.
2012-05-04Fix related to #31118: ensure tesselated faces are available when exportingBrecht Van Lommel
to fluid sim. Is not actually the cause of the bug.
2012-05-04Style cleanup: spaces around operatorsSergey Sharybin
2012-05-04Camera tracking: show disabled active track even if Show Disabled is ↵Sergey Sharybin
switched off
2012-05-04Camera tracking: switch dopesheet information to lazy calculationSergey Sharybin
All operators which changes tracking data now just tags dopsheet as outdated, actual re-calculaiton of happens only when this information is actually needed (like on dopesheet draw). This makes things a bit faster when there's no dopesheet visible in current screen and also makes it much easier to update dopesheet using dependency graph. Also renamed dopesheet_sort_order to dopesheet_sort_method in rna and internal stuff which makes much more sense and also correlated with naming in file browser.
2012-05-04code cleanup: double promotion & some style cleanupCampbell Barton
2012-05-04Fix #31258: collada now selects newly added objects after import.Brecht Van Lommel
2012-05-04code cleanup:Campbell Barton
- replace iterators with macros - move vertexCos checks outside the for loops (use 2 for loops). - style cleanup
2012-05-03Clip editor: sort order for dopesheet channelsSergey Sharybin
Supported sorting by name, longest tracked segment and total tracked frames. Internally tracks are stored in Tracking datablock, but sort order is a clip editor space property and sorting happens on clip editor draw. If there's no dopesheet opened with different sort orders it's not a problem due to re-sorting wouldn't happen. Also fixed draw issue of tracked segments introduced in previous commit.
2012-05-03Camera tracking: pre-calculate tracked segments for dopesheet channelsSergey Sharybin
2012-05-03Camera tracking: clear clipboard path before copying tracks to it.Sergey Sharybin
2012-05-03Fix #31259: particle grid distribution not working.Brecht Van Lommel
2012-05-03Patch [#30255] Center Last StrokeJason Wilkins
Enables the NUMPERIOD view centering operator to work in sculpt mode. Hitting NUMPERIOD while in sculpt mode will center the view on the end of the last sculpting stroke made by the user. This is useful for quickly refocusing on the current work area without fussing with the view controls. It does not zoom into the stroke (slide only). It does nothing if there have been no strokes.
2012-05-03Fix #31250, #31248: wrong vertex normals after transform apply, collada import,Brecht Van Lommel
sculpt shape key switch. All cases that called this function needed parameter only_face_normals set to false, so changed it now. Also fixed wrong user count for imported mesh from collada and simplified previous fix for tesselated faces to polygons conversion.
2012-05-02Fix wrong unified weight paint value version patch, was doing incorrect ↵Brecht Van Lommel
version check. Fix #31209: weight paint sample & fill not using correct brush/unified value.
2012-05-02Fixes for recent cycles and python/context commits.Brecht Van Lommel
2012-05-02Python/context: tweak code further so that when you set screen/area/regionBrecht Van Lommel
from python, it actually gets data context from there as well.
2012-05-02Python/context: allow overriding window/screen/area/region context for ↵Brecht Van Lommel
running operators from python, this is useful to run an operator in a particular place in the UI.
2012-05-02A number of changes to node RNA and the file output node, to simplify socket ↵Lukas Toenne
types and make node code more robust for future nodes with extra socket data. * Removed the struct_type identifier from sockets completely. Any specialization of socket types can be done by using separate collections in RNA and customized socket draw callbacks in node type. Sockets themselves are pure data inputs/outputs now. Possibly the sock->storage data could also be removed, but this will change anyway with id properties in custom nodes. * Replaced the direct socket button draw calls by extra callbacks in node types. This allows nodes to draw sockets in specialized ways without referring to the additional struct_type identifier. Default is simply drawing the socket default_value button, only file output node overrides this atm. * File output node slots now use a separate file sub-path in their storage data, instead of using the socket name. That way the path is an actual PROP_FILEPATH property and it works better with the UI list template (name property is local to the data struct). * Node draw contexts for options on the node itself and detail buttons in the sidebar now have an extra context pointer "node" (uiLayoutSetContextPointer). This can be used to bind operator buttons to a specific node, instead of having to rely on the active/selected node(s) or making weak links via node name. Compare to modifiers and logic bricks, they use the same feature. * Added another operator for reordering custom input slots in the file output node.
2012-05-02style cleanup: whitespace, bracesCampbell Barton
2012-05-01style cleanup: guys - set your editors to tabs!Campbell Barton
2012-05-01Motion Paths GUI CleanupJoshua Leung
This commit refactors the way that the Motion Paths GUI works. The key problems this tries to address are: 1) Mode error - Confusion about whether we're dealing with the Object or Pose level Motion Paths panel 2) Display settings vs Baking Settings In line with the original design intentions for the 2.5/6 Properties Editor, I've now split out the actual baking-related settings away from the Properties Editor: * Now, when clicking "Calculate Paths" from the toolbar, you'll be prompted with a dialog to select the start/end frames (and for bones, whether to bake from heads or tails). This is less confusing than relying on firstly setting the range via the display range settings (and baking using that), since many people apparently only used the "around current" mode, and were confused why things weren't working * Added a display of the frame ranges of the current baked Motion Path on the active Object/Bone. This makes it clearer/easier to debug if the path suddenly starts disappearing after a certain frame. * Replaced Calculate/Clear Paths in the panels with a single "Update" button if there's already a baked Motion Path. Hopefully these changes (in combination with some of the other bugfixes) will make it more obvious how everything works.
2012-05-01Fix #31162: Applying textures to rigged models causes crash and no textures ↵Sergey Sharybin
in appear in edit mode Issue was caused by doing stuff like binding textures from glBegin/glEnd block.
2012-05-01Bugfix [#30097] Motion paths range not correct - Part B (Recalculating existingJoshua Leung
paths with new ranges) If an object/bone already had a motion path, it was not possible to recalculate it over a different frame range without firstly clearing these paths. This was both a confusing and troublesome workflow, and has since been removed.
2012-05-01Style cleanup: spaces around operatorSergey Sharybin
2012-05-01Fox #31185: Cannot sculpt shape keysSergey Sharybin
Was related on sculpting on locked keys. Issue was caused by building PBVH from base mesh which is now doesn't have shape key loaded into it as it was in 2.62. Fixed by loading coordinates from deformed mesh into PBVH like it happens for on-locked shape keys.