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-01-05add _default versions of sequence sound functions since most of their uses ↵Campbell Barton
passed along the same args from sequence strips. (no functional changes)
2012-01-05more edits to r43145,Campbell Barton
- remove redundant check in new prop operator which is covered by operators poll func. - use get_ob_property to get the object prop in BL_ConvertTextProperty() rather then looping for it.
2012-01-05This patch creates an interface for ["Text"] properties in Font objects.Dalai Felinto
Interface: http://www.pasteall.org/pic/show.php?id=23785 Simple test file: http://www.pasteall.org/blend/10616 (I'll commit this to the text suite later) Code Explanation: --------------- (1) it adds a toggle to add/remove a "Text" gameproperty. - internally this property is just another game property (so we can find it within the game.properties lookup). - the property itself has no 'value', the interface shows the content of ob.data.body instead (why? because gameproperties are per object, while the text is per data). (2) at BGE converter time it sets the current value of the object.data.body to the ["Text"] property. (3) if you change object.text (bge text property) it automatically convert ["Text"] to a CStringValue. *** that means if the original property was a CIntegerValue, it will be converted to CStringValue forever *** * the only to do I can think of is to add a warning at doversion time if user has ["Text"] property for a Font object * * when that happens we print a warning in console/popup.*
2012-01-04Camera tracking: more accurate track preview widgetSergey Sharybin
- Added 1px extra margin to deal with bicubic interpolation nicely - Code should be a bit more clear now
2012-01-04Camera tracking: fixed snap cursor to selection operator when witness camera ↵Sergey Sharybin
is active
2012-01-03error in recent commit - disallow selecting hidden verts.Campbell Barton
2012-01-03Bugfix [#29629] UV animation stops working forever if Edit mode enteredJoshua Leung
Thanks Sergey for the patch! This bug, and many like it would arise because at some point a F-Curve would get detected as being unable to be resolved (when trying to display its name in an Animation Editor), so gets tagged as being "disabled". It was assumed that such channels usually belonged to deleted data or stuff that wouldn't be able to be resolved again for a long time. However, in cases like UV settings, they may only be unavailable temporarily. As a compromise, this patch clears this disabled flag if a channel is found to be now working when (in the process of finding out its name when redrawing an Animation Editor) it can be resolved, in the same place where the disabling was taking place. This doesn't work fullproof in tests I've done, but should be nicer than before.
2012-01-02replace:Campbell Barton
CTX_data_pointer_get_type(C, "object", &RNA_Object).data with api call: ED_object_context(C) ... since getting the context object is such a common operation.
2012-01-02weight paint buttons now work in weight paint vertex select modeCampbell Barton
2012-01-02nicer string delimiter handling for Ctrl+Left/Right arrows, py console could ↵Campbell Barton
use this functon too.
2012-01-02remove Id's that crept inCampbell Barton
2011-12-31Do not set scene's camera on camera solving and cursor snappingSergey Sharybin
2011-12-31fix [#29734] Crash after bpy.ops.file.direrectory_new()Campbell Barton
2011-12-31fix [#29735] Blender crashes with ACCESS_VIOLATION when snapping cursor to ↵Campbell Barton
camera
2011-12-31Small tweaks from Zafio for the remesh modifier iconNicholas Bishop
2011-12-31Fix for Remesh Modifier:Thomas Dinges
* Remesh Icon was missing in the outliner.
2011-12-31Add remesh modifier (dual contouring).Nicholas Bishop
This patch adds a new remeshing modifier. The algorithm is based on the paper "Dual Contouring of Hermite Data", and the implementation was contributed to Blender by Dr. Tao Ju. The contributed code is in intern/dualcon, and was modified to compile under gcc and work on 64-bit systems. Files not needed for Blender were removed and a small C wrapper was added in order to interface it with Blender. The rest of the patch is just standard modifier stuff. Reviewed by Sergey, code review link: http://codereview.appspot.com/5491053/ The remesh icon was contributed by Zafio: http://blenderartists.org/forum/showthread.php?240751-Request-for-modifier-icon/page2. Thanks to everyone in that thread for the icon proposals and discussion. Documentation and examples on the Blender wiki: http://wiki.blender.org/index.php/User:Nicholasbishop/RemeshModifier In case the history is needed for anything, check the remesh-modifier branch of this git repository: https://gitorious.org/~nicholasbishop/blenderprojects/nicholasbishop-blender
2011-12-30Disable markers when doing frame-by-frame tracking and tracker library ↵Sergey Sharybin
returns failure
2011-12-30Object tracking integrationSergey Sharybin
This commits merges object tracking implementation from tomato branch. Summarized changes from branch: - Added list of objects to be tracked. Default there's only one object called "Camera" which is used for solving camera motion. Other objects can be added and each of them will have it;s own list of tracks. Only one object can be used for camera solving at this moment. - Added new constraint called "Object Tracking" which makes oriented object be moving in the save way as solved object motion. - Scene orientation tools can be used for orienting object to bundles. - Object has got scale to define "depth" in camera space. - All tools which works with list of tracks or reconstruction data now gets that lists from active editing object. - All objects and their tracking data are available via python api. - Improvements in witness cameras workflow,
2011-12-30Color management: add "Color Unpremultiply" option for images and render ↵Brecht Van Lommel
settings. For premultiplied alpha images, this makes any color space conversion for the image or render output work on color without alpha multiplied in. This is typically useful to avoid fringing when the image was or will be composited over a light background. If the image will be composited over a black background on the other hand, leaving this option off will give correct results. In an ideal world, there should never be any color space conversion on images with alpha, since it's undefined what to do then, but in practice it's useful to have this option. Patch by Troy Sobotka, with changes by me.
2011-12-30fix [#29686] Weight paint paints when it shouldn'tCampbell Barton
disallow painting when active group is locked
2011-12-30patch from Jason HaysCampbell Barton
--- Locking only redistributes or restricts weights when using bone groups. So, in addition to adding a NULL check to my last bit of code, I made has_locked_group() check for bone groups.
2011-12-30Camera tracking: improvements of track preview widgetSergey Sharybin
- Enable bicybic filtering fir image displayed in track preview - Option to show grayscale content of track preview - When some channels are disabled, display exactly the same content of preview image which is sending to tracker library. Merged from tomato branch using command: svn merge -r42382:42383 -r42384:42385 -r42394:42395 \ -r42397:42398 -r42398:42399 -r42406:42407 \ -r42410:42411 -r42417:42418 -r42471:42472 \ ^/branches/soc-2011-tomato
2011-12-30style edits for function declarationsCampbell Barton
2011-12-30weight paint - fix for own error in r42986, also avoid getting unified ↵Campbell Barton
settings for each weight.
2011-12-30improvement to how weight paint blur worksCampbell Barton
* the accumulated blur weight now takes into account how far verts are from the brush, giving more even results * verts where the weight wasnt found were being ignored, now treat them as zero weight verts.
2011-12-30get the brush size at before applying each brush step, saves unified brush ↵Campbell Barton
settings lookups per vertex/face-corner. also use math functions for calc_vp_strength(), and project the vertices as floats rather then ints to get better accuracy, otherwise no functional changes.
2011-12-30minor edits to weight paintCampbell Barton
* store the active vertex group (avoid doing ob->actdef-1 for every vertex) * ensure the active vertex group isn't less then 0.
2011-12-29Fix #29687: Normal bake from multires gives distorted results.Sergey Sharybin
It is just a limitation of multires baker which doesn't deal correct with baking to subdivision level 0. It was supposed to work with levels on which sculpt data is affecting on mesh, so interpolation between grids works correct. Fully accurate baking in this case will need raycasting stuff which will make it much slower and will remove main benefit of regular baker -- speed and low memory usage. Another option would be to make multires apply sculpting data on level 0, but it's not related at baking at all and has got it's own difficulties.
2011-12-29Fix #29718: anchored stroke with image-texture --- strange behaviourSergey Sharybin
Bug was caused by refactoring in rev41470
2011-12-29Remove totally crappy and not used operator FONT_OT_buffer_pasteSergey Sharybin
2011-12-28Merging r42896 through r42944 from trunk into soc-2911-tomatoSergey Sharybin
2011-12-28Code refactoring: add unified image buffer functions for doing float => byte,Brecht Van Lommel
byte => float, float => float, byte => byte conversions with profile, dither and predivide. Previously code for this was spread out too much. There should be no functional changes, this is so the predivide/table/dither patches can work correctly.
2011-12-28copy BLI_edgehash changes from bmesh branch, main change is use of mempool.Campbell Barton
2011-12-27Change visualize indices so that edit select mode chooses which elements are ↵Howard Trickey
visualized
2011-12-27More fixes for timecode usage with BKE_movieclip_get_ibuf_flagSergey Sharybin
2011-12-27Merging r42800 through r42895 from trunk into soc-2011-tomatoSergey Sharybin
2011-12-27remove unneeded casts from 'unsigned int' to 'int'Campbell Barton
2011-12-27Fix own error in r42881, didn't add rectangle padding correctly.Nicholas Bishop
2011-12-27[#29144] Snapping control points: can't choose which one to deleteMartin Poirier
Reported by Pep Ribal You can now select which snap point to remove (with Alt-A) by moving the cursor over them. Display colors are also used to indicate which snap points are active, selected or just there.
2011-12-27Factor out some generic parts of the sculpting PBVH redraw planes code.Nicholas Bishop
One function converts bounding boxes to screen space, the other converts a screen-space rectangle to 3D clipping planes. Also const-ified some parameters in the ED_view3d API.
2011-12-26[#29611] Crash when scale one vertex with snap.Martin Poirier
Reported by Andrey Penyaz Scale snap defaults to 1 when snapping is impossible (distance to center of transformation is zero).
2011-12-24replace u_int64_t with cc99's uint64_t as suggested by Nicholas Bishop.Campbell Barton
2011-12-24formatting edits 120 line lengthCampbell Barton
2011-12-24change customdata mask from an 'unsigned int' to an 'u_int64_t', since BMesh ↵Campbell Barton
branch has run out of bits
2011-12-23UI: small further tweak to last region expand/collapse fix, when moving theBrecht Van Lommel
operator redo panel up now it no longer hides the region, just stops it at max size.
2011-12-23Fix #29652: operator tab can not be maximisedSergey Sharybin
Clamp region's size on expand to max allowed size, so it wouldn't be automatically hidden just after expand.
2011-12-23Code cleanup: fix some clang static checker warnings.Brecht Van Lommel
2011-12-22Fix/workaround for russian ui crash on exitSergey Sharybin
Crash was caused by data segment corruption near "string" in view3d_modeselect_pup(). Enlarged size of this static buffer, so it's now enough to store translated modeselect string. It's not actually fixes because in some other language this modeline might be much longer and it'll lead to corruptions again.
2011-12-22remove commented index drawing code (now its a debug option), and remove ↵Campbell Barton
code in editmesh stat drawing which was left over from when text drawing was immediate rather then cached.