blender.git
8 years agopy/ui edit: change InputKeyMapPanel to be a mix-in class only (not a subclass of...
Campbell Barton [Thu, 19 May 2011 09:52:11 +0000 (09:52 +0000)]
py/ui edit: change InputKeyMapPanel to be a mix-in class only (not a subclass of Panel), it messes up re-registering panels.

8 years agochange window_to_3d to take screen coords as floats.
Campbell Barton [Thu, 19 May 2011 07:55:48 +0000 (07:55 +0000)]
change window_to_3d to take screen coords as floats.

8 years agoconverting grease pencil now works in the camera view.
Campbell Barton [Thu, 19 May 2011 07:43:10 +0000 (07:43 +0000)]
converting grease pencil now works in the camera view.

8 years agofix [#27432] [2.57/scripts/modules/bpy/path.py:169] can't concat bytes to str
Campbell Barton [Thu, 19 May 2011 06:27:39 +0000 (06:27 +0000)]
fix [#27432] [2.57/scripts/modules/bpy/path.py:169] can't concat bytes to str

8 years agofix [#27437] Appending armatures with custom bone shapes brings no custom objects...
Campbell Barton [Thu, 19 May 2011 06:17:44 +0000 (06:17 +0000)]
fix [#27437] Appending armatures with custom bone shapes brings no custom objects into scene.. impossible to edit

8 years agoadd python access to mathutils.intersect_line_plane, update view3d_utils module to...
Campbell Barton [Thu, 19 May 2011 04:28:09 +0000 (04:28 +0000)]
add python access to mathutils.intersect_line_plane, update view3d_utils module to use it.

8 years agoadded math function isect_line_plane_v3(), use for window_to_3d rather then having...
Campbell Barton [Thu, 19 May 2011 03:49:57 +0000 (03:49 +0000)]
added math function isect_line_plane_v3(), use for window_to_3d rather then having it inline.

8 years agofix [#27158] Appending crash with preview.
Andrea Weikert [Wed, 18 May 2011 19:42:30 +0000 (19:42 +0000)]
fix [#27158] Appending crash with preview.
* fixed incorrect reading of PreviewImage struct from .blend
* fixed memory leak, PreviewImage data wasn't correctly free'd

8 years agouse window_to_3d for armature_click_extrude operator.
Campbell Barton [Wed, 18 May 2011 18:14:59 +0000 (18:14 +0000)]
use window_to_3d for armature_click_extrude operator.

8 years agowindow_to_3d() wasn't working at all (only used by grease pencil/path conversion...
Campbell Barton [Wed, 18 May 2011 18:01:01 +0000 (18:01 +0000)]
window_to_3d() wasn't working at all (only used by grease pencil/path conversion), now works in ortho and perspective view, initgrabz() is no longer needs to be called first.

8 years agothere wasn't a good way to know if a RegionView3D was perspective or not (without...
Campbell Barton [Wed, 18 May 2011 17:52:26 +0000 (17:52 +0000)]
there wasn't a good way to know if a RegionView3D was perspective or not (without having the View3D too and checking its camera values), added struct member 'is_persp', set with the view matrix.

8 years agofix for python module region_2d_to_vector_3d and region_2d_to_location_3d functions...
Campbell Barton [Wed, 18 May 2011 15:57:20 +0000 (15:57 +0000)]
fix for python module region_2d_to_vector_3d and region_2d_to_location_3d functions in ortho mode.

8 years agopython mathutils.Matrix.is_orthogonal readonly attribute.
Campbell Barton [Wed, 18 May 2011 15:31:00 +0000 (15:31 +0000)]
python mathutils.Matrix.is_orthogonal readonly attribute.

8 years agoUI: fix access of freed memory in buttons handling code.
Brecht Van Lommel [Wed, 18 May 2011 15:23:40 +0000 (15:23 +0000)]
UI: fix access of freed memory in buttons handling code.

8 years agoRNA: some compile fixes for C/C++ api.
Brecht Van Lommel [Wed, 18 May 2011 12:56:58 +0000 (12:56 +0000)]
RNA: some compile fixes for C/C++ api.

8 years agoRNA: make mechanism used by operators to keep python instance alive more generic...
Brecht Van Lommel [Wed, 18 May 2011 11:21:10 +0000 (11:21 +0000)]
RNA: make mechanism used by operators to keep python instance alive more generic, to be used by render engine later.

8 years agoRNA: pass Main rather than Context to register/unregister callbacks.
Brecht Van Lommel [Wed, 18 May 2011 10:56:26 +0000 (10:56 +0000)]
RNA: pass Main rather than Context to register/unregister callbacks.

8 years agofix remaining crash from [#27035] 3 problems: crash and enum "REGION" not found in...
Campbell Barton [Wed, 18 May 2011 09:58:17 +0000 (09:58 +0000)]
fix remaining crash from [#27035] 3 problems: crash and enum "REGION" not found in ('VERTS')

8 years agofix a crash when getting the value of an enum.
Campbell Barton [Wed, 18 May 2011 09:26:07 +0000 (09:26 +0000)]
fix a crash when getting the value of an enum.

8 years agofix for one of the issues in [#27035] 3 problems: crash and enum "REGION" not found...
Campbell Barton [Wed, 18 May 2011 09:07:15 +0000 (09:07 +0000)]
fix for one of the issues in [#27035] 3 problems: crash and enum "REGION" not found in ('VERTS')
now constraint macro argument shows as 'NORMAL' rather then '<UNKNOWN ENUM>'

8 years agouse ED_operator_screenactive rather then ED_operator_screenactive so transform works...
Campbell Barton [Wed, 18 May 2011 08:36:06 +0000 (08:36 +0000)]
use ED_operator_screenactive rather then ED_operator_screenactive so transform works in background mode.

8 years ago2 minor glitches
Campbell Barton [Wed, 18 May 2011 08:16:33 +0000 (08:16 +0000)]
2 minor glitches
- removing bone groups didnt set the next one active.
- removing poselib was using int for enum rna property.

8 years agoadditional bake modes
M.G. Kishalmi [Wed, 18 May 2011 07:46:54 +0000 (07:46 +0000)]
additional bake modes
 (refined patch #23430)

+ specular color
+ specular intensity
+ mirror color
+ mirror intensity
+ alpha (tranparency)
+ emission (glow)

8 years ago- check paths are not empty strings before making blend file paths absolute or relative.
Campbell Barton [Wed, 18 May 2011 06:48:52 +0000 (06:48 +0000)]
- check paths are not empty strings before making blend file paths absolute or relative.
- when saving blend file with 'Remap Relative' enabled, don't try make paths absolute if the internal filename is invalid.
- use case insensitive path comparison on windows when checking if path remapping is needed & for comparing next/prev dirs in the file selector.

8 years agocleanup only
Campbell Barton [Wed, 18 May 2011 06:27:32 +0000 (06:27 +0000)]
cleanup only
- rename 'name', 'dir' --> 'filepath' where these actually represent a file path to avoid confusion.
- bugfix for possible (but unlikely) uninitialized string.
- remove commented script append function, now we have a python api for this.

8 years agofix [#27405] Append objects with linked materials they dissapears after save
Campbell Barton [Wed, 18 May 2011 05:21:44 +0000 (05:21 +0000)]
fix [#27405] Append objects with linked materials they dissapears after save
when linking in files to an unsaved blend file, make all library paths absolute.

8 years agoThis fixes:
Peter Schlaile [Tue, 17 May 2011 18:37:44 +0000 (18:37 +0000)]
This fixes:
[#27422] Strobe setting does not work with effect strip
[#27421] Some Settings of Adjustment Layers are not Functional.

8 years agofix for r36723 - putting extern Material inside code like that results in wrong linki...
Nathan Letwory [Tue, 17 May 2011 16:20:07 +0000 (16:20 +0000)]
fix for r36723 - putting extern Material inside code like that results in wrong linking. Move to proper place so that linking goes right.

8 years agoadded other addon category.
Campbell Barton [Tue, 17 May 2011 09:13:14 +0000 (09:13 +0000)]
added other addon category.

8 years agofix for warning
Campbell Barton [Tue, 17 May 2011 06:51:31 +0000 (06:51 +0000)]
fix for warning

8 years agofix [#27414] no-material renders differently in View3D vs BGE
Campbell Barton [Tue, 17 May 2011 02:44:52 +0000 (02:44 +0000)]
fix [#27414] no-material renders differently in View3D vs BGE
when a texface layer exists this still overrides the default material.

8 years agoRNA glitch: particle path step values had soft & hard limits the wrong way around.
Janne Karhu [Mon, 16 May 2011 20:48:14 +0000 (20:48 +0000)]
RNA glitch: particle path step values had soft & hard limits the wrong way around.

8 years agocode cleanup: icon creation
Andrea Weikert [Mon, 16 May 2011 18:37:54 +0000 (18:37 +0000)]
code cleanup: icon creation
* changed stupid miplevel/MIPMAP naming in icon code, it was really the icon size (small icon or larger preview) that was meant there.

8 years agoset clip_start value minimum to 0.001, since 0.0 makes the viewport go very strange.
Campbell Barton [Mon, 16 May 2011 18:04:19 +0000 (18:04 +0000)]
set clip_start value minimum to 0.001, since 0.0 makes the viewport go very strange.

8 years ago== Sequencer ==
Peter Schlaile [Mon, 16 May 2011 17:54:55 +0000 (17:54 +0000)]
== Sequencer ==

This fixes one part of [#27353] VSE crashes on large M4V

StripData was alloced in full length for MOVIE and SOUND-tracks, which only
use the first element for filename storage. (StripData as an array is only
used in IMAGE strips).

Fixed the crash and documented accordingly.

8 years ago[PATCH] == Sequencer ==
Peter Schlaile [Mon, 16 May 2011 17:14:47 +0000 (17:14 +0000)]
[PATCH] == Sequencer ==

This patch adds adjustment layer tracks to the sequencer and does some cleaning
up of the code.

What's an adjustment layer?

Think of it as an effect track, which takes no explicit input, but alters
the output of everything down the layer stack.

So: you can add several stages of color correction with it.

And: you can even use it with metastrips to group several adjustments together.

8 years agoLCMS code removed, was an experiment but never finished.
Brecht Van Lommel [Mon, 16 May 2011 13:34:42 +0000 (13:34 +0000)]
LCMS code removed, was an experiment but never finished.

8 years agoRemove artificial limit, now HDR textures can be used to displace.
Nathan Letwory [Mon, 16 May 2011 11:46:16 +0000 (11:46 +0000)]
Remove artificial limit, now HDR textures can be used to displace.

8 years agofixed incorrect jemalloc library & updated netbeans project to ignore __pycache__.
Campbell Barton [Mon, 16 May 2011 10:34:40 +0000 (10:34 +0000)]
fixed incorrect jemalloc library & updated netbeans project to ignore __pycache__.

8 years agomove generic bpy helper modules into bpy_extras.
Campbell Barton [Mon, 16 May 2011 07:51:02 +0000 (07:51 +0000)]
move generic bpy helper modules into bpy_extras.

8 years agonew empty package to move bpy utility modules into.
Campbell Barton [Mon, 16 May 2011 07:48:43 +0000 (07:48 +0000)]
new empty package to move bpy utility modules into.

8 years agoSVN maintenance.
Guillermo S. Romero [Mon, 16 May 2011 06:11:14 +0000 (06:11 +0000)]
SVN maintenance.

8 years agorename wave texture_coordinate_object -> texture_coords_object to match Displace...
Campbell Barton [Mon, 16 May 2011 05:50:04 +0000 (05:50 +0000)]
rename wave texture_coordinate_object -> texture_coords_object to match Displace and Warp modifiers.

8 years agoenable game panel even if the BGE is disabled since its settings effect the viewport.
Campbell Barton [Mon, 16 May 2011 04:55:31 +0000 (04:55 +0000)]
enable game panel even if the BGE is disabled since its settings effect the viewport.
also remove unused function in creator.c and minor edit to search menu poll function.

8 years agomade generic module for generating project files from cmake,
Campbell Barton [Mon, 16 May 2011 04:04:06 +0000 (04:04 +0000)]
made generic module for generating project files from cmake,
added netbeans project file generator.

8 years agoPatch [#27344] 300+ New/changed tooltips by Davis Sorenson (dsavi). Thanks a lot!
Thomas Dinges [Sun, 15 May 2011 17:59:48 +0000 (17:59 +0000)]
Patch [#27344] 300+ New/changed tooltips by Davis Sorenson (dsavi). Thanks a lot!
Reviewed by Tom Musgrove and myself.

From the patch description:
ValterVB on #blendercoders submitted a long list of missing tooltips in Blender, and I went through the list and added all I knew. After that I crowdsourced the rest by putting a spreadsheet on Google docs and having people fill in the missing ones that I didn't know. So if there's some weird tooltip in there that doesn't make sense, that's why.

Thanks to Wolter, spacetug and others on BlenderArtists for contributing tooltips.

8 years agoFix for [#27142] manipulator in particle mode does not work
Janne Karhu [Sun, 15 May 2011 16:42:39 +0000 (16:42 +0000)]
Fix for [#27142] manipulator in particle mode does not work
* Manipulator operator wasn't registered in particle mode.

8 years agoFix for [#27131] particle system BUG - one particle generated twice at vertex (e...
Janne Karhu [Sun, 15 May 2011 15:51:17 +0000 (15:51 +0000)]
Fix for [#27131] particle system BUG - one particle generated twice at vertex (e.g. 9 particles generated at 8 locations)
* The tiny offset value used in particle distribution code was actually too small, so that floating point errors got the best of the calculations.

8 years agohomekey in camera view now fits the view scale as well as centering the camera.
Campbell Barton [Sun, 15 May 2011 14:07:24 +0000 (14:07 +0000)]
homekey in camera view now fits the view scale as well as centering the camera.

8 years agoDo not remove MDISPS customdata layer when removing multires modifier
Sergey Sharybin [Sun, 15 May 2011 13:13:51 +0000 (13:13 +0000)]
Do not remove MDISPS customdata layer when removing multires modifier
and there are still another multires modifiers in the stack.

Helps to prevent loosing sculpt data when you occasionally added another
multires and reomved it with "X" button.

8 years agoBGE:
Mitchell Stokes [Sun, 15 May 2011 08:48:43 +0000 (08:48 +0000)]
BGE:
This fixes frame colors not showing up right when using letterbox in the embedded player. Frames are drawn by clearing the whole canvas and then changing the viewport to be within the frames. The problem is that the embedded player's canvas is setup to be within the frames. This means that the extra that would normally be cleared and filled with the frame color is instead the gray color of Blender's region since nothing is actually drawn there by the BGE. To solve this, I just handle the frames in BL_KetsjiEmbedStart.

8 years agoremove redundant (and confusing) register flag.
Campbell Barton [Sun, 15 May 2011 06:29:52 +0000 (06:29 +0000)]
remove redundant (and confusing) register flag.

8 years agocamera composition guides:
Campbell Barton [Sun, 15 May 2011 05:43:59 +0000 (05:43 +0000)]
camera composition guides:
 removed diagonal golden rule (not very common), added harmonious triangle and golden triangle options.

8 years agoremove some unused view3d members & added RV3D_VIEW_USER define.
Campbell Barton [Sun, 15 May 2011 03:42:28 +0000 (03:42 +0000)]
remove some unused view3d members & added RV3D_VIEW_USER define.

Aligorith: replaced v3d->keyflags with ANIMFILTER_KEYS_LOCAL since v3d->keyflags couldn't be set anywhere and wasn't initialized.

8 years agofix for bug with camera locking, view dolly and rotate with 'about selection' prefere...
Campbell Barton [Sun, 15 May 2011 03:07:07 +0000 (03:07 +0000)]
fix for bug with camera locking, view dolly and rotate with 'about selection' preference enabled would offset the camera.

8 years agofix for user reported issues
Campbell Barton [Sun, 15 May 2011 02:39:36 +0000 (02:39 +0000)]
fix for user reported issues
- camera object movement was missing a notifier
- auto perspective now works when rotating the view.
- shift+b now zooms.

8 years agoButton for adding shape keys now creates shapes from base mesh instead of
Nathan Vegdahl [Sat, 14 May 2011 20:23:05 +0000 (20:23 +0000)]
Button for adding shape keys now creates shapes from base mesh instead of
from the current shape mix.  The old behavior is still accessable from the
menu as "New Shape From Mix".

Checked with Sergey and Bassam that this is a good change.  New users
expect the add shape button to simply add a new blank shape, and get
confused when that is not the case.  It is also really easy to
accidentally have other shape information in a new shape when the
"from mix" behavior is default.

8 years agoRemove files that were intended for shader branch.
Nathan Letwory [Sat, 14 May 2011 18:54:56 +0000 (18:54 +0000)]
Remove files that were intended for shader branch.

8 years agooption to have the view controls apply to the camera view (and camera object).
Campbell Barton [Sat, 14 May 2011 17:50:33 +0000 (17:50 +0000)]
option to have the view controls apply to the camera view (and camera object).
- follow rotate/pan/zoom/dolly operators.
- auto-depth preference works.
- smooth view navigation supported.
- view selected, all & numpad operator work too.

TODO
- deal with camera transform locked axis
- find a way to move/zoom the frame while the camera is locked (if it turns out to be a problem).

8 years agoaction editor was setting wrong rna type on Ctrl+RMB
Campbell Barton [Sat, 14 May 2011 15:44:56 +0000 (15:44 +0000)]
action editor was setting wrong rna type on Ctrl+RMB

8 years agoFix #27390: Shift for activating Smooth Brush broken in sculpt
Sergey Sharybin [Sat, 14 May 2011 12:32:15 +0000 (12:32 +0000)]
Fix #27390: Shift for activating Smooth Brush broken in sculpt

Smooth brushes at requires face map which haven't used to be created for
simple meshes (without modifiers).

Use corrected need_fmap flag at stroke initialization, so face map
is created properly for "temporary" smooth brushes and simple meshes.

8 years agofix for view dolly not working with auto-depth & zoom to mouse location when no depth...
Campbell Barton [Sat, 14 May 2011 10:35:11 +0000 (10:35 +0000)]
fix for view dolly not working with auto-depth & zoom to mouse location when no depth was found.

8 years agoThese two files didn't get added when I created a branch from my working copy.
Mitchell Stokes [Sat, 14 May 2011 06:32:25 +0000 (06:32 +0000)]
These two files didn't get added when I created a branch from my working copy.

8 years agostubs.c update: ED_view3d_from_m4()
Mitchell Stokes [Sat, 14 May 2011 06:24:29 +0000 (06:24 +0000)]
stubs.c update: ED_view3d_from_m4()

8 years agominor changes to view3d operators, add View3D to 'ViewOpsData'
Campbell Barton [Sat, 14 May 2011 05:42:58 +0000 (05:42 +0000)]
minor changes to view3d operators, add View3D to 'ViewOpsData'

8 years agoobject_mat3_to_rot wasn't correctly accounting for the euler delta rotations, so...
Campbell Barton [Sat, 14 May 2011 04:59:37 +0000 (04:59 +0000)]
object_mat3_to_rot wasn't correctly accounting for the euler delta rotations, so setting the matrix of an object would fail in this case (rotational jump).

8 years agoview3d api edits, no functional changes.
Campbell Barton [Sat, 14 May 2011 04:25:47 +0000 (04:25 +0000)]
view3d api edits, no functional changes.
rename v3d functions
* view3d_to_ob -> ED_view3d_to_object
* view3d_apply_ob -> ED_view3d_from_object
* view3d_apply_mat4 -> ED_view3d_from_m4

Changed ED_view3d_to_object() not to temp modify the view rotation and don't overwrite the objects recalc.

8 years agousing the viewmatrix to position the camera could be problematic if the view wasn...
Campbell Barton [Fri, 13 May 2011 18:32:27 +0000 (18:32 +0000)]
using the viewmatrix to position the camera could be problematic if the view wasn't yet recalculated, use the quaternion instead.

8 years agorename setcameratoview3d to view3d_to_ob & add to ED_view3d.h so others can use.
Campbell Barton [Fri, 13 May 2011 18:05:30 +0000 (18:05 +0000)]
rename setcameratoview3d to view3d_to_ob & add to ED_view3d.h so others can use.

8 years agomade BLI_edgefill returns the list length since some callers count directly after...
Campbell Barton [Fri, 13 May 2011 16:04:20 +0000 (16:04 +0000)]
made BLI_edgefill returns the list length since some callers count directly after, also remove 2 unused flags from ScFillVert struct.

8 years agosupport for reading/writing image resolution (dpi), for PNG and TIFF,
Campbell Barton [Fri, 13 May 2011 14:27:12 +0000 (14:27 +0000)]
support for reading/writing image resolution (dpi), for PNG and TIFF,
only RNA access currently 'image.resolution'.

8 years agoUse jemalloc in buildbot for linux targets
Sergey Sharybin [Fri, 13 May 2011 12:57:54 +0000 (12:57 +0000)]
Use jemalloc in buildbot for linux targets

8 years agoOption to use jemalloc when building with scons under linux.
Sergey Sharybin [Fri, 13 May 2011 12:08:34 +0000 (12:08 +0000)]
Option to use jemalloc when building with scons under linux.
Disabled by default.

8 years agoremove imbuf crect and profile_filename when building without LCMS
Campbell Barton [Fri, 13 May 2011 04:53:20 +0000 (04:53 +0000)]
remove imbuf crect and profile_filename when building without LCMS

8 years ago* Enabled rna access to fluid sim velocity vectors
Matt Ebb [Thu, 12 May 2011 22:52:30 +0000 (22:52 +0000)]
* Enabled rna access to fluid sim velocity vectors

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()

8 years agoForgot to close clipboard when lock fails.
Sergey Sharybin [Thu, 12 May 2011 18:04:24 +0000 (18:04 +0000)]
Forgot to close clipboard when lock fails.

Thanks to jesterKing!

8 years agoFix #27359: Pasting long text crashes blender
Sergey Sharybin [Thu, 12 May 2011 16:49:53 +0000 (16:49 +0000)]
Fix #27359: Pasting long text crashes blender

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.

8 years agofor bug [#27358] Transform bug when transform > 500
Campbell Barton [Thu, 12 May 2011 16:47:36 +0000 (16:47 +0000)]
for bug [#27358] Transform bug when transform > 500
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

8 years agoBugfix #27181
Ton Roosendaal [Thu, 12 May 2011 13:49:47 +0000 (13:49 +0000)]
Bugfix #27181

2D view panning and zooming is now fully keymappable, you can set a
keyboard key to it too (hold key -> move mouse -> release key).

8 years agooption to link with jemalloc on *nix, off by default.
Campbell Barton [Thu, 12 May 2011 11:16:32 +0000 (11:16 +0000)]
option to link with jemalloc on *nix, off by default.

8 years agoFix #27279: IK bone rotation limits set to 0 disabled the limit, this was
Brecht Van Lommel [Thu, 12 May 2011 08:34:31 +0000 (08:34 +0000)]
Fix #27279: IK bone rotation limits set to 0 disabled the limit, this was
unintentional, since there is already a toggle to enable/disable it.

8 years agowindow_to_3d_vector was incorrect but dolly view operator was accounting for it....
Campbell Barton [Thu, 12 May 2011 06:52:24 +0000 (06:52 +0000)]
window_to_3d_vector was incorrect but dolly view operator was accounting for it. fixed so result isnt negated and mouse coords dont need to be adjusted.

8 years agopython utility module for converting between 2d/3d region/world coordinates.
Campbell Barton [Thu, 12 May 2011 06:32:21 +0000 (06:32 +0000)]
python utility module for converting between 2d/3d region/world coordinates.

8 years ago== Radial control ==
Nicholas Bishop [Thu, 12 May 2011 01:57:47 +0000 (01:57 +0000)]
== Radial control ==

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.)

8 years ago2.5 Smoke UI:
Thomas Dinges [Wed, 11 May 2011 20:23:55 +0000 (20:23 +0000)]
2.5 Smoke UI:
* More generic tooltip for "strength" property as it can be FFT as well.
Discovered by tobkum in IRC. :)

8 years agoCode cleanup: remove readblenfile module, only contained some utility functions
Brecht Van Lommel [Wed, 11 May 2011 19:29:23 +0000 (19:29 +0000)]
Code cleanup: remove readblenfile module, only contained some utility functions
to read .blend files from runtimes, folded those into blenloader.

8 years agorecent camera border drawing glitch fix needs to be applied to the top right sides...
Campbell Barton [Wed, 11 May 2011 09:42:46 +0000 (09:42 +0000)]
recent camera border drawing glitch fix needs to be applied to the top right sides too.

8 years agofix for glitch with drawing the 2d camera border over the 3d camera.
Campbell Barton [Wed, 11 May 2011 00:59:22 +0000 (00:59 +0000)]
fix for glitch with drawing the 2d camera border over the 3d camera.
seems arbitrary and may be driver specific, but this value is in the middle of what works well on mesa software GL & my nvidia.

8 years agoApply patch from Ryakiotakis Antonis as posted on ML
Nathan Letwory [Tue, 10 May 2011 23:54:15 +0000 (23:54 +0000)]
Apply patch from Ryakiotakis Antonis as posted on ML

Should fix MingW build problems - mingw users, please test too :)

8 years agoMingW apparently doesn't know about RIM_INPUTSINK, define it if it isn't already.
Nathan Letwory [Tue, 10 May 2011 23:38:40 +0000 (23:38 +0000)]
MingW apparently doesn't know about RIM_INPUTSINK, define it if it isn't already.

8 years agopatch from Dan Eicher for cpack rpms
Campbell Barton [Tue, 10 May 2011 21:59:11 +0000 (21:59 +0000)]
patch from Dan Eicher for cpack rpms

8 years agoBugfix #27305
Ton Roosendaal [Tue, 10 May 2011 16:30:03 +0000 (16:30 +0000)]
Bugfix #27305

RGB color node supports to set alpha too but never put alpha in the output.
Report + fix provided by Dani G. Thanks!

8 years agoBugfix #27311
Ton Roosendaal [Tue, 10 May 2011 15:13:03 +0000 (15:13 +0000)]
Bugfix #27311

Physics Gravity property now has UI range of 0-25, but real range goes
to 10000 to allow scaled scenes.

8 years agoremove some duplicate declarations
Campbell Barton [Tue, 10 May 2011 14:48:06 +0000 (14:48 +0000)]
remove some duplicate declarations

8 years agoFix #27217: Bézier control points moves bizarre
Sergey Sharybin [Tue, 10 May 2011 14:38:55 +0000 (14:38 +0000)]
Fix #27217: Bézier control points moves bizarre

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.

8 years agominor cleanup: make functions static, use NULL for pointer comparisons,
Campbell Barton [Tue, 10 May 2011 13:11:36 +0000 (13:11 +0000)]
minor cleanup: make functions static, use NULL for pointer comparisons,

also fixed a possible bug assigning incorrect DPX function types to
imbuf.

8 years agoTypo in composition guides
Daniel Salazar [Tue, 10 May 2011 05:20:18 +0000 (05:20 +0000)]
Typo in composition guides

8 years agoentering non utf8 text in filepaths in the file selector would get incorrectly stripped.
Campbell Barton [Tue, 10 May 2011 05:07:24 +0000 (05:07 +0000)]
entering non utf8 text in filepaths in the file selector would get incorrectly stripped.

8 years agocamera composition guides: center, thirds, golden rule
Campbell Barton [Tue, 10 May 2011 03:03:53 +0000 (03:03 +0000)]
camera composition guides: center, thirds, golden rule

8 years agoRevert rename of r36578, breaks scons compile.
Nathan Letwory [Mon, 9 May 2011 21:34:52 +0000 (21:34 +0000)]
Revert rename of r36578, breaks scons compile.