Commit Graph

24752 Commits

Author SHA1 Message Date
Campbell Barton
fefb044293 for thumbnail generation only scale the byte buffer. (was scaling float & byte). 2011-04-08 03:56:15 +00:00
Campbell Barton
b305a26d2f fix for own assert with image scaling, wasnt working with float images. 2011-04-08 03:53:40 +00:00
Campbell Barton
b0d6c0fdee fix [#26830] Blender crashes when opening this file
was linking NLA fcurve modifiers as fcurves (wrong function call).
2011-04-08 02:21:43 +00:00
Campbell Barton
6b3f5ecd18 change to fcurve keyframe coords broke simplify addon since the property
was no longer wrapped by python as a vector. now fixed size float arrays
with PROP_NONE subtype are wrapped as vectors since its convenient to
have x/y access.
2011-04-08 01:40:54 +00:00
Ton Roosendaal
ba44bf522c Bugfix #26812
On anim-render, a click in timeline stopped render completely.

The reason for this was a bit wacko code to cope with frame-step 
feature (steps of multiple frames).

I thought of fixing that, but instead decided to block any operator 
in Blender to change a frame while a render is in progress. 
Both render engine and UI are accessing (writing to) the same 
data then, which is a bad conflict.

Still a serious weakness of threaded render, but I'll keep
trying to allow this as far as possible :)
2011-04-07 15:48:33 +00:00
Ton Roosendaal
545b0a483d Bugfix #26748
Boolean modifier should be restricted to Mesh objects only.
2011-04-07 13:14:08 +00:00
Ton Roosendaal
5c2b8baa4b Minor fix, own collection.
Knife cut operator was using int_get where enum_get was meant.
2011-04-07 12:36:24 +00:00
Campbell Barton
3e5e49d902 add margin access [#26806] Missing pack margin for pack islands in UV editor 2011-04-07 08:54:43 +00:00
Campbell Barton
24d6192f53 fix [#26816] P(separate) an object messes up logic brick links 2011-04-07 08:23:00 +00:00
Dalai Felinto
4fb7f6a706 build fix after commit 36036 reported by Tom Edwards over mailing list 2011-04-06 22:03:02 +00:00
Brecht Van Lommel
0a9ec053c0 Fix for Image.pixels set, buffer was not tagged as modified, patch by Domino Marama. 2011-04-06 12:54:47 +00:00
Sergey Sharybin
dbe3369ae2 Name unification commit for console toggling operator.
Requested by Dalai, approved by Campbell. Other requested from Dalai
changes were rejected by our Python Departament.
2011-04-06 12:30:07 +00:00
Sergey Sharybin
11efce450d Fixed incorrect RNA access when changing type of sequencer view 2011-04-06 07:24:58 +00:00
Campbell Barton
696e7a311a include needed for windows 2011-04-06 06:29:10 +00:00
Campbell Barton
083f8d3a0a cmake/windows, temporarily build without winblender.rc until its fixed, was giving linking error with msvc2010 and isn't essential info. 2011-04-06 06:11:39 +00:00
Campbell Barton
a7507e945d fix [#26803] Libs paths are case sensitive in windows
use case insensitive path comparison on windows: BLI_path_cmp
2011-04-06 06:03:48 +00:00
Campbell Barton
5c7bed92d4 fix for cmake glew includes (tested with mingw), also made qtcreator project generator work with mingw again 2011-04-06 03:02:40 +00:00
Campbell Barton
4b15fcf497 fix [#26801] Undoing Animation modifiers undoes 2 steps.
also found grease pencil layer operators were not flagged to use undo.
2011-04-06 01:13:01 +00:00
Campbell Barton
751bbd0b6a update test checksums (change in normals caused this). also make all imports write blend files so its easy to check what the imports look like. 2011-04-06 00:46:06 +00:00
Campbell Barton
ca254dd37b add option WITH_BUILTIN_GLEW, so linux packagers can disable to use their own glew library. 2011-04-05 23:31:01 +00:00
Campbell Barton
b6a1df337d tooltips were part way of the bottom of the screen (timeline play button for eg) 2011-04-05 12:05:47 +00:00
Joshua Leung
bbf82877cf Bugfix [#26792] blender crash when scaling action strip in NLA
Two part bug:
Part 1) NLA Editor menu was calling wrong operator
Part 2) r35829 broke NLA scaling, since it only checked that the
transform mode used was allowed in the Action Editor (probably
confused by Part 1)
2011-04-05 11:04:00 +00:00
Campbell Barton
1f45f5c15d fix [#26793] Is the Convert function of Grease Pencil normal?
disallow grease pencil conversion in editmode, was setting a new active object.
2011-04-05 08:54:13 +00:00
Campbell Barton
8f4343cb30 fix for render only drawing wire curves in wire view. 2011-04-05 07:26:22 +00:00
Campbell Barton
2b90eb18e2 Commit r33378 adds a red alert to search buttons which have items which are not in the list.
Disable this for pointer buttons since this was intended for vgroups & uvlayers.

Pointer buttons often reference ID's which can be in the 1000+, lookups like this on each button draw is not useful since invalid pointers here will likely crash on scene evaluation.
2011-04-05 07:13:23 +00:00
Campbell Barton
dcb26e4e47 fix [#26782] Missing settings in some texture nodes.
also rename noisebasis_2 --> noise_basis_2
2011-04-05 06:05:55 +00:00
Campbell Barton
db6ea4d3a5 utility function for getting the vector direction the mouse is pointing in a perspective view. 2011-04-05 02:58:19 +00:00
Campbell Barton
162d02bf50 quiet warning & minor pep8 edits. 2011-04-04 22:42:43 +00:00
Campbell Barton
b3bc0040d8 fix [#26785] Curve shows in 3dview regardless of "Only Render" 2011-04-04 22:40:56 +00:00
Andrea Weikert
257c408f46 == filebrowser ==
Small fix for recent folders in filebrowser, didn't save correctly when too many folders in the list (more than the currently allowed 10), now skips the oldest entries.
Reported on IRC.
2011-04-04 20:32:39 +00:00
Sergey Sharybin
83931775a1 Descriptions for some of curve operators 2011-04-04 20:31:01 +00:00
Brecht Van Lommel
3303b838c6 Fix for the fix, making hurried last minute changes is not a good idea :) 2011-04-04 17:28:31 +00:00
Brecht Van Lommel
7b9fed7392 Fix for slow Image.pixels, make it a flat instead of multidimensional array. 2011-04-04 17:10:48 +00:00
Brecht Van Lommel
35c934af79 Fix mistake in recent commit to revert some normal changes. 2011-04-04 17:09:22 +00:00
Ton Roosendaal
89e4de45e4 Startup.blend update:
- Clip in 3d window now 1000 (2nd try :)
- Raytrace "Instances" default
2011-04-04 16:58:17 +00:00
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