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
2013-01-05Remove some uneeded/irrelevant "PROP_TRANSLATE".Bastien Montagne
This sub-type is actually *only* needed for the "text" property of UI rna api (maybe we should rename it to "PROP_PY_TRANSLATE", as it is anyway only 'active' during conversion from py string to RNA string property...). In fact, I think it should only be used in RNA func properties anyway, as it stores the translated string into the property, it should only be used with "one time" RNA stuff...
2013-01-05Making a few tooltips more descriptive, in light of recent confusion over theJoshua Leung
purpose of some of these features * ClampTo Constraint, Target Object field: now mentions that it is for curve objects only * Dopesheet Editor Modes: now describe what data is editable in each mode. The wording may be a bit clumsy here, but (apart from Mask Editor one, which I'm not entirely sure about) should at least be technically correct
2013-01-05Add translation contexts for line, mute and clipSv. Lockal
2013-01-04Added vertex color attributes (currently limited to one) and UVs included ↵Stuart Broadfoot
for triangle mesh hair. I have also included a small speedup for the intersection test.
2013-01-02Some UI message fixes...Bastien Montagne
2013-01-02changes needed for EDL import to work again.Campbell Barton
- add sequence.update(data=False) function. - made some sequence vars editable. - correct some comments. also rename rna function sequence.getStripElem() --> strip_elem_from_frame()
2013-01-02Fix [#33189] AFTER 2.65 - Units in doc strings in ocean modifier.Bastien Montagne
Also: * Fixes a (op prop) bug which prevented, once you had baked and freed ocean once, to bake again. * Fixed infinite values of acumulated foam when baking with foam_fade values above 1.0, now simply clipping accumulated foam value to 1.0, as already done for the "instantaneaous" foam value returned by BKE_ocean_jminus_to_foam(). * Added missing RNA descriptions. * Made foam_fade unanimatable! * Added in UI some missing properties that are imho useful: random seed, size (kindof 'surface scaling'), and foam_fade (baking only). * Removed custom lerp() func from bke's ocean.c, BLI's interpf does exactly the same thing (the first two args are just in reversed order). Note: this could most certainly be done in other parts of the code, bpy's mathutils for e.g. has its own linear interpolation code for vectors and matrices :/). * Did some general code cleanup (mostly line length and no C++ -> C comments)...
2013-01-02style cleanupCampbell Barton
2013-01-02rename image paint_image_2d to lowercase (as we have for view2d).Campbell Barton
2013-01-02Patch [#29035] Vertex colour bakingAlex Fraser
There is a new option in the Bake panel to enable baking to vertex colors. Unlike regular baking, this mode does not require a UV map or image to bake to, however the object must have a vertex color layer. Thanks to: - AutoCRC for funding - Brech van Lommel and Dalai Felinto for their initial advice on how to implement it - Campbell Barton for helping to make this feature work with modifiers and bmesh
2013-01-01Highlight currently rendering tilesSergey Sharybin
This commit implements highlight of tiles which are being currently rendered for both Blender Internal and Cycles (and should be possible to use it for other external engines as well). Couple of implementation details: - Added one extra boolean flag to render engine which should be set to truth if render engine wants to highlight tiles. If so, property use_highlight_tiles should be set to True. - Render Part's ready boolena was changed by status enum, which could be NONE, IN_PROGRESS and READY. All render part with IN_PROGRESS status will be highlighted in image editor. - For external engines render part's status is filling in automatically. Initially all render parts has got NONE status, then one external engine acquire render result, corresponding part will change status to IN_PROGRESS. As soon as render result is finished, corresponding render part will change status to FINISHED This should make it easy to highlight tiles for other engines as well.
2013-01-01fix for long standing annoyance with weight-paint mode selection.Campbell Barton
There was no selection flushing when faces or verts were selected, this allowed incorrect selection states like selected face with unselected vertices. add flush commands to paintface_flush_flags() and paintvert_flush_flags()
2012-12-31More wrong "in degrees" busted out of tips!Bastien Montagne
2012-12-31Correction to RNA update functionsSergey Sharybin
Either forgot to merge some local changes into trunk or merge happened wrong..
2012-12-31Some minor cleanup in camera's FOV angle props (mostly use DEG2RAD macro, ↵Bastien Montagne
and remove reference to degrees in tips - user is free to use radians if he prefers!).
2012-12-31Alpha premul pipeline cleanupSergey Sharybin
This assumptions are now made: - Internally float buffers are always linear alpha-premul colors - Readers should worry about delivering float buffers with that assumptions. - There's an input image setting to say whether it's stored with straight/premul alpha on the disk. - Byte buffers are now assumed have straight alpha, readers should deliver straight alpha. Some implementation details: - Removed scene's color unpremultiply setting, which was very much confusing and was wrong for default settings. Now all renderers assumes to deliver premultiplied alpha. - IMB_buffer_byte_from_float will now linearize alpha when converting from buffer. - Sequencer's effects were changed to assume bytes have got straight alpha. Most of effects will work with bytes still, however for glow it was more tricky to avoid data loss, so there's a commented out glow implementation which converts byte buffer to floats first, operates on floats and returns bytes back. It's slower and not sure if it should actually be used -- who're using glow on alpha anyway? - Sequencer modifiers should also be working nice with straight bytes now. - GLSL preview will predivide float textures to make nice shading, shading with byte textures worked nice (GLSL was assuming straight alpha). - Blender Internal will set alpha=1 to the whole sky. The same happens in Cycles and there's no way to avoid this -- sky is neither straight nor premul and doesn't fit color pipeline well. - Straight alpha mode for render result was also eliminated. - Conversion to correct alpha need to be done before linearizing float buffer. - TIFF will now load and save files with proper alpha mode setting in file meta data header. - Remove Use Alpha from texture mapping and replaced with image datablock setting. Behaves much more predictable and clear from code point of view and solves possible regressions when non-premultiplied images were used as textures with ignoring alpha channel.
2012-12-31Fix #33706: issue in cycles motion blur rendering after hair commit, my faultBrecht Van Lommel
for not finding it in review. Also removed the hard limits on motion blur shutter time, soft limits are still the same but it can be useful to set things lower/higher in some cases.
2012-12-31style cleanupCampbell Barton
2012-12-31Usual UI messages-related fixes...Bastien Montagne
2012-12-30Add symmetrize operator for dynamic-topology sculpt modeNicholas Bishop
2012-12-30Add simplify brush for sculpt modeNicholas Bishop
2012-12-30Add DNA/RNA/BKE infrastructure for dynamic-topology sculpt modeNicholas Bishop
* Add a detail_size field to the Sculpt struct, two new sculpt flags, and a Mesh flag for dynamic-topology mode; that's it for file-level changes needed by dynamic topology * Add RNA for the new DNA field and flags * Add a new icon for dynamic-topology created by Julio Iglesias. TODO: update the icon for the new SVG icon format * Add a SculptSession function for converting from BMesh to Mesh, handles reordering mesh elements and setting face shading
2012-12-30style cleanup: casts, some casts had odd formatting, but very few. Style ↵Campbell Barton
checker script detects this now so easy to detect this if new code is added that doesnt follow blenders style.
2012-12-30add syntax highlighting color for symbolsCampbell Barton
2012-12-30code cleanup: text editor formatting enums were named crypticly, also add ↵Campbell Barton
asserts if the continuation values are wrong (which can happen with buffer overflows on formatting).
2012-12-29fix bug #33275: iTaSC ignores location of disconnected bones when they are ↵Benoit Bolsee
changed in pose mode. Disconnected bones can be translated in pose mode but this translation cannot be applied to the iTaSC representation of the armature because there is no joint associated with it. As a result, moving disconnected bones had no effect. The bug fix is in two parts: 1) manual or rna change in the armature pose will cause automatic rebuilding of the iTaSC scene 2) the iTaSC scene is now built from the current pose instead of armature rest pose
2012-12-29patch [#33609] Syntax highlighting for OSL in Text EditorCampbell Barton
from Patrick Boelens (senshi). with modifications to split it into its own function. also added C style multi-line comment support /* ... */ I've left out the part of this patch that sets the language in the space, since I think this might be better stored in the text block. For now it simply uses OSL syntax highlighting when the extension is '.osl'.
2012-12-29Long ago we used to be able to bake physics from negative frames, feature ↵Pablo Vazquez
that got lost at some point. Now we can do it again. Example is for physics like Cloth or Hair Dynamics that start on a shaky state for a few frames until they settle (for say baking subtle grass or hair movement). Reviewed on IRC by kaito, Uncle_Entity and DingTo.
2012-12-29style cleanupCampbell Barton
2012-12-29user-preferences for addons. currently unused, example & docs still to come.Campbell Barton
2012-12-29style cleanupCampbell Barton
2012-12-28Convert alpha node: rename "key alpha" to "straight alpha" for consistency.Brecht Van Lommel
2012-12-28New featureStuart Broadfoot
Patch [#33445] - Experimental Cycles Hair Rendering (CPU only) This patch allows hair data to be exported to cycles and introduces a new line segment primitive to render with. The UI appears under the particle tab and there is a new hair info node available. It is only available under the experimental feature set and for cpu rendering.
2012-12-28style cleanupCampbell Barton
2012-12-28Expose BKE_constraint_mat_convertspace() as object's convert_space() func in ↵Bastien Montagne
RNA. Converting between various standard spaces (like local, pose, world, etc.) can become quite hairy (especially with bones), as we already have this code in C, let's help py devs' life. Thanks to Campbell for the review and advices.
2012-12-28fix [#33677] Lambda is un-settable for mesh.vertices_smooth_laplacianCampbell Barton
lambda is python keyword.
2012-12-28style cleanup: var naming for ui listCampbell Barton
2012-12-28fix for memory leaks in own recent changes.Campbell Barton
2012-12-28This commit frees list ui items from their dependencies to Panel, and hence ↵Bastien Montagne
from all the limitations this implied (mostly, the "only one list per panel" one). It introduces a new (py-extendable and registrable) RNA type, UIList (roughly similar to Panel one), which currently contains only "standard" list's scroll pos and size (but may be expended to include e.g. some filtering data, etc.). This now makes lists completely independent from Panels! This UIList has a draw_item callback which allows to customize items' drawing from python, that all addons can now use. Incidentally, this also greatly simplifies the C code of this widget, as we do not code any "special case" here anymore! To make all this work, other changes were also necessary: * Now all buttons (uiBut struct) have a 'custom_data' void pointer, used currently to store the uiList struct associated with a given uiLayoutListBox. * DynamicPaintSurface now exposes a new bool, use_color_preview (readonly), saying whether that surface has some 3D view preview data or not. * UILayout class has now four new (static) functions, to get the actual icon of any RNA object (important e.g. with materials or textures), and to get an enum item's UI name, description and icon. * UILayout's label() func now takes an optional 'icon_value' integer parameter, which if not zero will override the 'icon' one (mandatory to use "custom" icons as generated for material/texture/... previews). Note: not sure whether we should add that one to all UILayout's prop funcs? Note: will update addons using template list asap.
2012-12-27validate operator names on startup (debug mode only)Campbell Barton
2012-12-25BGE: Committing SolarLune's patch to allow a minimum shadow buffer size of ↵Mitchell Stokes
128 (down from 512).
2012-12-24Usual minor UI messages tweaks...Bastien Montagne
2012-12-24Looks like I forgot to cleanup that file when we switched to dynamic i18n ↵Bastien Montagne
languages.
2012-12-24Separate image input and sequencer's color spaces in the UISergey Sharybin
This two things were using the same DNA and RNA structures because internally they're completely the same. However, that was confusing from the interface point of view. Now it should be much more clear what's going on there.
2012-12-24BGE: "Fix" for issue [#33663] "Objects Share Materials / Textures When ↵Mitchell Stokes
Grouped In SingleTexture / MultiTexture Mode" reported by Josiah Lane (solarlune). This commit adds a UI option in the Render properties to enable the new material caching in the converter. This caching can cause problems with Singletexture and Multitexture materials when texface is being used to handle materials. By default this option is enabled and users with broken games have two options: 1) Fix up their materials so they are properly using textures 2) Disable the material caching and take a speed hit during conversion time Regardless of the setting, caching is always enabled for GLSL materials.
2012-12-24User Interface / Preferences:Thomas Dinges
* Added a new "Text Style" area into the theme section, with settings to control font kerning, shadow size, color and offset.
2012-12-23Add keying "options" parameter to keyframe_insert() bpy_rna function, so now ↵Bastien Montagne
you can enable 'INSERTKEY_NEEDED', 'INSERTKEY_VISUAL' and/or 'INSERTKEY_XYZ_TO_RGB' when you directly key some property from python script (previously those options were only available through keyingsets). Thanks to Campbell for review!
2012-12-23Added support of J2K codec for Jpeg2000 writingSergey Sharybin
This codec is absolutely needed to generate DCP using OpenDCP, before that external application to convert JP2 to J2K was used which slowed down export a lot. New codec is exposed to image format settings panel and called Codec. Default one is JP2 which creates files with .jp2 extension, new one is called J2K which creates with .j2c extension. Other changes: - Fixed avi jpeg warning which was treating as error here. - Made it so extension is detecting from ImageFormatData instead of image file type, which makes it possible to have different extension for the same file type depending on it's settings. IRIS format should still be changed (depending on number of channels it'll be .bw, .rgb or .rgba extension) - Default image format settings would be set from image buffer when re-saving it. Makes it possible to easily open .j2c file and save it using J2K codec (without this change it'll save as .jp2 using JP2 codec)
2012-12-23Code cleanup: add usual 'BKE_' prefix to 'public' constraint functions from ↵Bastien Montagne
blenkernel...
2012-12-22Reshuffled data view for Outliner.Ton Roosendaal
- The new "Main Data" option is now under the category "Blender File". - That category also displays the Linked Library files. (Including allows browsing what's used from this file) Also fixed CTRL+click on names, crashed.