Age | Commit message (Collapse) | Author |
|
only RNA access currently 'image.resolution'.
|
|
|
|
The main purpose for this is to allow rendering motion blurred blender fluids in external renderers (eg. http://vimeo.com/21870635 ).
Python code snippet for interpreting this data here: http://www.pasteall.org/21577 . Cleaned up some ugly hacks in this area too
* Also added read-only access to scene.subframe to RNA - setting current frame and subframe should still go via scene.frame_set()
|
|
Actual problem was caused by insufficient buffer size
in ui_text_leftclip()
Also fixed possible invalid memory write in GHOST_SystemWin32::getClipboard
which was caused by accessing clipboard buffer after closing
clipboard. This mustn't happen.
Also fixed possible crush when buffer was failed to be locked.
|
|
mouse coords would with cont. grab would wrap at short.
use mouse coords as int rather then short.
this problem still happens on linux because of XTranslateCoordinates
|
|
2D view panning and zooming is now fully keymappable, you can set a
keyboard key to it too (hold key -> move mouse -> release key).
|
|
it. fixed so result isnt negated and mouse coords dont need to be adjusted.
|
|
Patch to make the radial control more generic with RNA. Patch was
reviewed here: http://codereview.appspot.com/4280080/
Prior to this update, the radial control code in trunk had generic
parts of the radial control implemented as an incomplete operator
within WM. Then each different user of the radial control had to
implement a separate operator to actually pass in specific brush data
-- e.g. sculpt's brush size, vpaint's brush size, etc.
This patch removes all the extra operators and makes the WM operator
do everything. It now takes several RNA path strings as its properties
-- the only required property is data_path, which specifies the data
to be modified by the radial control. The other paths affect display
in various ways, e.g. rotation, color, etc.
In addition to decreasing some duplicate paint brush code, these
updates make it pretty easy to enable radial control for other
purposes (and it can be set up entirely though python or keymaps, no
extra C code needed.)
|
|
* More generic tooltip for "strength" property as it can be FFT as well.
Discovered by tobkum in IRC. :)
|
|
to read .blend files from runtimes, folded those into blenloader.
|
|
sides too.
|
|
seems arbitrary and may be driver specific, but this value is in the middle of what works well on mesa software GL & my nvidia.
|
|
RGB color node supports to set alpha too but never put alpha in the output.
Report + fix provided by Dani G. Thanks!
|
|
Physics Gravity property now has UI range of 0-25, but real range goes
to 10000 to allow scaled scenes.
|
|
|
|
Re-calculate handles after applying transform matrix on curve object
This commit is'n fixing changing of curve shape whe nyou're deforming it (as
it was intially reported) but just adds needed handles recalculation.
Handles are calculated correct in that "unneded deformed" curve.
|
|
also fixed a possible bug assigning incorrect DPX function types to
imbuf.
|
|
|
|
incorrectly stripped.
|
|
|
|
This commit fixes boundbox for empty curve-typed objects. Because of strange
reason (-1,-1,-1) and (1,1,1) was used as boundbox. Now it uses zero-sized
boundbox (as it's done for meshes).
This commit makes nothig with that single space character text from the report.
|
|
from Andy Braham (andybraham)
This adds support for empties to reference images and draw in the 3D view.
Modifications from the original patch.
- use an empty draw 'image' type
- use image aspect ratio for non-square-pixels
- when the image is not found, still draw the frame.
|
|
|
|
|
|
Problem was caused by different limits for "last" mipmap: it was 1x1
for mkaing mipmaps and 2x2 for re-making.
2x2 should be enough for mipmap.
|
|
|
|
|
|
- Recreate mipmaps if they're dirty when drawing background image
(this prevents "delayed" update of background image when you're paiting on it
in image editor).
- Mark mipmaps as dirty when inverting image channels.
TODO: there's memory leak caused by IMB_remakemipmap, but it'll be
anuther bugfix commit after discussion with other devs.
|
|
not work
also minor formatting fixes.
|
|
|
|
with upstream nvtt
submitted by Amorilia
This updates the DDS module with upstearm nvtt (r1042).
|
|
- In Drivers mode of Graph Editor, expanders for sub-object data were
not working at all. This was because they were getting overriden by an
errant ob-level drivers check
- Adding drivers from py-api didn't update Graph Editor
|
|
The following script would fail:
#ob = bpy.context.active_object
pb = bpy.context.active_pose_bone
pb.bone.driver_add("hide") # <--- exception here
The RNA-path function for Bone assumed that when it got called, it's
"id_data" (or owner-idblock-pointer) would only be ID_AR (i.e. an
armature). However, in the above example, pb.bone has ob as its
id_data, resulting in an invalid RNA path getting created. Added check
for this case, since it's likely to be common
|
|
Submitted by Amorilia.
DXT1 .dds textures with 1-bit alpha channel have their alpha channel imported in Blender.
The patch also makes change to contact info for the patch submitter.
I left the sync with upstream nvtt for another commit.
|
|
Added new option to find panel of space text which toggles
case-esensitive search.
Additional changes:
- Send NC_TEXT|NA_EDITED when removing markers in find_and_replace modifier
this prevents "sticked" markers which disappears on first redraw when
search text wasn't found
- Do not show "Text wasn't found" error when text to be searched is contained
in the end of buffer and it's selected. Replacing/marking used to happen, but
this popup message was really annoying for this case.
TODO: It's incorrect to use UI_GetThemeColor4ubv from this operator
|
|
|
|
anything, only contained a hash map and functions to pass command line args
to the game engine. Moved those to container and BlenderRoutines modules.
|
|
|
|
RNA functions holding string pointers by making a temp copy of the string and freeing after the function is called.
|
|
python strings are not static so dont hold pointers to them within blenders UI.
|
|
this isn't a fix but GetModuleFileName is returning a name that doesn't exist, so finding python after this isn't working.
Show a popup that the path has an invalid name so at least the user can move it.
|
|
|
|
|
|
* The unphysical particle damping wasn't scaled according to the timestep.
|
|
scale fixes size header buttons by DPI
|
|
also change from blender from 'release' back to beta so new docs don't overwrite the 2.57b release docs.
|
|
were not well maintained.
|
|
loopcut now follows 'Release confirms' user preference.
|
|
allow un-setting operator properties.
|
|
- BLF_height_max
- BLF_width_max
- BLF_descender
- BLF_ascender
use for tooltip and image stamp.
|