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-05-11Expose PreviewImage & custom icons to py API.Bastien Montagne
This commit mainly: * Exposes PreviewImage struct in RNA, including ways for user to set images data. * Adds a new kind of PreviewImage, using a file path and IMB_thumb to get image. * Adds a new kind of custom icon using PreviewImage, unrelated to ID previews system. * Adds a python API (utils.previews) to allow python scripts to access those custom previews/icons. Note that loading image from files' thumbnails is done when needed (deferred loading), not when defining the custom preview/icon. WARNING: for release addons who would want to use this, please keep it to a strict minimum, really needed level. We do not want our UI to explode under hundreds of different flashy icons! For more info, see also the release notes of Blender 2.75 (http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.75/Addons) and the example/templates featured with Blender. Patch by Campbell (ideasman42), Inês (brita) and Bastien (mont29). Differential Revision: https://developer.blender.org/D1255
2015-05-11GHash: avoid redundant castsCampbell Barton
2015-05-08Revert "Motionpaths: Use scene range option, takes start/end frame andAntony Riakiotakis
preview" Looks like this does not work for animators here after all, will use a different code for this (probably not hardcoded) This reverts commit 3bbb4020e7f0fae80a5edd31e19b7fa97d2149e4.
2015-05-08Motionpaths: Use scene range option, takes start/end frame and previewAntony Riakiotakis
settings into account.
2015-05-08Cleanup: use r_* prefix for return argsCampbell Barton
2015-05-07Fix T44630: incorrect mirror modifier merge limit tooltip.Brecht Van Lommel
2015-05-06Feature request: Dyntopo detail expressed in percentage of brush radius.Antony Riakiotakis
Not sure how useful this will be but people have requested it so, here it is...
2015-05-06Shader node: support native render capabilitiesCampbell Barton
D1188 by @a.romanov
2015-05-05Math Lib: rename fill_*, to copy_*Campbell Barton
matching convention for fixed length api, eg: copy_v3_fl
2015-05-04Separate scene simplification into viewport and renderSergey Sharybin
This way it is possible to have viewport simplification bumped all the way up, making viewport really responsive but still have final render to use highest subdivision possible. Reviewers: lukastoenne, campbellbarton, dingto Reviewed By: campbellbarton, dingto Subscribers: dingto, nutel, eyecandy, venomgfx Differential Revision: https://developer.blender.org/D1273
2015-05-04Support displaying metadata for images in sequencer preview windows (notAntony Riakiotakis
backdrop)
2015-05-03Fix T41739: 3D view solid draw mode missing some material node updates.Brecht Van Lommel
2015-05-02Fix rna default value in BGE UI.Porteries Tristan
2015-05-02Sound now returns even if file fails to loadCampbell Barton
With various codecs its hard to ensure a sound will load or not.
2015-04-30UI: use enum for thumbnail sizeCampbell Barton
2015-04-30Py/RNA: support to load and remove soundsCampbell Barton
2015-04-30View3D: expose size as a distance in unitsCampbell Barton
also note that size/rotation doesn't work for camera views. see T44511
2015-04-29File browser - change thumbnails size with a sliderBastien Montagne
We can now scale from 32px up to 256px (default has been upgraded to 128px). Thumbnails are now generated as 'large', i.e. 256px. Previews are scaled up if necessary, unlike icons (for folders or files without preview images). Note that .blend thumbnails themselves remain in 128px for now (they are embeded in .blend files, not quite sure we want to make them four times bigger...). Patch by DMS (Yaron Dames), with final edits by myself. Reviewers: mont29 Subscribers: Severin, mont29 Differential Revision: https://developer.blender.org/D1260
2015-04-27Fix T44011: Ruler/Knife/Loop-cut fail in quad-viewCampbell Barton
This is a kind of sloppy-focus, resolving long standing bug with loop-cut/knife/ruler /w quad-view. Where activating a tool would lock onto one of quad-views, especially problematic when activating from the toolbar or menus.
2015-04-27Py API: expose operator runtime flagsCampbell Barton
eg from operator invoke/execute: self.options.is_grab_cursor
2015-04-27Cleanup: rename GRAB_POINTER -> GRAB_CURSORCampbell Barton
Term pointer is overloaded already.
2015-04-26Add inverse-square falloff to bmesh, mask & compo.Campbell Barton
2015-04-24Multi-View: Time Sequencial (aka pageflip, aka quadbuffer) stereo supportDalai Felinto
TODO: I would be nicer if we could set win at file opening to the current open window, but I'll implement this later.
2015-04-23Expose CD_PAINT_MASK to Python APICampbell Barton
D782 by Stanislav Blinov
2015-04-21Metadata:Antony Riakiotakis
* Theme support for metadata display * Increase text DPI with scaling.
2015-04-21Metadata display support - patch by Julian and me.Antony Riakiotakis
Basically, blender adds a few metadata fields to images when we render an image. Those metadata can now be viewed in the image editor. Also, made sure metadata are available when we write imbufs to disc with "Save As". There may be more cases here that need fixing, but this means that loading an image with metadata will now properly preserve them in blender.
2015-04-20Cleanup: use bool /w flag checksCampbell Barton
2015-04-20Usual UI messages fixes...Bastien Montagne
2015-04-20Fix T44452: Inconsistent gpencil color in prefsCampbell Barton
2015-04-20Action Editor "Browse" Fix: Stash active action if nothing else uses itJoshua Leung
Following the initial action management commits for 2.74, blurrymind pointed out a problematic workflow involving the "Browse Action" dropdown in the Action Editor which would lead to actions being accidentally lost. Namely, it turns out that game animators frequently flip between different actions from the Browse menu while working. While the new up/down operators and/or other NLA based tools are better suited to this without the problems of actions getting lost, some additional precautions were needed for the Browse menu as well. So now, if the active action will have no users as a result of the switch (i.e. it was a new action, and the user is checking on a previous action via the Browse menu), this action will now get stashed. This workflow is not perfect though, as there is the problem of the stashed action strips not reflecting the actions they reference.
2015-04-20Fix for potential null-pointer-dereference if the new action is NULLJoshua Leung
2015-04-20Fix: Changing actions in the Action Editor using the Browse dropdown should ↵Joshua Leung
happen in tweakmode When a NLA strip is being tweaked, it should not be possible to use the Action Editor to change the action that it uses. Instead of changing the action in tweakmode, it now exits tweakmode first before doing so.
2015-04-20Fix: "show_points" setting for Grease Pencil drawing didn't workJoshua Leung
As reported by zeffi, the "show_points" option was not working in master. It probably broke recently, after some changes meant that the point sizes weren't geting set prior to drawing these points anymore. Since this was originally added as a debugging tool (though it is now somewhat redundant due to the stroke editing functionality, which uses/exposes the same points), this option wasn't really that important. I have decided to add back a toggle for this to the UI though, since it can be used for some interesting effects...
2015-04-20Sculpt: clay-strips was missing accumulate buttonCampbell Barton
Correct & de-duplicate check for accumulate.
2015-04-18BGE: New Draw debug shadow box for sun lampPorteries Tristan
New Check option "Show Shadow Box" in shadow panel of sun lamp to get feedback about which objects project shadows. Minor tweaks by Campbell Barton and Jorge Bernal Reviewers: moguri, sybren, kupoman, dfelinto, lordloki, campbellbarton Reviewed By: lordloki, campbellbarton Subscribers: sergey, lordloki Projects: #game_engine Differential Revision: https://developer.blender.org/D1149
2015-04-17Bake-API: reduce memory footprint when baking more than one object (Fix T41092)Dalai Felinto
Combine all the highpoly pixel arrays into a single array with a lookup object_id for each of the highpoly objects. Note: This changes the Bake API, external engines should refer to the bake_api.c for the latest API. Many thanks for Sergey Sharybin for the complete review, changes suggestion and feedback. (you rock!) Reviewers: sergey Subscribers: pildanovak, marcclintdion, monio, metalliandy, brecht Maniphest Tasks: T41092 Differential Revision: https://developer.blender.org/D772
2015-04-17Fix T44336: Unable to select cycles-specific passes in UV/image editorDalai Felinto
This approach gets rid of iuser->pass for good. Also, I'm commenting out the pass increase/decrease. This was broken since multiview. I will fix it later (before 2.75), but I didn't want to get this patch mangled with that fix. Thanks Sergey Sharybin for the review and feedbacks. Reviewers: sergey Differential Revision: https://developer.blender.org/D1232
2015-04-17Fix for Grease Pencil and negative framesJoshua Leung
While investigating T44412, I noticed some weirdness going on when trying to draw on frame 0 (i.e. strokes were getting added to frame 1 instead). Clearly, this seemed like an off-by-one error related to clamping to prevent negative frames which was also excluding frame 0. This commit reverts the fixes made for T36831 in: rBf18f2fbb33d90ecc91e6f3d063cb9f97f217e808 After thinking this over, I think these checks against drawing on negative frames aren't needed. Even if the current userpref setting doesn't allow navigating to negative frames, this may not be true for other users that may work on the same file (in a team environment). Also, negative frame values can get set via the dopesheet.
2015-04-16Action Editor: Preemptive fix for null-pointer dereferenceJoshua Leung
A few weeks ago, I got a random crash while testing som edge cases (IIRC, it was trying to assign an action with no active object), which I haven't been able to reproduce since then. This commit though adds some extra sanity checks here, as a user may try to assign an action to an animdata block which did not have an action already.
2015-04-16Fix T44408: "Rest Length" property in the Stretch To constraint was getting ↵Joshua Leung
clipped when using Metric Units Increased the upper bound for the "Rest Length" property to cope with metric units, especially when large (i.e. > 2 m) distances are involved. It may be necessary to increase this again in the future, if even larger distances get used (though it then starts getting a bit difficulty to justify such setups).
2015-04-16RNA: avoid past tense in property namesCampbell Barton
2015-04-16BGE: Fix for T42341 Sensor.frequency is badly namedJorge Bernal
"Frequency" parameter is renamed to "Skip" in the LogicBricks sensors as it represents skipped frames between pulses. Naming something (frequency) the exact opposite of what it represents (period) was the worst choice. Also, a new BGE python attribute 'skippedTicks' was introduced. 'frequency' attribute is maintained but deprecated. Internally, freq variable is used yet at DNA_Sensor to maintain compability and to avoid do_versions. Thanks to Sybren for the investigation. {F162440} Reviewers: campbellbarton, sybren, moguri, hg1 Reviewed By: sybren, hg1 Differential Revision: https://developer.blender.org/D1229
2015-04-15Increase max brush size from 200 to 500Campbell Barton
2015-04-15RNA: use lock_ prefix for booleansCampbell Barton
2015-04-14Fix T44389: Tooltips swapped in Logic EditorJulian Eisel
2015-04-14Second round of hair random rotation limited to 180 degreesMai Lavelle
This time roll back to originally discussed in the code review page approach with simply bumping UI range for the property. It's still not totally free from forward compatibility breaking (which is already broken comparing to previous release) but at least it'll keep files working inbetween of git blender versions in cases random factor was not set above 2.0. Differential Revision: https://developer.blender.org/D1214
2015-04-14Add flag that prevents editing of markers. Can be located in markerAntony Riakiotakis
menu. When active, all editing operators for markers will not fire up.
2015-04-14Animation Editors: Name filter now updates as you type, making it a true ↵Joshua Leung
"live search"
2015-04-14NLA: The "filter by name" functionality now works with NLA strips tooJoshua Leung
2015-04-13Cleanup: do not use _reportf() when not doing any string formating!Bastien Montagne
Also usual minor i18n messages stuff...