Commit Graph

24717 Commits

Author SHA1 Message Date
Sergey Sharybin
6f5f4283fd Fix #26781: Assigning multiple Materials to Text seems not to work correctly
Problems was in 0-based numbering vs. 1-based. Fonts are getting converted to
displists when they're displaying and here base conversion happens, so no need
in conversion when assigning material to selected text.

This makes indices more inconsistant, but saves compatibility in both of
directions. Maybe in further releases we'll make indices consistent.
2011-04-04 16:19:18 +00:00
Sergey Sharybin
e8ea4411f8 Fix for redraw issues when making fast strokes with grab tool in sculpt mode
Join redraw rectangles from previous step and current during one stroke
and reset previous rectangle when stroke is finished. This shouldn't cause problems
with viewport changes during the sculpt session and this should emulate
object boundbox merging for states "before step" and "after step".

At leastm it's more logical because boundbox could not only grow up during
stroke, but it could also shrink down.
2011-04-04 15:15:45 +00:00
Campbell Barton
25976b7b87 crash fix: screen context editable_bones & visible_bones were not checking for armature type object first. 2011-04-04 15:13:37 +00:00
Ton Roosendaal
8d1a04a2bb UI fix:
On dark menu backgrounds, the labels for Option buttons were not using
the theme colors for 'text on menu backdrop'.
2011-04-04 15:01:22 +00:00
Ton Roosendaal
f2fd9d11bc Bugfix #26761
Texture preview render now doesn't increment/decrement material->texture
user counts anymore. Blenders library.c code could use some overhaul
once to support data relinkage and copying around better. :)
2011-04-04 13:47:34 +00:00
Janne Karhu
36858f6342 Fix for [#26747] Crash accessing dynamic hair RNA
* Removed hairkey.co_dynamic. The hairkey access is now simplified so that hairkey.co are the dynamic coordinates whenever the hair is dynamic.
2011-04-04 13:47:28 +00:00
Janne Karhu
5b996e04d2 Fix for [#26750] Particles Can Only Address first 16 Material Indexes
* The rna maximum hadn't been updated when the maximum material count was increased.
2011-04-04 13:33:31 +00:00
Brecht Van Lommel
709e4b309e Revert mesh recalculation change that gives different vertex normals based
on smooth/flat flag on faces. This does give better results for low poly
game models, but there's just too much functionality that depends on this
(modifiers, displacey, editmode tools, extrude, ...), that there's not
enough time to fix these before the release.
2011-04-04 13:02:12 +00:00
Campbell Barton
dfa3a6fc84 fix [#26774] Grease Pencil error?
own error with recent change to grease pencil.
2011-04-04 09:22:06 +00:00
Campbell Barton
57d020f061 fix [#26756] "Release confirms" breaks marker functionality in Timeline 2011-04-04 07:42:08 +00:00
Campbell Barton
233d8594fc [#26768] 2.57 - sys.path not initialized properly
we should document this properly (we only have general design docs atm), for now just correct the tooltip.

also update api example docs.
2011-04-04 05:47:04 +00:00
Campbell Barton
4ea7e562f8 rename mathutils.Vector/Quaternion difference() method to rotation_difference() since its too vague when applied to vectors. 2011-04-04 05:17:23 +00:00
Campbell Barton
188d830385 fix [#26765] seperate selection removes all seams from the new /seperated object.
patch from Sergy to copy the draw flags, also copy smooth threshold and other flags todo with editing / draw settings.
2011-04-04 04:54:41 +00:00
Campbell Barton
91769a65f2 remove unused DNA from mesh, effects list & cubemap size. 2011-04-04 04:47:18 +00:00
Campbell Barton
a3cc6c73e8 noticed image color info text was impossible to read at 25% alpha with some images, set alpha level higher. 2011-04-04 04:14:25 +00:00
Campbell Barton
37007a7bc8 disable continuous grab in the header, its more annoying then useful.
also NULL texture's point density tree data when copying to prevent possible double free.
2011-04-04 03:25:05 +00:00
Campbell Barton
b344d80726 fix crash with previewing point density colorband, it wasnt being copied with the texture but was freed, making blenders own data point to freed memory.
found in bug report [#26767].
2011-04-03 23:35:20 +00:00
Campbell Barton
65b13c8089 fix [#26757] Python console: help() doesn't work anymore
also quiet some warnings & add docstrings to bpy module which was shaowing the GPL header in its help() message.
2011-04-03 23:11:00 +00:00
Campbell Barton
c118d644d9 fix [#26760] Crash on voxel data image sequence file datablock unlink 2011-04-03 22:24:05 +00:00
Sergey Sharybin
a30ebdeb68 Fixed invalid RNA access in radial brush operators (like strength/size abjustment) 2011-04-03 20:00:19 +00:00
Ton Roosendaal
3fb74f8e59 Startup.blend update
- make outliner search unrestricted
  - clip-end not on 5000 (zbuffer errors), but on 1000
  - disabled continious grab
  - "duplicate action" default on
  - addon svg import default on
2011-04-03 16:55:58 +00:00
Brecht Van Lommel
993e9d4c46 Image pixel acces, through Image.pixels as floating point values.
It's not the most efficient solution, but this can be optimized later. It's
best to copy out all the pixels at once into a list, rather than accessing
them one by one.
2011-04-03 16:17:39 +00:00
Brecht Van Lommel
480b9dca64 Add material slot now adds no material in the new slot.
It's obviously much better than the two previous behaviors, since you don't
get confusing linked materials, and you don't have useless added materials.
2011-04-03 16:11:21 +00:00
Campbell Barton
4c44a1fc04 quiet warnings. 2011-04-03 13:17:07 +00:00
Campbell Barton
5932cec2c6 temp fix for building with msvc2010, this changes recently and gave mingw/msvc2010 troubles 2011-04-03 12:31:53 +00:00
Campbell Barton
0298d223cc quiet various warnings, also disable -Wdouble-promotion with cmake since it gives warnings with variable length args. 2011-04-03 10:04:16 +00:00
Campbell Barton
5c8234c81c replace while loops with angle_wrap_rad() 2011-04-03 05:29:58 +00:00
Thomas Dinges
2c3b4a91dc Committing patch [#26740] Interface improvement for toolbar by Brecht. Thanks!
This patch makes the bool properties inside the toolshelf more compact, only 1 row per item now. :)
2011-04-02 16:45:17 +00:00
Ton Roosendaal
447c73d639 IRC report: Proportional editing tooltip lacked, and missed info for
the menu items.
2011-04-02 16:29:33 +00:00
Ton Roosendaal
b85013e1ec Bugfix #26736
Operator "New Image" cannot be redone simply, undo system keeps images
around, and each redo will create new block. Removed it from being
registered for redos.

Also: fix up for default operator names to be complete, and not just
"new" or "load". If we want contextual shortening of operator names
(like in Image menu), that should be handled seprately, automatically,
or anything we can sanely come up with that will suit any possible
language as well.
2011-04-02 15:30:58 +00:00
Martin Poirier
371a7b477d Fix register method order. Was broken when Campbell moved it to the C implementation.
register has to be called AFTER the type is registered while unregister has to be called BEFORE it's unregistered.
2011-04-02 14:58:58 +00:00
Ton Roosendaal
89dea61c17 Bugfix #26731
Hotkey operator "Toggle full screen layout" restored previous layout
wrongly when mouse in was top header.
2011-04-02 14:11:13 +00:00
Thomas Dinges
a5804c2e60 [#26719] Fix AAO Tooltips by Sergej Reich (sergof). Thanks! 2011-04-02 12:54:17 +00:00
Campbell Barton
d85279e58c move grese pencil layers[i].active (boolean) -> layers.active (GPencil Layer). 2011-04-02 11:06:41 +00:00
Campbell Barton
3bc59fe771 fix [#26732] Colorband bug with compositing.
reported on IRC but submitted to the tracker for example file reference.
2011-04-02 07:04:34 +00:00
Campbell Barton
f1b42a129f add angle wrapping functions: angle_wrap_rad(), angle_wrap_deg().
use with mathutils.
2011-04-02 03:05:49 +00:00
Campbell Barton
69bd72c3b6 quiet gcc float -> double promotion warnings. 2011-04-02 02:08:33 +00:00
Campbell Barton
fb994b3c85 fix [#26727] Make Proxy ignores group offset 2011-04-02 01:36:40 +00:00
Thomas Dinges
1f7ed6a931 2.5 Weight Paint UI:
* Added menu entry for "Set Weight" Tool. Request by venomgfx :)
2011-04-01 22:19:03 +00:00
Thomas Dinges
367cf47dd6 2.5 UI:
*Brush option "size" had different naming in 3D View / Image Editor.
Ported back name "Radius" to RNA (Brush and ParticleBrush) 

Discovered by Bart Crouch. Thanks!
2011-04-01 20:36:27 +00:00
Sergey Sharybin
d40b0dfb75 Comments for mesh normals calculation from Mortem Mikkelsen (aka sparky).
We hope it'll help for further workers in this area!
2011-04-01 18:35:49 +00:00
Brecht Van Lommel
18fd4d3137 Partial fix for #26673: sss + normal map wasn't compatible with previous versions. 2011-04-01 16:01:29 +00:00
Campbell Barton
3ddbb36fa7 modification to api docs so release point to:
http://www.blender.org/documentation/blender_python_api_2_57b_release

Development versions point to:
   http://www.blender.org/documentation/blender_python_api_2_57_0

This way updates to api docs after release wont overwrite release docs.
2011-04-01 15:13:58 +00:00
Ton Roosendaal
339c6c4a51 Bugfix #26691
"Theme default" missed a couple of new colors still.
2011-04-01 15:08:45 +00:00
Campbell Barton
b94a5e7f02 fix problem with recent commit [#26717] X-Ray conflict (X-Ray Grease Pencil and Object X-Ray) 2011-04-01 14:14:37 +00:00
Campbell Barton
a4193184bf - bpy.app.release so python scripts can check if the release is stable or not.
- edited pose bone matrix description.
2011-04-01 14:04:26 +00:00
Ton Roosendaal
00fe87c84b Bugfix #26672
Minor glitch: Add Camera operator showed option "view aligned", 
but that doesn't work for camera. Is now hidden.
2011-04-01 13:56:01 +00:00
Ton Roosendaal
e725f1cf95 Bugfix #26654
A lot of UV tools only work in Image editor, but the operator polls
allowed them to be used in 3d window too, causing crashes in cases.

Also added a poll() check in F6 redo menu.
2011-04-01 12:51:04 +00:00
Joshua Leung
2bd22ec559 Animation Editors: Name-based filtering
I'm finally yielding to months of feature requesting, and adding
support for filtering F-Curves by name, where the "name" here is the
text which is displayed for each F-Curve in the Animation Editor
channel lists.

To use, just enable the magnifying-glass toggle on the DopeSheet
filtering settings, and enter a snippet of text to find within the
names of channels you wish to filter. This is case insensitive, and
currently doesn't support any wildcard/regrex fanciness.

Some examples:
loc  <--- location curves only
x loc <--- x location curves only
x eul <--- x rotation curves only
rot <--- rotation curves only
etc.
2011-04-01 12:21:41 +00:00
Campbell Barton
94ec34fb04 xray option for grease pencil (on by default), sometimes its nicer not to have lines draw through the mesh. 2011-04-01 11:55:21 +00:00