10 years agoscript to convert datatoc files back to data.
Campbell Barton [Tue, 14 Dec 2010 12:09:30 +0000 (12:09 +0000)]
script to convert datatoc files back to data.

10 years agocurve hide keys were still not right, now match mesh editmode.
Campbell Barton [Tue, 14 Dec 2010 11:22:54 +0000 (11:22 +0000)]
curve hide keys were still not right, now match mesh editmode.

10 years agoFix for 'handle_type' submenu in Graph Editor no longer working.
Joshua Leung [Tue, 14 Dec 2010 10:52:38 +0000 (10:52 +0000)]
Fix for 'handle_type' submenu in Graph Editor no longer working.
Previous commit fixing rest of handle type keymaps renamed this
operator, but that brings it out of line with rest of animation editor
operators, so reverting that fix.

Also, made Action Editor/DopeSheet use same hotkey as Graph Editor for
setting handle types now (which is same as one used in 3D-View).

10 years agoChange set handle types back to menu now menus have key access - V+A, V+V, V+L, V+F
Campbell Barton [Tue, 14 Dec 2010 10:17:13 +0000 (10:17 +0000)]
Change set handle types back to menu now menus have key access - V+A, V+V, V+L, V+F
for Graph & Edit Curve view.

Editcurve can be Hkey for hide again.

10 years agoupdate for changes in cmake files.
Campbell Barton [Tue, 14 Dec 2010 08:35:56 +0000 (08:35 +0000)]
update for changes in cmake files.

10 years ago[#25211] Impossible to select an armature with shapes
Campbell Barton [Tue, 14 Dec 2010 06:20:28 +0000 (06:20 +0000)]
[#25211] Impossible to select an armature with shapes
broke since 2.49b, highly confusing function.
Stick bones dont draw solid so cant run glLoadName() in this case.

Tested pose/object mode with all armature draw types and view draw modes.

10 years agobugfix [#25209] X3D export results in invalid value for specular color
Campbell Barton [Tue, 14 Dec 2010 04:45:29 +0000 (04:45 +0000)]
bugfix [#25209] X3D export results in invalid value for specular color

10 years agodisallow RNA color values to be set to negative values. Material colors could be...
Campbell Barton [Tue, 14 Dec 2010 04:44:07 +0000 (04:44 +0000)]
disallow RNA color values to be set to negative values. Material colors could be set to -100.0 if typed in manually, this is sure to cause bad/unpredictable behavior.

10 years agoFixed bug #23922, Sculpting - Textured display draws incorrectly
Nicholas Bishop [Tue, 14 Dec 2010 03:30:30 +0000 (03:30 +0000)]
Fixed bug #23922, Sculpting - Textured display draws incorrectly

Root cause is that some drawing modes don't work with PBVH
drawing. Worked around by adding a call to update mesh normals from
the PBVH so that sculpted changes appear correctly in those
"unsupported" modes. (They'll still draw much more slowly than solid,
but should at least appear correct now.)

10 years agoMenu UI feature common in other widget sets:
Campbell Barton [Tue, 14 Dec 2010 02:38:29 +0000 (02:38 +0000)]
Menu UI feature common in other widget sets:
 Automatically assign menu keys based on name, alternative to pressing number 0-9 on menus items.

 keys are assigned by first giving each menu item the first character of any word, if that fails any key in the name is used.

- active key is shown underlined.
- only ascii keys are assigned currently.
- can run operators, open menu items.
- currently this only works in cases where number buttons were used (UI_BLOCK_NUMSELECT), but could be enabled for file menu, splash etc by removing this check.

10 years agoFixed bug #23826, Other kind of brushes appear in sculpt mode
Nicholas Bishop [Tue, 14 Dec 2010 01:19:51 +0000 (01:19 +0000)]
Fixed bug #23826, Other kind of brushes appear in sculpt mode

Was another problem caused by each brush being allowed in more than
one paint mode.

Added a new field to the brush struct to indicate what mode the icon
was last set for; if it's changed then reset it. Not sure if it's
really worth it to cache this, could remove it for simplicity.

10 years agoInitial implementation of mdisps layer interpolation
Sergey Sharybin [Mon, 13 Dec 2010 21:22:30 +0000 (21:22 +0000)]
Initial implementation of mdisps layer interpolation

Sculpt data shouldn't be lost when making topology changes without
quads<->tris face converison.

General idea:
- Go through all grid points of each corner and convert per-corner
  coordiante to per-face cooredinate
- Apply weights and convert new point to per-corner coordinate
- Use bilinear interpolation to get needed displacement vector

Some additional work was necessery:
- Two neighbour corners could have different displacements along common
  boundary. multires_mdisp_smooth_bounds() makes displacement "symmetrical"
- Point could change it's corner, so displacement vector should be flipped
  in some way. In some cases it's not only flipping, because corner could
  be mapped with some rotation. It's not solved for triangular faces yet,
  so only z-axis displacement would be interpolated for tris.

More limitations:
- Interpolation will give incorrect result after quad<->triangle
  face conversion.
- When face normal was fillped displacement would change it's direction too.

10 years agoCompositor: Add an option to select the YCbCR conversion mode for the YCbCR combine...
Xavier Thomas [Mon, 13 Dec 2010 21:17:00 +0000 (21:17 +0000)]
Compositor: Add an option to select the YCbCR conversion mode for the YCbCR combine/separate nodes.

10 years agoBugfix #25207
Ton Roosendaal [Mon, 13 Dec 2010 19:10:35 +0000 (19:10 +0000)]
Bugfix #25207

Driver fix: typing expression outside Graph Editor didn't tag the
expression to be re-evaluated. Also missing was notifier for other

10 years agoBugfix #23420
Ton Roosendaal [Mon, 13 Dec 2010 18:22:59 +0000 (18:22 +0000)]
Bugfix #23420

Compositor/Image viewer
In 2.4x viewer nodes had animation playback. Not restored yet.
However, when loading such older files the viewer never showed
any result.

10 years agoBugfix #25191
Ton Roosendaal [Mon, 13 Dec 2010 17:40:06 +0000 (17:40 +0000)]
Bugfix #25191

F11 pushed a render window to back, but not popped it.
This also works for user prefs btw, not bad ;)

10 years agoSmall fix in error text returned from baking.
Ton Roosendaal [Mon, 13 Dec 2010 17:23:03 +0000 (17:23 +0000)]
Small fix in error text returned from baking.

10 years agoBugfix #25197
Ton Roosendaal [Mon, 13 Dec 2010 17:10:44 +0000 (17:10 +0000)]
Bugfix #25197

Curve follow path: the fcurve modifier got lost after tabbing in out
editmode. Also other non-point related curves would get lost.

10 years agoBugfix #25199
Ton Roosendaal [Mon, 13 Dec 2010 15:21:44 +0000 (15:21 +0000)]
Bugfix #25199

Graph editor: submenu for handle type had drawing error.
Seems to be the collumns-separator feature for enum properties?
No time for debugging that, a 5-item menu doesn't need 2 collumns.

10 years agoFix for imageeditor's scopes not updating when changing the image.
Xavier Thomas [Mon, 13 Dec 2010 14:47:31 +0000 (14:47 +0000)]
Fix for imageeditor's  scopes not updating when changing the image.

10 years agoBugfix #25178
Ton Roosendaal [Mon, 13 Dec 2010 13:50:20 +0000 (13:50 +0000)]
Bugfix #25178

Armature edit mode: x-mirror: "switch bone direction" now flips the
mirror bone too. It leaves the mirrored bones selected too, so
you get good visual feedback things happened there.

10 years agocheck if a path can be created to a property before showing keyframe items in menus...
Campbell Barton [Mon, 13 Dec 2010 11:39:11 +0000 (11:39 +0000)]
check if a path can be created to a property before showing keyframe items in menus since they only give an error when accessed.

10 years ago"Fix" for [#25184] Forces for growing hair - update inconsistency - as discussed...
Janne Karhu [Mon, 13 Dec 2010 10:45:24 +0000 (10:45 +0000)]
"Fix" for [#25184] Forces for growing hair - update inconsistency - as discussed with Jahka on Saturday on IRC
* New option to "Regrow hair" for each frame.
* This was perhaps more a feature request, but there was a similar useful feature called "animated hair" in particles at some point.
* The previous behavior for hair growing was inconsistent to say the least, so this is a nice option to have.

10 years agoUse mdisps layer from edit_mesh when adding/removing multires modifier
Sergey Sharybin [Mon, 13 Dec 2010 10:24:05 +0000 (10:24 +0000)]
Use mdisps layer from edit_mesh when adding/removing multires modifier
when object is in edit mode.

10 years agoFix for [#25185] Toggling hair dynamics without deleting cache leaves hair disattache...
Janne Karhu [Mon, 13 Dec 2010 09:39:14 +0000 (09:39 +0000)]
Fix for [#25185] Toggling hair dynamics without deleting cache leaves hair disattached when mesh animation is controlled by deformers - discussed with Jahka on IRC on Sat

10 years agoExpose access to PROP_ENUM_FLAG from bpy.props.EnumProperty(), this is exposed as...
Campbell Barton [Mon, 13 Dec 2010 09:10:16 +0000 (09:10 +0000)]
Expose access to PROP_ENUM_FLAG from bpy.props.EnumProperty(), this is exposed as a python set(). The default value is also a python set() so multiple booleans can be used in the 1 property.

Also added PROP_ENUM_FLAG support to operator printouts.

10 years agoBugfix #25188: Can't assign "add driver" to hide properties of bones
Joshua Leung [Mon, 13 Dec 2010 09:04:04 +0000 (09:04 +0000)]
Bugfix #25188: Can't assign "add driver" to hide properties of bones

This was set to being not-animatable in r33397. However, I think there
are some valid use cases where controlling layer visibility may be a
"too heavy handed" approach.

10 years agofix for error in recent commit.
Campbell Barton [Mon, 13 Dec 2010 08:44:07 +0000 (08:44 +0000)]
fix for error in recent commit.

10 years agoReshuffled AnimData reading functions in writefile.c as per an old
Joshua Leung [Mon, 13 Dec 2010 08:08:09 +0000 (08:08 +0000)]
Reshuffled AnimData reading functions in writefile.c as per an old
comment I'd left in there before this code had been merged back from
NLA-SoC branch

10 years agoexceptions in registering properties were not properly handled, allowing a single...
Campbell Barton [Mon, 13 Dec 2010 07:54:35 +0000 (07:54 +0000)]
exceptions in registering properties were not properly handled, allowing a single error stop the main module registration loop.
worst case 1 script error could load blender without a UI.

10 years agofix for transform operator giving '<UNKNOWN>' enum value when logged, now pass on...
Campbell Barton [Mon, 13 Dec 2010 06:54:25 +0000 (06:54 +0000)]
fix for transform operator giving '<UNKNOWN>' enum value when logged, now pass on the context for operator string representation.

10 years agoLattices now have AnimData
Joshua Leung [Mon, 13 Dec 2010 06:31:49 +0000 (06:31 +0000)]
Lattices now have AnimData

This allows manual (point by point) animation of their control verts,
although many other settings cannot really be animated with any
visible effects yet. Interestingly, lattices also had IPO block
pointers, though they were never really used (AFAIK).

- Animation Editor support has yet to be added. I've got a few other
things to add to, so will group those changes together.

10 years agooption to reverse cycle through render slots (Alt+J).
Campbell Barton [Mon, 13 Dec 2010 05:02:23 +0000 (05:02 +0000)]
option to reverse cycle through render slots (Alt+J).

10 years agofix [#24752] ctr-tab hotkey dont show "mesh select mode" menu for maya preset, but...
Campbell Barton [Mon, 13 Dec 2010 04:33:58 +0000 (04:33 +0000)]
fix [#24752] ctr-tab hotkey dont show "mesh select mode" menu for maya preset, but for default blender preset its ok

10 years agomulti-dimensional array resolving for rna paths.
Campbell Barton [Mon, 13 Dec 2010 02:33:14 +0000 (02:33 +0000)]
multi-dimensional array resolving for rna paths.
eg, "matrix[3][2]" could be used as a driver.

Test from python

Before this was always treated as a 1 dimensional array.

10 years agobugfix [#23395] Mirror + Front Faces Only + Grab = Scaling oddity
Campbell Barton [Sun, 12 Dec 2010 23:02:19 +0000 (23:02 +0000)]
bugfix [#23395] Mirror + Front Faces Only + Grab = Scaling oddity
sculpt normal was used un-initialized, this also affected snake/hook brush.

10 years agobugfix [#25186] FBX export rotations aren't applied to the exported model file.
Campbell Barton [Sun, 12 Dec 2010 21:50:55 +0000 (21:50 +0000)]
bugfix [#25186] FBX export rotations aren't applied to the exported model file.

10 years agoclipboard setting background check correction.
Campbell Barton [Sun, 12 Dec 2010 21:28:07 +0000 (21:28 +0000)]
clipboard setting background check correction.

10 years agoUi: User Preferences "Editing":
Thomas Dinges [Sun, 12 Dec 2010 20:36:07 +0000 (20:36 +0000)]
Ui: User Preferences "Editing":
* "Sculpt Overlay Color" wasted some unnecessary space.

10 years agoFix for compile on windows:
Thomas Dinges [Sun, 12 Dec 2010 20:21:59 +0000 (20:21 +0000)]
Fix for compile on windows:
*Variable declaration after return statement

10 years agoBugfix #25183
Ton Roosendaal [Sun, 12 Dec 2010 19:22:24 +0000 (19:22 +0000)]
Bugfix #25183

Copy constraints pose mode: didn't update constraint flag to denote
colored bone drawing. Also notifier was missing for redraw.

10 years agoBugfix #25179
Ton Roosendaal [Sun, 12 Dec 2010 18:16:54 +0000 (18:16 +0000)]
Bugfix #25179

Armature properties: layer buttons now show which ones are in use,
like object layers.

10 years agoUnlinking material crashed, missing NULL check.
Ton Roosendaal [Sun, 12 Dec 2010 17:59:48 +0000 (17:59 +0000)]
Unlinking material crashed, missing NULL check.

10 years agoFix #25177: Skeleton Sketching - deleted sketches don't disappear immediately
Sergey Sharybin [Sun, 12 Dec 2010 16:15:49 +0000 (16:15 +0000)]
Fix #25177: Skeleton Sketching - deleted sketches don't disappear immediately

Added notifier ND_SKETCH for handling such actions

10 years agoArmature pose: removed the "Confirm" dialog for clearing
Ton Roosendaal [Sun, 12 Dec 2010 16:06:04 +0000 (16:06 +0000)]
Armature pose: removed the "Confirm" dialog for clearing
loc/rot/size properties.  (same as object mode)

10 years ago- fix for rna show_brush variable shadowing its parent classes with a flag which...
Campbell Barton [Sun, 12 Dec 2010 14:28:23 +0000 (14:28 +0000)]
- fix for rna show_brush variable shadowing its parent classes with a flag which is now unused.
- getting clipboard RNA variable would crash blender in background mode.

10 years agoOS X Cocoa: added QT "Animation" codec.
Ton Roosendaal [Sun, 12 Dec 2010 13:45:35 +0000 (13:45 +0000)]
OS X Cocoa: added QT "Animation" codec.
Thanks to Jens Verwiebe for providing diff and test

10 years agoisect_seg_seg_v2_point was modifying the value of line vectors passed.
Campbell Barton [Sun, 12 Dec 2010 01:36:10 +0000 (01:36 +0000)]
isect_seg_seg_v2_point was modifying the value of line vectors passed.
this could be confusing later on, now swap the pointers rather then changing their values.

10 years agoavoid possible errors, surround bit shifted defines with brackets.
Campbell Barton [Sun, 12 Dec 2010 01:33:12 +0000 (01:33 +0000)]
avoid possible errors, surround bit shifted defines with brackets.

10 years agoNew math util funcitons:
Sergey Sharybin [Sat, 11 Dec 2010 21:27:39 +0000 (21:27 +0000)]
New math util funcitons:
- equals_v2v2
- project_v2_v2v2
- isect_seg_seg_v2_point
which would be necessery for my further multires interpolation commit

M_Geometry_LineIntersect2D now uses isect_seg_seg_v2_point(). Behaviour of this
function was changed a bit -- it haven't returned intersection point in several
cases when two segments are making angle.

10 years agoSequencer:
Ton Roosendaal [Sat, 11 Dec 2010 20:01:34 +0000 (20:01 +0000)]

Dropping in image/movie/sound strips was broken; it dropped
things in wrong location (frame 0), and without giving images proper

The file path setting code for the operators here is complex...

10 years agoDrag/drop fix:
Ton Roosendaal [Sat, 11 Dec 2010 17:55:54 +0000 (17:55 +0000)]
Drag/drop fix:

Outliner icons of ID blocks can be dragged, but it also caused an
activate of the item. This prevented using outliner for dragging
into name buttons. Now outliner activates on mouse-release, waiting
for potential drags to happen.

10 years ago2.4 feature back:
Ton Roosendaal [Sat, 11 Dec 2010 17:47:36 +0000 (17:47 +0000)]
2.4 feature back:

For constraints that have 'disabled' flag (because it has invalid
input) the name was drawn in red. Easy to recognize constraints that
stopped working.

10 years agoMoved extensions_framework into addons/modules
Doug Hammond [Sat, 11 Dec 2010 16:35:11 +0000 (16:35 +0000)]
Moved extensions_framework into addons/modules

10 years agoSmall fix:
Ton Roosendaal [Sat, 11 Dec 2010 16:06:25 +0000 (16:06 +0000)]
Small fix:

Material Properties: adding new materials didn't create a new preview
icon for it.

10 years agoAdded some explanation to pointcache->step value as suggested by troubled on irc.
Janne Karhu [Sat, 11 Dec 2010 13:51:04 +0000 (13:51 +0000)]
Added some explanation to pointcache->step value as suggested by troubled on irc.

10 years agoFix for [#22967] UI stops updating
Janne Karhu [Sat, 11 Dec 2010 12:24:23 +0000 (12:24 +0000)]
Fix for [#22967] UI stops updating
* Close event probably happens when drawable is set to other window and this messes up drawing.
* Also fixes #25071 and possibly #22477 (somebody with osx has to re-test)

10 years agoallow addons/modules path so extension authors can develop their own shared modules.
Campbell Barton [Sat, 11 Dec 2010 11:52:28 +0000 (11:52 +0000)]
allow addons/modules path so extension authors can develop their own shared modules.

10 years agoported back background_job template from 2.4x, useful for automating blender to gener...
Campbell Barton [Sat, 11 Dec 2010 11:14:30 +0000 (11:14 +0000)]
ported back background_job template from 2.4x, useful for automating blender to generate scenes in background mode.

10 years ago- ignore calls to WM_cursor_wait() in background mode (crashes saving blend files)
Campbell Barton [Sat, 11 Dec 2010 11:11:32 +0000 (11:11 +0000)]
- ignore calls to WM_cursor_wait() in background mode (crashes saving blend files)
- rename curve enum value align CENTRAL to CENTER

10 years agoBGE BugFix: [#25106] modelview matrix incorrect after using VideoTexture - affecting...
Dalai Felinto [Sat, 11 Dec 2010 00:04:01 +0000 (00:04 +0000)]
BGE BugFix: [#25106] modelview matrix incorrect after using VideoTexture - affecting mouse.position. Patch by Benoit Bolsee (ben2610)

10 years agofix [#25170] The 3d view properties panel median values use Blender units when set...
Campbell Barton [Fri, 10 Dec 2010 23:31:03 +0000 (23:31 +0000)]
fix [#25170] The 3d view properties panel median values use Blender units when set to use imperial.
unit settings were working for vertex location but not median selection.

10 years agoBugfix #25153
Ton Roosendaal [Fri, 10 Dec 2010 18:48:20 +0000 (18:48 +0000)]
Bugfix #25153

graph editor:
- option "extend mode" requires channel-selection. Moved pulldown menu
  from Key to Channel instead
- hotkey SHIFT+E for same operation now works both in channel list as in
  main view.

10 years agoIRC report fix:
Ton Roosendaal [Fri, 10 Dec 2010 13:31:59 +0000 (13:31 +0000)]
IRC report fix:

Text edit mode (3d): brought back the ALT+Backspace mode for
typing accented characters. Works with an operator property,
so the hotkey for it is free to define.

Example: type 'a', alt+backspace and then 'o'
works to combine characters with ' ` ~ o / and ^

10 years agofix for error in recent commit, wasn't masking out the non unit subtype flags.
Campbell Barton [Fri, 10 Dec 2010 13:15:11 +0000 (13:15 +0000)]
fix for error in recent commit, wasn't masking out the non unit subtype flags.

10 years agoBug fix: child particles weren't always updated correctly
Janne Karhu [Fri, 10 Dec 2010 10:34:12 +0000 (10:34 +0000)]
Bug fix: child particles weren't always updated correctly
* Calling update_children(..) is very light if there's nothing to update, so it doesn't matter if it's called every time the particle system is updated.

10 years agoFix for [#25095] Particle systems and object with collision modifier bug
Janne Karhu [Fri, 10 Dec 2010 08:29:46 +0000 (08:29 +0000)]
Fix for [#25095] Particle systems and object with collision modifier bug
* Collisions didn't take emitter object layer into account

10 years agobugfix [#25135] X3D export places scene objects incorrectly in x3d file
Campbell Barton [Fri, 10 Dec 2010 06:08:11 +0000 (06:08 +0000)]
bugfix [#25135] X3D export places scene objects incorrectly in x3d file
matrix rotation order issue.

10 years agofix [#25116] X3D export does generate image texture information in x3d file
Campbell Barton [Fri, 10 Dec 2010 05:35:06 +0000 (05:35 +0000)]
fix [#25116] X3D export does generate image texture information in x3d file
- was exporting UVs only if an image texture was used too
- was also only exporting vertex colors if UV's existed which doesnt make much sense.

10 years agofix [#25155] Glare node > Simple star > Rotate 45 is always applied
Campbell Barton [Fri, 10 Dec 2010 04:39:53 +0000 (04:39 +0000)]
fix [#25155] Glare node > Simple star > Rotate 45 is always applied
from acob F (raccoon)

10 years agobugfix [#25154] .MXF files should be included as a known video file type in the sequencer
Campbell Barton [Fri, 10 Dec 2010 04:10:21 +0000 (04:10 +0000)]
bugfix [#25154] .MXF files should be included as a known video file type in the sequencer
       [#25159] Vertex locations dont read correctly and are not labeled correctly in the properties bar.

- non rna buttons can now have units set.
- calls with invalid units system now raises an assert().
- include .mxf in filter.

10 years agopatch [#25027] formatting mathutils.geometry module docs for sphinx
Campbell Barton [Fri, 10 Dec 2010 00:20:32 +0000 (00:20 +0000)]
patch [#25027] formatting mathutils.geometry module docs for sphinx
from Luka Bonavita


10 years agotransforming pose bones while the animation was playing would crash.
Campbell Barton [Fri, 10 Dec 2010 00:10:43 +0000 (00:10 +0000)]
transforming pose bones while the animation was playing would crash.

10 years agotag unused variables.
Campbell Barton [Fri, 10 Dec 2010 00:00:01 +0000 (00:00 +0000)]
tag unused variables.

10 years agoChange the BLF_aspect function to handle 3d text.
Diego Borghetti [Thu, 9 Dec 2010 22:27:55 +0000 (22:27 +0000)]
Change the BLF_aspect function to handle 3d text.

This is need to properly handle 3d text (dalai work on GE), before
the BLF_aspect only take one argument, and the result was a call to:
glScalef(aspect, aspect, 1.0)

Now the three value are store in the font (x, y and z) and also
need to be enable using BLF_enable(BLF_ASPECT).

By default all the code that don't have BLF_ASPECT enable work with
a scale of 1.0 (so nothing change to the current UI).

I also remove all the call of BLF_aspect(fontid, 1.0) found in
the editors, because is disable by default, so no need any more.

Campbell the only thing to check is the python api, right now
I modify the api to from:
BLF_aspect(fontid, aspect)
BLF_aspect(fontid, aspect, aspect, 1.0)

This is to avoid break the api, but now you need add the BLF_ASPECT
option to the function py_blf_enable and in some point change
py_blf_aspect to take 3 arguments.

10 years agoRelated to previous commit:
Ton Roosendaal [Thu, 9 Dec 2010 19:06:45 +0000 (19:06 +0000)]
Related to previous commit:

I still have to learn more of the recent changes in code :)

Didn't know the handle type options became a menu for Curve edit mode.
Providing much-used tools non-modal (direct) really should have
preference. Pull down is not very accessible here though, will
check on it later. :)

This restores H, Shift+H, V and alt+H for handle setting.

10 years agoBugfix #25150
Ton Roosendaal [Thu, 9 Dec 2010 18:31:40 +0000 (18:31 +0000)]
Bugfix #25150

Graph editor: hotkeys for handles restored; they work immediate
and non modal now (menu was ugly and slow). Uses similar options
as 3d curve editing, but not toggling 'aligned'
HKEY: sets aligned
SHIFT+H: sets auto
ALT+H: sets free handle
VKEY: vector handle

10 years agoTwo nice usability fixes:
Ton Roosendaal [Thu, 9 Dec 2010 18:08:58 +0000 (18:08 +0000)]
Two nice usability fixes:

- On inserting keyframes in buttons, no redraw happened
- Keyframe in icon-only buttons now draw color in background.

10 years agoAdded more clear tooltip for Auto Save feature.
Ton Roosendaal [Thu, 9 Dec 2010 17:36:44 +0000 (17:36 +0000)]
Added more clear tooltip for Auto Save feature.

10 years agoUser prefs: label "Auto Save" was on wrong position.
Ton Roosendaal [Thu, 9 Dec 2010 17:35:35 +0000 (17:35 +0000)]
User prefs: label "Auto Save" was on wrong position.

10 years agorenaming blf_api.h to blf_py_api.h
Dalai Felinto [Thu, 9 Dec 2010 17:31:42 +0000 (17:31 +0000)]
renaming blf_api.h to blf_py_api.h
In windows this was producing Linking dependence errors because we have BLF_api.h in the /blenfont/ and blf_api.h in /python/generic/. It doesn't produces crash out of the box but I was trying to link both "api" files to the same project (Ketjsi folder). For the linking order was determining what header to use. A workaround is to "include" the file using some ../../ relative folder. But renaming it is less error prone.

Probably Ketsji folder shouldn't link to BLF_api.h anyways, but this is something I will look better later before another commit. In the mean time it's not a good idea to have 2 api files with the same name (for non case-sensitive systems).

10 years agoA little more work on patch [#24814] Operators which have no decription
Kent Mein [Thu, 9 Dec 2010 16:50:32 +0000 (16:50 +0000)]
A little more work on patch [#24814] Operators which have no decription
        submitted by Murat Egretli

Not actually a patch but talks about descriptions that are missing
and some small fixes that are needed.


10 years agoBugfix 25147
Ton Roosendaal [Thu, 9 Dec 2010 16:15:51 +0000 (16:15 +0000)]
Bugfix 25147

Graph editor: operator poll for 'active curve' didn't check for
visibility flag, caused tool like ctrl+click to still work.

10 years agoBugfix #25120 and #25119 and numerous future bugs!
Ton Roosendaal [Thu, 9 Dec 2010 15:49:05 +0000 (15:49 +0000)]
Bugfix #25120 and #25119 and numerous future bugs!

Two isses:
- Material assigning to MetaBalls used wrong pointer
  (copy paste error, casting badly).
- Checking for node-material used wrong RNA pointer
  (confusing void stuff going on here!)

The error leads to corruption in data and/or random
crashes. Better update svn now!

10 years agoProblem with FCurve pasting reported by Rob Garlington.
Campbell Barton [Thu, 9 Dec 2010 11:49:38 +0000 (11:49 +0000)]
Problem with FCurve pasting reported by Rob Garlington.
- Pasting from 1 fcurve to any other fcurve now works (skip index and rna path checking).
- Pasting multiple fcurves between bones now works.
- If path checking fails, pasting matches indices so Scale XYZ can be pasted into Location XYZ for eg.

10 years agoremoving BLF_types.h from CMakeLists.txt
Dalai Felinto [Thu, 9 Dec 2010 07:05:09 +0000 (07:05 +0000)]
removing BLF_types.h from CMakeLists.txt

10 years ago- internal py/rna ifdef's USE_MATHUTILS was mixed up,
Campbell Barton [Thu, 9 Dec 2010 06:08:19 +0000 (06:08 +0000)]
- internal py/rna ifdef's USE_MATHUTILS was mixed up,
- updated tooltip for vertex group mirror.

10 years agoAdd the possibility to set a 4x4 matrix to be used on blf.
Diego Borghetti [Thu, 9 Dec 2010 04:36:58 +0000 (04:36 +0000)]
Add the possibility to set a 4x4 matrix to be used on blf.

This option allow the user to set a 4x4 matrix to be
multiplied before draw the text, for example:

double *m;

/* Get the matrix or build it! */


/* set color, size, etc and draw! */


You don't need the last line (disable), but remember
that if you use the font to draw in any other place,
the matrix will be used!.

The GL code is:



Let's Dalai test this!!! :D

10 years agobugfix [#25104] Identical material settings render differently
Campbell Barton [Thu, 9 Dec 2010 03:22:03 +0000 (03:22 +0000)]
bugfix [#25104] Identical material settings render differently
- Use Old Bump option wasn't available.
- noise_intensity wasn't visible for MULTIFRACTAL musgrave textures.

10 years agoTesting commit! Remove an empty file.
Diego Borghetti [Thu, 9 Dec 2010 01:05:06 +0000 (01:05 +0000)]
Testing commit! Remove an empty file.

10 years agoAdded a few descriptions that were missing.
Kent Mein [Wed, 8 Dec 2010 21:56:50 +0000 (21:56 +0000)]
Added a few descriptions that were missing.
This is a little bit of todo item:
[#24814] Operators which have no decription


10 years agoUI Cleanup: Halo materials and textures
Janne Karhu [Wed, 8 Dec 2010 20:10:59 +0000 (20:10 +0000)]
UI Cleanup: Halo materials and textures
* Textures applied to halo materials showed influence option for normal particles. This was really confusing, and with the cleanup I revealed a couple of hidden features too!
** Particles actually allow for textures to change halo size and hardness, but my guess is that nobody knew since the names were wrong in the ui!
** I also added the option to change the "add" value with a texture, since it was just silly not to have it.
* Halo material properties are also a bit cleaner now.

10 years agoBugfix #20598
Ton Roosendaal [Wed, 8 Dec 2010 18:12:59 +0000 (18:12 +0000)]
Bugfix #20598

Armature editmode: Circle select didn't flush selections, causing
the center part of bones to remain unselected.

10 years agoBugfix #25099
Ton Roosendaal [Wed, 8 Dec 2010 17:51:25 +0000 (17:51 +0000)]
Bugfix #25099

Outliner: group view: restrict buttons should be disabled in editmode.

10 years agoincrease grease pencil user count when copying objects.
Campbell Barton [Wed, 8 Dec 2010 14:40:14 +0000 (14:40 +0000)]
increase grease pencil user count when copying objects.

10 years agoBugfix #25086
Ton Roosendaal [Wed, 8 Dec 2010 13:19:27 +0000 (13:19 +0000)]
Bugfix #25086

The texture node is procedural; like RGB node it has no real buffers,
but allows per-pixel reading. The compositor uses nodes that directly
access buffers too, which conflicts with it... needs more design here.

Restored old functionality that just passes on preview size buffers
for nodes to prevent crashes. Giving it a render-size buffer is not
nice; the resolution-independence of texture nodes is interesting to

Solution could be:
- visually tag input/output sockets for this case (sockets with buffers,
  vs sockets with values), so users know what to expect.

10 years agometaball rotations must be kept normalized, normalize values after setting from rna...
Campbell Barton [Wed, 8 Dec 2010 13:02:16 +0000 (13:02 +0000)]
metaball rotations must be kept normalized, normalize values after setting from rna/python.

10 years agoremove contents from the svn cleanup file. not used now and could turn up results...
Campbell Barton [Wed, 8 Dec 2010 11:44:38 +0000 (11:44 +0000)]
remove contents from the svn cleanup file. not used now and could turn up results with source searches.

10 years agopedantic word ordering change.
Campbell Barton [Wed, 8 Dec 2010 11:42:11 +0000 (11:42 +0000)]
pedantic word ordering change.
- wm.add_modal_handler -> modal_handler_add
- wm.add_fileselect -> fileselect_add
- ob.add_shape_key -> shape_key_add
- VIEW3D_OT_add_background_image -> VIEW3D_OT_background_image_add (same for remove)

Also made 2 internal cmake vars hidden.

10 years agoBug fix: normal (from particles) child particles didn't use the rough parameters...
Janne Karhu [Wed, 8 Dec 2010 11:02:56 +0000 (11:02 +0000)]
Bug fix: normal (from particles) child particles didn't use the rough parameters properly
* Also child particles didn't do particle trail properly.