10 years agofix for cmake flag detection, was not caching the resulting variable so the test...
Campbell Barton [Tue, 21 Dec 2010 03:32:51 +0000 (03:32 +0000)]
fix for cmake flag detection, was not caching the resulting variable so the test ran each time.
also cache SSE, SSE2 checks.

10 years agoWorkaround for blenderplayer not linking on linux with scons.
Nathan Letwory [Tue, 21 Dec 2010 00:21:42 +0000 (00:21 +0000)]
Workaround for blenderplayer not linking on linux with scons.

Maybe as a next big, uncool project would be: solve bad level calls.

10 years agomodified fix for commits r33811, 33812.
Campbell Barton [Mon, 20 Dec 2010 23:26:29 +0000 (23:26 +0000)]
modified fix for commits r33811, 33812.

- SSS Presets were not working on pinned materials.
- added ability for save-presets to define variables to stop them becoming too verbose.
- remove object.active_node_material

10 years agouse uppercase for axis chars, used in BLI_math and other parts of blender.
Campbell Barton [Mon, 20 Dec 2010 23:21:33 +0000 (23:21 +0000)]
use uppercase for axis chars, used in BLI_math and other parts of blender.

10 years agoFix #25315: Curve points keyframe changes made in edit mode get lost
Sergey Sharybin [Mon, 20 Dec 2010 19:47:16 +0000 (19:47 +0000)]
Fix #25315: Curve points keyframe changes made in edit mode get lost

ED_curve_updateAnimPaths now updates fcurves from animation data rather than
from local copy of curves: nurb and point index from keyIndex data gets
updated in this function and for correct handling undo stuff copy of
fcurves is stored in UndoCurve.

Additional changes:
- Revert of rev33640 and more proper fix: do not copy remained
  spline-related rna fcurves after renaming pathes but all the rest
  fcurves woulddbe copied back to animation data
- Refresh graph and dopesheet editor after updating animation data

10 years agoBugfix #25308
Ton Roosendaal [Mon, 20 Dec 2010 19:09:22 +0000 (19:09 +0000)]
Bugfix #25308

Border or other selection tools didn't redraw action editor, when
option "only show selected" was set. Was missing area tagging.

10 years agoSmall UI fix
Ton Roosendaal [Mon, 20 Dec 2010 18:57:59 +0000 (18:57 +0000)]
Small UI fix

Image texture "repeat" options now greay out when not active.
Thanks Mario Kishalmi for the patch :)

10 years agoBugfix #25312
Ton Roosendaal [Mon, 20 Dec 2010 18:54:32 +0000 (18:54 +0000)]
Bugfix #25312

"Make Local" option "Objects and Data" made materials get
lost on save, the tagging was incorrect. Now it makes
Materials local too.

Implementation note: the code is new (not 2.4) so it misses
some of the hairy goodies we had. It's something for another
time to really make this reliably work.

10 years agoBugfix, own collection:
Ton Roosendaal [Mon, 20 Dec 2010 18:29:32 +0000 (18:29 +0000)]
Bugfix, own collection:

File Window draw error:
On start Blender in smaller sized window, a scalled down screen
causes the File Window main area to draw too high, clipping off
half of the top line. This case (scroll horizontal only) is not
handled as view2d type.

10 years agoFix for last own commit: missed mode check in addvert_Nurb, so
Sergey Sharybin [Mon, 20 Dec 2010 17:42:17 +0000 (17:42 +0000)]
Fix for last own commit: missed mode check in addvert_Nurb, so
blender was crashing when user tries to extrude (with e-button)
when nothing was selected.

10 years agoBugfix #25313
Ton Roosendaal [Mon, 20 Dec 2010 15:39:00 +0000 (15:39 +0000)]
Bugfix #25313

Outliner "show active" now also works for elements hidden in
closed items. (Coordinates were not set)

10 years agoBugfix: new strict code for UI_make_axis_color() caused constraint
Ton Roosendaal [Mon, 20 Dec 2010 13:57:52 +0000 (13:57 +0000)]
Bugfix: new strict code for UI_make_axis_color() caused constraint
lines in Transform to not draw.

10 years ago3D ortho view: the axes lines of grid had wrong color for X.
Ton Roosendaal [Mon, 20 Dec 2010 13:32:26 +0000 (13:32 +0000)]
3D ortho view: the axes lines of grid had wrong color for X.
Thanks Mario Kishalmi for the report :)

10 years agoBugfix: material SSS presets now copy correctly to the displayed
Ton Roosendaal [Mon, 20 Dec 2010 13:03:03 +0000 (13:03 +0000)]
Bugfix: material SSS presets now copy correctly to the displayed
material (in case it has nodes)

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

Material Node trees:
SSS wasn't displaying in Nodes.

Implementation notes:
- Currently copying local data for preview render, only copies
  the base material. Node materials are re-used.
- This causes data to be in 2 "main" databases... complex.
- To make it work for preview, I had to add another loop in the
  SSS code that checks the original Main dbase. That's marked
  as warning in code to be fixed up.

Another bug:
- Material properties "SSS presets" copied settings to the
  active material, not to the displayed one. Added RNA call
  to retrieve this from Objects.

(Next commit will fix preset scripts)

10 years agoBugfix #25307
Ton Roosendaal [Mon, 20 Dec 2010 11:33:52 +0000 (11:33 +0000)]
Bugfix #25307

Node shaders + textures, showing in Texture properties, with option
"show both previews" had bad ID checking.

10 years agosimple make wrapper to give quiet output. (more like nan-makefiles)
Campbell Barton [Mon, 20 Dec 2010 11:21:29 +0000 (11:21 +0000)]
simple make wrapper to give quiet output. (more like nan-makefiles)

10 years agoBugfix #25309
Ton Roosendaal [Mon, 20 Dec 2010 11:08:29 +0000 (11:08 +0000)]
Bugfix #25309

Code cleanup to allow switching active output nodes in Compositor
made shader nodes output not set correctly.

Now you can have multiple output nodes in shaders too, and switch
on click-activate.

10 years agoMisleading defaults for smoke flow particle system:
Janne Karhu [Mon, 20 Dec 2010 10:23:23 +0000 (10:23 +0000)]
Misleading defaults for smoke flow particle system:
* Show unborn was on by default, so smoke got emitted from all particles regardless of their birth time, not a good default in my opinion.
* What made things worse was that particles weren't shown in viewport, so you didn't even know the particles were considered alive from the very first frame! (Not rendering is a good default, but they should still be visible in viewport!)

10 years agofix [#25313] Outliner View Active only works once icon has been shown in view.
Campbell Barton [Mon, 20 Dec 2010 09:51:18 +0000 (09:51 +0000)]
fix [#25313] Outliner View Active only works once icon has been shown in view.
also disable UNDO and REGISTER flags for OUTLINER_OT_show_active() since its just scrolling the view.

10 years agohigher precision for wright & radius button.
Campbell Barton [Mon, 20 Dec 2010 09:46:30 +0000 (09:46 +0000)]
higher precision for wright & radius button.

10 years agochange the resolution for new surfaces to 4x4, since 12x12 used to be the total numbe...
Campbell Barton [Mon, 20 Dec 2010 07:45:24 +0000 (07:45 +0000)]
change the resolution for new surfaces to 4x4, since 12x12 used to be the total number of subdivisions along the U/V of the nurbs surface but now its multiplied by the number of segments.

10 years agobugfix [#25310] Twice applied modifier with Convert to mesh with several multi-user...
Campbell Barton [Mon, 20 Dec 2010 07:21:08 +0000 (07:21 +0000)]
bugfix [#25310] Twice applied modifier with Convert to mesh with several multi-user objects

10 years agobugfix [#25238] Render image window edits UV's
Campbell Barton [Mon, 20 Dec 2010 05:26:25 +0000 (05:26 +0000)]
bugfix [#25238] Render image window edits UV's

10 years agofix [#25283] Edge length display difficult to read
Campbell Barton [Mon, 20 Dec 2010 03:59:22 +0000 (03:59 +0000)]
fix [#25283] Edge length display difficult to read
- made theme colors for mesh edge len & face angle/area display.
- use %g rather then %f for float display, trims unneeded zeros.
- store cached 2d and 3d text color as bytes rather then floats, compare when drawing to avoid setting the context.
- use unsigned char for more color functions, avoids casting to glColorubv().

10 years agoApply [#25297] Fix for [#23765]
Nathan Letwory [Sun, 19 Dec 2010 20:40:52 +0000 (20:40 +0000)]
Apply [#25297] Fix for [#23765]
Bug reported by alarionfirn
Patch submitted by Jeroen Bakker

It took the read the N+N of the uv-layer, it should be the Nth uv layer.

10 years agoApply [#25296] Fix for [#24636]
Nathan Letwory [Sun, 19 Dec 2010 20:23:30 +0000 (20:23 +0000)]
Apply [#25296] Fix for [#24636]
Bug reported by Dominique Lorre
Fix submitted by Jeroen Bakker

When importing COLLADA files, the name of a custom data layer can be longer than 32 bytes. Make sure only 32 bytes are copied.

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

Preview render for node shaders broke, caused by localizing
materials last week, to prevent thread crashes. Fixed now.
Also added a temp fix to draw color-management corrected
node previews default. Will follow scene setting tomorrow.

Also: SSS in nodes doesn't render yet. Was issue in 2.4 too...

10 years agoMade ctrl-point curve extruding more consistent with mesh edit mode:
Sergey Sharybin [Sun, 19 Dec 2010 19:22:17 +0000 (19:22 +0000)]
Made ctrl-point curve extruding more consistent with mesh edit mode:
when nothing is selected but active spline is set or when "middle"
control point is selected new spline would be created.

Nothing wull happen when there is no selection and no active spline
due to it's unclear which kind of spline should be added.

10 years agoPatch from Dan to use id user functions rather then accessing direct. also use warnin...
Campbell Barton [Sun, 19 Dec 2010 16:34:58 +0000 (16:34 +0000)]
Patch from Dan to use id user functions rather then accessing direct. also use warning fix using const for RNA_parameter_set() arg.

10 years agoCMake RelWithDebInfo uses python31.dll, not python31_d.dll
Campbell Barton [Sun, 19 Dec 2010 16:09:24 +0000 (16:09 +0000)]
CMake RelWithDebInfo uses python31.dll, not python31_d.dll

10 years agoTodo item:
Ton Roosendaal [Sun, 19 Dec 2010 15:03:27 +0000 (15:03 +0000)]
Todo item:

Compositor: if you have multiple Composite-Out nodes, a click will
activate it for use. Just like viewer nodes.

10 years agoTodo item: (Luca report in IRC)
Ton Roosendaal [Sun, 19 Dec 2010 14:39:36 +0000 (14:39 +0000)]
Todo item: (Luca report in IRC)

Pulldown and other popup menus: this button type exits on release.
While holding mouse you then can move around, but the highlight of button
didn't disappear if you were outside item. The menu then doesn't close
when you release the mouse.
Now highlight goes on/off on mouse moves to show this better.

Implementation note: menu items are coded similar to regular activate
buttons (like for tools). There's no provision to make highlights go
to the next item while holding mouse in menus. That I rather not mess
with now.

10 years agoAnother single-user case: the ID buttons (browse, name, users),
Ton Roosendaal [Sun, 19 Dec 2010 14:07:50 +0000 (14:07 +0000)]
Another single-user case: the ID buttons (browse, name, users),
click on user-number 'make single user' now also makes animation

10 years agoFix for [#25175] bge.logic.mouse.position[1] wrong when using autostart
Joerg Mueller [Sun, 19 Dec 2010 13:56:02 +0000 (13:56 +0000)]
Fix for [#25175] bge.logic.mouse.position[1] wrong when using autostart

10 years agoOption "Make Single user" now also makes animations local.
Ton Roosendaal [Sun, 19 Dec 2010 13:50:31 +0000 (13:50 +0000)]
Option "Make Single user" now also makes animations local.
Note that the menu option "Animation" only was working for
Object level animations, so I've changed the many name

10 years agoPy UI fix: options for "Single user" had different names than the operator itself.
Ton Roosendaal [Sun, 19 Dec 2010 13:48:45 +0000 (13:48 +0000)]
Py UI fix: options for "Single user" had different names than the operator itself.

10 years agofix for own error [#25299] custom properties not showing in viedw3d panel
Campbell Barton [Sun, 19 Dec 2010 13:04:14 +0000 (13:04 +0000)]
fix for own error [#25299] custom properties not showing in viedw3d panel
error made when fixing id pinning, for non-properties space.

10 years agobug [#25292] No undo scale with sculpt mode
Campbell Barton [Sun, 19 Dec 2010 12:38:20 +0000 (12:38 +0000)]
bug [#25292] No undo scale with sculpt mode
applies to project paint too, added with comment.

10 years agouser report renaming file fails, print the errno error message.
Campbell Barton [Sun, 19 Dec 2010 12:32:33 +0000 (12:32 +0000)]
user report renaming file fails, print the errno error message.

10 years agoBugfix #25288
Ton Roosendaal [Sun, 19 Dec 2010 11:39:55 +0000 (11:39 +0000)]
Bugfix #25288

SSS preview render didn't happy.
Was caused by using a Material copy for preview renders (to prevent
crashing in other cases). There were actually 2 errors:
- material copy should be added to preview-main database
- the render was invoked using wrong main database even!

10 years agoBugfix [#25298] Nasty group cycle that creates crash blend files is
Joshua Leung [Sun, 19 Dec 2010 10:38:02 +0000 (10:38 +0000)]
Bugfix [#25298] Nasty group cycle that creates crash blend files is

Infinite recursion (manisfesting as a crash) occurred when trying to
set the dupli-group setting on an object, when the object is a member
of the group being set. Added a check and warning for this in RNA to
prevent such setups from occurring in future.

The warning report is currently only printed to console as I can't
quite remember how to grab reports pointer without context/operator
pointer available.

10 years agoBugfix #25292
Ton Roosendaal [Sun, 19 Dec 2010 09:41:41 +0000 (09:41 +0000)]
Bugfix #25292

In sculpt mode, Object transform still worked, which was:
1) Not undo-able (sculpt undo stack)
2) Clearing the entire sculpt undo stack on operator redo
3) Had keymap conflict for R

Simply added check for this case and return trans operator.

10 years agoanother reason to run makesrna needlessly every build is that the makesrna binary...
Campbell Barton [Sun, 19 Dec 2010 08:48:15 +0000 (08:48 +0000)]
another reason to run makesrna needlessly every build is that the makesrna binary is newer then the generated files.

10 years agobugfix [#25289] X3D export generates incorrect direction for SpotLight
Campbell Barton [Sun, 19 Dec 2010 07:40:08 +0000 (07:40 +0000)]
bugfix [#25289] X3D export generates incorrect direction for SpotLight

10 years ago fix for make-dupli-face operator & vector multiplication, tab/space error in last...
Campbell Barton [Sun, 19 Dec 2010 07:14:42 +0000 (07:14 +0000)]
 fix for make-dupli-face operator & vector multiplication, tab/space error in last commit.

10 years agobugfix [#25290] Align on text gives a traceback
Campbell Barton [Sun, 19 Dec 2010 07:05:29 +0000 (07:05 +0000)]
bugfix [#25290] Align on text gives a traceback
       [#25284] Traceback error on "System Info" script

- Align was only working on mesh objects, now operate on all objects, missing boundbox's are treated as single points.
- obj.bound_box was returning all nan's for object types with no boundbox.
- ENUM_FLAG type enums were showing no text when displayed in operator redo panel.

10 years ago[#25278] Ctrl-left click in beizer edit mode with no selection results
Joshua Leung [Sun, 19 Dec 2010 01:59:52 +0000 (01:59 +0000)]
[#25278] Ctrl-left click in beizer edit mode with no selection results
in crash.

This commit fixes the crash (missing null check for nu==NULL).

However, there is still a problem here with Curve Ctrl-Click not
behaving the same as Mesh EditMode Ctrl-Click, which adds a new vert
no matter what (i.e. no previous selection required). Then again,
that's a separate "todo" issue, so we can close this report now :)

10 years agoFix compilation, obvious typo.
Guillermo S. Romero [Sun, 19 Dec 2010 01:55:07 +0000 (01:55 +0000)]
Fix compilation, obvious typo.

10 years agoBugfix [#25221] Jump to Next/Prev keyframe doesn't work with
Joshua Leung [Sun, 19 Dec 2010 01:27:32 +0000 (01:27 +0000)]
Bugfix [#25221] Jump to Next/Prev keyframe doesn't work with

The jump to keyframes operator was being a bit too strict with its
checks for where it should check for keyframes.

In this particular case, RotoBezier keyframes were on Curve AnimData,
so the check for Object AnimData would return false, thus overlooking
this possibility. However, it should be safe enough to just open
things up a bit more.

10 years agoBugfix [#25291] Objects that should not have subsurface modifier have
Joshua Leung [Sun, 19 Dec 2010 01:14:57 +0000 (01:14 +0000)]
Bugfix [#25291] Objects that should not have subsurface modifier have
it (eg cameras)

When trying to add a modifier to non-geometry objects, warnings are
now shown instead of just adding some (useless) modifiers that cannot
be removed later.

10 years agoPointcache frame markers in timeline look a bit nicer if they are aligned exactly...
Janne Karhu [Sat, 18 Dec 2010 21:19:55 +0000 (21:19 +0000)]
Pointcache frame markers in timeline look a bit nicer if they are aligned exactly on frames.

10 years agoMistake in previous own commit, checking the wrong cache frame.
Janne Karhu [Sat, 18 Dec 2010 21:16:37 +0000 (21:16 +0000)]
Mistake in previous own commit, checking the wrong cache frame.

10 years agoFILTER="^\[[ 0123456789][ 0123456789][ 0123456789]\%] \|Linking \(C\|CXX\) static...
Ton Roosendaal [Sat, 18 Dec 2010 18:56:21 +0000 (18:56 +0000)]
FILTER="^\[[ 0123456789][ 0123456789][ 0123456789]\%] \|Linking \(C\|CXX\) static library\|Building \(C\|CXX\) object \|Built target "

Bugfix #25280

Image: sequence option was hardcoded to assume "first frame" was always
picture "001". Made it impossible to have a sequence of images starting
with picture like "000"

Note that by allowing to render a first frame as 000 in Blender, things
mess up a bit here. Things work now as follows:

- Start Frame = 1 : Image 001 on frame 1
- Start Frame = 0 : Image 001 on frame 0
- Start Frame =-1 : Image 000 on frame 0 ;)

This is of course the lack of proper control for image sequences.
Definite something to work on; best idea I have now is a new setting
that defines the Image Number to be "first frame". That way you can
map that number on any Blender frame. Or it makes it more confusing? :)

For the doc department: the proper meaning of "Start Frame" now is:

"The blender frame a sequence starts playing, assuming the sequence
starts with image #1"

Tooltop was fixed accordingly

(Also fixed 'remove doubles' to show more precision in toolbar)

10 years agoBug fix: some file browser buttons didn't return filename even though they were suppo...
Janne Karhu [Sat, 18 Dec 2010 16:52:17 +0000 (16:52 +0000)]
Bug fix: some file browser buttons didn't return filename even though they were supposed to
* It working before was actually a bug that got fixed by ton in r33663.
* Now the property subtype is correct and things work like they should.

10 years agoExtreme makeover of pointcache code:
Janne Karhu [Sat, 18 Dec 2010 15:03:31 +0000 (15:03 +0000)]
Extreme makeover of pointcache code:
* Pointcache code was quite ugly looking and complicated, so here are mostly just cosmetic adjustments, but some improved logic also.
* Slight cleanup of pointcache ui too.
* Shouldn't have any functional changes what so ever, so poke me right away if something seems off.

10 years agoFix for [#25282] Crash when weting initial mesh pressets with a smoke simulation
Janne Karhu [Sat, 18 Dec 2010 09:46:52 +0000 (09:46 +0000)]
Fix for [#25282] Crash when weting initial mesh pressets with a smoke simulation

10 years agoFix for mistake in own commit
Janne Karhu [Sat, 18 Dec 2010 09:32:27 +0000 (09:32 +0000)]
Fix for mistake in own commit
* Was a bit too eager to clean up, so all particles got reset when changing a particle value when animation was playing.

10 years agoworkaround for build system dependency hell, fixed for cmake + makefiles (probably...
Campbell Barton [Sat, 18 Dec 2010 09:27:08 +0000 (09:27 +0000)]
workaround for build system dependency hell, fixed for cmake + makefiles (probably other buildsystems too).

makesrna was often generating source every build, but not updating the files because the contents wasn't changed.

this happened because makefiles would check makesrna.c and rna_*.c files were newer then rna_*_gen.c and force a re-generation.

Now ensure updating the files even if they dont change when makesrna.c or rna_*.c are newer then rna_*_gen.c files.

Another solution for this would be to run makesrna program for each C file for finer grained deps.
or remove file comparison checks but that would mean a change to any rna_*.c file would rebuild all.

10 years ago- Rename operator "Set Curve Radius" to "Set Curve Weight" to "Set Goal Weight"
Sergey Sharybin [Sat, 18 Dec 2010 09:18:39 +0000 (09:18 +0000)]
- Rename operator "Set Curve Radius" to "Set Curve Weight" to "Set Goal Weight"
  as it was in 2.49 (functionality of this operator hasn't changed, but it's
  quite confusing name)
- Documentation for some curve operators

10 years agofix [#25262] Keyboard shortcut presets can't be made because of wrong folder
Campbell Barton [Sat, 18 Dec 2010 07:22:52 +0000 (07:22 +0000)]
fix [#25262] Keyboard shortcut presets can't be made because of wrong folder
New create option when getting a user resource for creating paths.
  bpy.utils.user_resource(type, path, create=False)

10 years agoFix for moving caret to the line beginning/ending when word-wrapping is enabled
Sergey Sharybin [Fri, 17 Dec 2010 20:24:13 +0000 (20:24 +0000)]
Fix for moving caret to the line beginning/ending when word-wrapping is enabled

10 years agoFix #25272: shrinkwrap with dependency cycle could lead to eternal
Brecht Van Lommel [Fri, 17 Dec 2010 20:13:54 +0000 (20:13 +0000)]
Fix #25272: shrinkwrap with dependency cycle could lead to eternal
loop and increasing memory usage.

Modifiers should never call mesh_get_derived_final or similar, only
use ob->derivedFinal if it exists, if the dependencies are set correct
and there are no cycles, it will be there.

10 years agoFix #25263: Text cursor click point is random.
Sergey Sharybin [Fri, 17 Dec 2010 19:58:02 +0000 (19:58 +0000)]
Fix #25263: Text cursor click point is random.

- Fixed some wierd cursor placements when clicking in special text position
  (mostly when line segments had null-terminator at the max allowed position)
- Also subtract top padding, so centering is looks a bit better

10 years agoDrag & drop feature:
Ton Roosendaal [Fri, 17 Dec 2010 19:05:34 +0000 (19:05 +0000)]
Drag & drop feature:
You now can drop a .blend inside blender window to open it.

Implementation notes:
- Added call to extract icon type for files. Code re-used from
- External files that get dropped set icon types too.
  Drop box polls can check for this.
- Also enabled setting op-context for drop operators, this was
  needed to prevent filewindow to open.

10 years agoremove some paranoid NULL checks, since the pointers are used already.
Campbell Barton [Fri, 17 Dec 2010 19:05:10 +0000 (19:05 +0000)]
remove some paranoid NULL checks, since the pointers are used already.

10 years ago[#25270] X3D Export generates incorrect location for Lamp
Campbell Barton [Fri, 17 Dec 2010 18:38:44 +0000 (18:38 +0000)]
[#25270] X3D Export generates incorrect location for Lamp
was actually incorrect location for everything!

- x3d's global scene rotation value wasnt converted from deg to radians.
- camera viewport was also incorrectly exported.

use mathutils rather then inline math for rotations.

10 years agoRender Buttons UI:
Thomas Dinges [Fri, 17 Dec 2010 18:25:08 +0000 (18:25 +0000)]
Render Buttons UI:
* Fixed a small alignment issue (Aspect Ratio/ Frame Rate Columns)

10 years agofixes for pinning bones & pose ui, could easily get error messages and invalid situat...
Campbell Barton [Fri, 17 Dec 2010 17:51:43 +0000 (17:51 +0000)]
fixes for pinning bones & pose ui, could easily get error messages and invalid situations.
when pinned there is no pose bone.

10 years agoBugfix #25259
Ton Roosendaal [Fri, 17 Dec 2010 17:06:36 +0000 (17:06 +0000)]
Bugfix #25259

Compositor: using the icon "render only this layer" now shows
progress in header, allows it to stop, and signals composite in

10 years agominor warnings removed.
Campbell Barton [Fri, 17 Dec 2010 16:05:40 +0000 (16:05 +0000)]
minor warnings removed.

10 years agoBugfix #25261
Ton Roosendaal [Fri, 17 Dec 2010 16:04:05 +0000 (16:04 +0000)]
Bugfix #25261

Adding weightgroup in weight-paint now sends notifier, so buttons

10 years agoBugfix #25261
Ton Roosendaal [Fri, 17 Dec 2010 16:02:55 +0000 (16:02 +0000)]
Bugfix #25261

Weightpaint tools now grey out when no active group exists.

10 years agono functional change: only check against OB_RECALC_ALL but don't use for assignment.
Campbell Barton [Fri, 17 Dec 2010 15:51:42 +0000 (15:51 +0000)]
no functional change: only check against OB_RECALC_ALL but don't use for assignment.

Makes adding new flags give ambiguous results and also makes it less easy to tell whats intended.
In some places it looks like OB_RECALC_TIME should be left out too.

10 years agono functional changes: SETLOOPER macro assumed a scene was defined called 'sce' used...
Campbell Barton [Fri, 17 Dec 2010 15:37:59 +0000 (15:37 +0000)]
no functional changes: SETLOOPER macro assumed a scene was defined called 'sce' used to loop over, now make this an argument, helps to make it clear what's going on.

10 years agoBug fix:
Ton Roosendaal [Fri, 17 Dec 2010 15:24:03 +0000 (15:24 +0000)]
Bug fix:

When compositing without render (Enable composite, no renderlayer nodes)
the option Full Sample AA caused havoc. Added warning for this case
and gracefully stop render.

10 years agofix for keymap error with renaming rna.
Campbell Barton [Fri, 17 Dec 2010 14:49:38 +0000 (14:49 +0000)]
fix for keymap error with renaming rna.

10 years agoBugfix #25264
Ton Roosendaal [Fri, 17 Dec 2010 14:20:20 +0000 (14:20 +0000)]
Bugfix #25264

Bad user counting went on, ID users could be set zero whilst
having Fake user set. Also ensured the code using the BKE
calls for increment/decrement.

10 years agoFix for [#25256] Particles with trailcount > 1 does not render if particles system...
Janne Karhu [Fri, 17 Dec 2010 13:29:40 +0000 (13:29 +0000)]
Fix for [#25256] Particles with trailcount > 1 does not render if particles system is baked to Disk Cache.

10 years agoBig fix: particle pointcache was cleared fully on any particle setting change
Janne Karhu [Fri, 17 Dec 2010 13:13:32 +0000 (13:13 +0000)]
Big fix: particle pointcache was cleared fully on any particle setting change
* Now only the cache after current frame is cleared.
* Probably own fault from my last commit.

10 years agobugfix [#25240] Custom properties panel on pinned data fail.
Campbell Barton [Fri, 17 Dec 2010 10:33:28 +0000 (10:33 +0000)]
bugfix [#25240] Custom properties panel on pinned data fail.

10 years ago== Sequencer ==
Peter Schlaile [Fri, 17 Dec 2010 08:53:49 +0000 (08:53 +0000)]
== Sequencer ==

Sequence effect rendering of color generator did some rather strange
fall through, because of a missing break statement. (Noone got hurt, but
better add that break, just in case)

10 years agoThis fixes
Peter Schlaile [Fri, 17 Dec 2010 08:08:35 +0000 (08:08 +0000)]
This fixes
[#25011] Opacity IPO not refreshing with still images

(should be better named: animation of any prefiltering parameters using
still images didn't work out as expected)

And this issue by private mail by Ton:

"I tried to debug a memory-free error; very simple case:

- add image strip
- click on strip at 2 places
- quit blender"

10 years agoscript which dumps ui as xml in a fake blender envieonment.
Campbell Barton [Fri, 17 Dec 2010 07:06:27 +0000 (07:06 +0000)]
script which dumps ui as xml in a fake blender envieonment.
useful for testing for bad api use (make sure UI uses limited functions).

10 years agobugfix [#25260] Solidify function UV mapping problems
Campbell Barton [Fri, 17 Dec 2010 06:02:52 +0000 (06:02 +0000)]
bugfix [#25260] Solidify function UV mapping problems

10 years agoWM_OT_path_open was failing with non utf8 paths.
Campbell Barton [Fri, 17 Dec 2010 05:12:36 +0000 (05:12 +0000)]
WM_OT_path_open was failing with non utf8 paths.

10 years agocmake was complaining when there was no libs skipped.
Campbell Barton [Fri, 17 Dec 2010 04:41:48 +0000 (04:41 +0000)]
cmake was complaining when there was no libs skipped.

10 years agoBGE Font: increasing the limit of the text object to 140
Dalai Felinto [Fri, 17 Dec 2010 02:45:17 +0000 (02:45 +0000)]
BGE Font: increasing the limit of the text object to 140

10 years agoFixed bug reported by Reuben Martin:
Nicholas Bishop [Fri, 17 Dec 2010 01:40:47 +0000 (01:40 +0000)]
Fixed bug reported by Reuben Martin:

Undoing in sculpt mode with drawing mode not set to solid didn't
redraw correctly.

Problem was that the non-PBVH VBOs need to be remade in that case.

10 years agoSVN maintenance.
Guillermo S. Romero [Thu, 16 Dec 2010 23:24:25 +0000 (23:24 +0000)]
SVN maintenance.

10 years agoscript to generate qtcreator project files, advantage is they include all source...
Campbell Barton [Thu, 16 Dec 2010 21:32:56 +0000 (21:32 +0000)]
script to generate qtcreator project files, advantage is they include all source which is nicer for refactoring.

10 years agobugfix [#25208] randomize transform doesn't work on objects with keyframes
Campbell Barton [Thu, 16 Dec 2010 19:26:54 +0000 (19:26 +0000)]
bugfix [#25208] randomize transform doesn't work on objects with keyframes

Surprising this wasnt noticed in a much more obvious case:
 - Key Location, Move, Rotate, Undo-Rotate >> Resets to keyed location as well.

This was happening because DAG_on_load_update() was called on read_undosave(), flagging 'ob->adt->recalc |= ADT_RECALC_ANIM;'

Fix by adding an option to DAG_on_load_update(), not to recalculate time flags.

10 years agoSVN maintenance.
Guillermo S. Romero [Thu, 16 Dec 2010 19:05:47 +0000 (19:05 +0000)]
SVN maintenance.
Plus some typo fixes in comments.

10 years agoAnnoyance fix:
Ton Roosendaal [Thu, 16 Dec 2010 18:58:22 +0000 (18:58 +0000)]
Annoyance fix:

Using scrollwheel on properties window halted when it was over
a list-button. Now it disables handling wheel events when you use
scrollwheel outside of lists first.

Implementation note: UI event handlers have priority over other
keymaps. That's OK. In this case it's simple conflict, for which
no design solution exists... wouldn't know how to do this nicer!
Code is nice local and can be improved when we look into other

10 years agofix for error in testing C/C++ flags
Campbell Barton [Thu, 16 Dec 2010 17:54:00 +0000 (17:54 +0000)]
fix for error in testing C/C++ flags

10 years agoBugfix, irc report
Ton Roosendaal [Thu, 16 Dec 2010 17:19:24 +0000 (17:19 +0000)]
Bugfix, irc report

After using loop-cut with multiple edges, transform widget
disappeared. Reason was a variable being set in function
not being called on cancelled operators. Now it's in Posttrans()

10 years agoFix for [#25202] Blender crashes when opening smoke simulations made with Blender...
Janne Karhu [Thu, 16 Dec 2010 16:09:23 +0000 (16:09 +0000)]
Fix for [#25202] Blender crashes when opening smoke simulations made with Blender 2.55.1 r33530
* Since r33398 smoke only uses one pointcache, but old versions want two caches so save new files with a fake second pointcache.

10 years agoWorkaround #22856: defocus node with OpenMP could crash on Mac, just disabled
Brecht Van Lommel [Thu, 16 Dec 2010 14:49:50 +0000 (14:49 +0000)]
Workaround #22856: defocus node with OpenMP could crash on Mac, just disabled
OpenMP now in that case, since it's only an optimization.

10 years agoBugfix #24976 revisited
Ton Roosendaal [Thu, 16 Dec 2010 13:43:20 +0000 (13:43 +0000)]
Bugfix #24976 revisited

Multi-layer images: clicking on the "Source" popup freed all memory
for multilayers, even when choosing the same "File" entry again.
Now it should work :)

10 years agoBugfix #22794
Ton Roosendaal [Thu, 16 Dec 2010 12:49:48 +0000 (12:49 +0000)]
Bugfix #22794

Panorama render is now border-render safe.