12 years agofrom freakabcd to compile with MSVC10 (beta)
Campbell Barton [Sat, 16 Jan 2010 22:03:26 +0000 (22:03 +0000)]
from freakabcd to compile with MSVC10 (beta)

12 years agoGPU_buffer_setup could return a freed buffer. (when VBO's were used)
Campbell Barton [Sat, 16 Jan 2010 17:47:56 +0000 (17:47 +0000)]
GPU_buffer_setup could return a freed buffer. (when VBO's were used)

12 years agofix for own un-initialized pointer
Campbell Barton [Sat, 16 Jan 2010 15:39:00 +0000 (15:39 +0000)]
fix for own un-initialized pointer

12 years agoWorkaround to fix #20645. Iteration over multidim arrays and slicing of them is broken.
Arystanbek Dyussenov [Sat, 16 Jan 2010 15:20:27 +0000 (15:20 +0000)]
Workaround to fix #20645. Iteration over multidim arrays and slicing of them is broken.

Before fixing this I'd like to clean BPY a bit.

12 years agobugix [#20687] Selection code on duplis gets incorrect draw mode flag
Campbell Barton [Sat, 16 Jan 2010 15:17:40 +0000 (15:17 +0000)]
bugix [#20687] Selection code on duplis gets incorrect draw mode flag
could make selection very slow in some cases

12 years ago- UV header sync selection vert/edge/face buttons were displayed as 3 tickboxes
Campbell Barton [Sat, 16 Jan 2010 14:31:21 +0000 (14:31 +0000)]
- UV header sync selection vert/edge/face buttons were displayed as 3 tickboxes
- fix for all of them being able to be disabled at once.
- 3D header now uses the rna buttons.

12 years agopossible fix for [#20674] SegFault from console 'c = data.texts["text1"].copy()'
Campbell Barton [Sat, 16 Jan 2010 14:05:39 +0000 (14:05 +0000)]
possible fix for [#20674] SegFault from console 'c = data.texts["text1"].copy()'
fix for freeing the undo buffer from a copied text block. (the copy had the old undo pointer)

since I only got an error, not a segfault Im not sure this is the real cause of the crash.

12 years agoFix: MESH_OT_DELETE wasn't working since rev. 26027, MESH_OT_select_by_number_vertice...
Dalai Felinto [Sat, 16 Jan 2010 04:18:21 +0000 (04:18 +0000)]
Fix: MESH_OT_DELETE wasn't working since rev. 26027, MESH_OT_select_by_number_vertices neither
for the MESH_OT_select_...  ENUM text fix (s/Triangles/Quads) and invoke added (WM_menu_invoke).

12 years agoSmall patch from freakabcd in irc: disable camera dof distance if dof object is set
Matt Ebb [Sat, 16 Jan 2010 02:12:03 +0000 (02:12 +0000)]
Small patch from freakabcd in irc: disable camera dof distance if dof object is set

12 years agomirror modifier vgroup option was doing string name conversion to find the flipped...
Campbell Barton [Sat, 16 Jan 2010 01:15:47 +0000 (01:15 +0000)]
mirror modifier vgroup option was doing string name conversion to find the flipped name for every vertex for every weight.
the vertex flip mapping only needs to be made once.

warning fixes too.

12 years agoFix [#20418] ring select in face mode selects edges not faces
Matt Ebb [Sat, 16 Jan 2010 00:59:59 +0000 (00:59 +0000)]
Fix [#20418] ring select in face mode selects edges not faces

12 years agogeneric operator menu was searching for "type" and using the first enum property...
Campbell Barton [Fri, 15 Jan 2010 22:40:33 +0000 (22:40 +0000)]
generic operator menu was searching for "type" and using the first enum property if it wasnt found.
this is too arbitrary and could break if roperty order is changed.
store the property in the operator type that is to be used for menu and enum search func's.

python function for searching operator enums on invoke. (just need dynamic python enums now)

12 years agoremove duplicate code from operator/macro initialization
Campbell Barton [Fri, 15 Jan 2010 22:02:32 +0000 (22:02 +0000)]
remove duplicate code from operator/macro initialization

12 years ago*Fix for last commit. Removed unused code.
Thomas Dinges [Fri, 15 Jan 2010 17:36:06 +0000 (17:36 +0000)]
*Fix for last commit. Removed unused code.

12 years ago- particle drawing was using invalid memory with weights.
Campbell Barton [Fri, 15 Jan 2010 17:28:00 +0000 (17:28 +0000)]
- particle drawing was using invalid memory with weights.
- particle set weight operator (Shift + K) and from the menu.
- mirror vertex groups operator can also flip weight group names.

a number of utility functions for weight groups added
 int *get_defgroup_flip_map(struct Object *ob);
 void flip_vertexgroup_name (char *name_r, const char *name, int strip_number); // moved from modifier.c
 void copy_defvert (struct MDeformVert *dvert_r, const struct MDeformVert *dvert);
 void flip_defvert (struct MDeformVert *dvert, int *flip_map);

12 years agoa new generic invoke function - WM_enum_search_invoke()
Campbell Barton [Fri, 15 Jan 2010 17:23:16 +0000 (17:23 +0000)]
a new generic invoke function - WM_enum_search_invoke()
This can search operators enum property.

Make proxy menu could easily get too big. use the new search popup.

12 years agofix for compiler error, probably unlikely but if 'v' is NULL it could crash.
Campbell Barton [Fri, 15 Jan 2010 17:19:01 +0000 (17:19 +0000)]
fix for compiler error, probably unlikely but if 'v' is NULL it could crash.

12 years agoConsole:
Thomas Dinges [Fri, 15 Jan 2010 17:00:37 +0000 (17:00 +0000)]
* Added Theme support for the console.
You can change:
-Header Color
-Text Color of Output, Input, Info and Error Messages. (Inside the User Preferences -> Themes)

12 years agobugfix [#20688] Mesh with no materials fails to export UV layout
Campbell Barton [Fri, 15 Jan 2010 12:21:33 +0000 (12:21 +0000)]
bugfix [#20688] Mesh with no materials fails to export UV layout

12 years agoReverting changes made in r25940 with the NLA unmapping.
Joshua Leung [Fri, 15 Jan 2010 10:34:39 +0000 (10:34 +0000)]
Reverting changes made in r25940 with the NLA unmapping.

The reverted code was just blindly restoring the old state of the keyframes; changes to selection state, value changes, handle type, etc. were overridden, and the cases where keyframes were deliberately retimed or otherwise were also ignored.

I'm not sure what problems these changes were meant to be solving, but will reassess the situation when I get more info on this.

12 years ago[#20685] Fixed: cleaned up descriptions, removed unrelated comments in code
Campbell Barton [Fri, 15 Jan 2010 10:02:02 +0000 (10:02 +0000)]
[#20685] Fixed: cleaned up descriptions, removed unrelated comments in code
from Jaevixa McNomera (jaevixa)

12 years ago* don't copy .pyc files
Nathan Letwory [Fri, 15 Jan 2010 09:59:42 +0000 (09:59 +0000)]
* don't copy .pyc files

12 years agoFix [#20437] Impossible to load "voxel data" sequence file from
Matt Ebb [Fri, 15 Jan 2010 07:26:38 +0000 (07:26 +0000)]
Fix [#20437] Impossible to load "voxel data" sequence file from
texture panel (field missing?)

12 years ago* Fix two issues:
Nathan Letwory [Fri, 15 Jan 2010 07:04:00 +0000 (07:04 +0000)]
* Fix two issues:
   - makesrna would crash on Windows with this malloc business (writing wrong places).
   - The one malloc never got freed (apart from not being MEM_callocN - which should be used instead of vanilla malloc/calloc!)

12 years agoFix [#20129] emulate numpad
Matt Ebb [Fri, 15 Jan 2010 06:17:28 +0000 (06:17 +0000)]
Fix [#20129] emulate numpad

Converted Command+LMB to send a RMB click event on Mac OS X, if Emulate 3 Button Mouse is switched on.

Also fixes for previous commit, didn't all go through.

12 years agoTweaked/added poll functions to prevent operators that require
Matt Ebb [Fri, 15 Jan 2010 06:10:05 +0000 (06:10 +0000)]
Tweaked/added poll functions to prevent operators that require
a 3D View from being used outside the 3D View (i.e. the info header
search button)

12 years agoFix [#20514] In sculpting mode is possible to use page down/up to exceed the actual...
Matt Ebb [Fri, 15 Jan 2010 05:00:02 +0000 (05:00 +0000)]
Fix [#20514] In sculpting mode is possible to use page down/up to exceed the actual multiresolution level

12 years agoAdding back cursor to center menu entry that was mistakingly removed by an unnamed...
Martin Poirier [Fri, 15 Jan 2010 01:21:56 +0000 (01:21 +0000)]
Adding back cursor to center menu entry that was mistakingly removed by an unnamed person.

12 years agoTransform Constraints: When axis is quasi perpendicular to the screen (within 5 degre...
Martin Poirier [Fri, 15 Jan 2010 00:35:21 +0000 (00:35 +0000)]
Transform Constraints: When axis is quasi perpendicular to the screen (within 5 degrees), it uses vertical motion of the mouse instead of normal axis projection. This behavior isn't new, but the 5 degrees limit is (it's also the limit at which manipulator axis disappear), it used to be much lower than that making small angles hard to manage.

12 years agofix for possible crash with the boundbox of a mesh used when freed.
Campbell Barton [Thu, 14 Jan 2010 23:59:13 +0000 (23:59 +0000)]
fix for possible crash with the boundbox of a mesh used when freed.

12 years agopatch [#20673] Fixed descriptions in Torus mesh controls, and added some requested...
Campbell Barton [Thu, 14 Jan 2010 22:45:56 +0000 (22:45 +0000)]
patch [#20673] Fixed descriptions in Torus mesh controls, and added some requested controls
from Jaevixa McNomera (jaevixa)

12 years agoText Editor: Add an option "Tabs as Spaces".
Dalai Felinto [Thu, 14 Jan 2010 21:30:51 +0000 (21:30 +0000)]
Text Editor: Add an option "Tabs as Spaces".
So now tab is not ALWAYS converted to spaces.
This is stored by text datablock (what allows to do nice things in the future, as automatic check for the indentation type of the file).

Ideally we should redraw the other Text Editor windows after changing that (in case the same file is opened and the Property panel is also open). Not sure how to do that though.

I'm using TABSTOSPACES as the DEFINE flag because TABSASSPACES sounds too ugly.

(also fix for interface divisor bug)

12 years agoCtrl+RMB select in the dope-sheet wasnt working, this nlabackup stuff isnt being...
Campbell Barton [Thu, 14 Jan 2010 20:48:25 +0000 (20:48 +0000)]
Ctrl+RMB select in the dope-sheet wasnt working, this nlabackup stuff isnt being done for select-all so not sure why its there, commented it out for now.
Aligorith, please check.

12 years ago[#20672] TimeLine (arrows will not proceed animation)
Martin Poirier [Thu, 14 Jan 2010 19:53:26 +0000 (19:53 +0000)]
[#20672] TimeLine (arrows will not proceed animation)

RNA notifiers don't have a window and didn't get picked up correctly by the animation redraw system. If there's no window defined in a scene notifier, handle it anyway if the scene matches (or if there aren't any).

12 years ago[#19978] Can not switch view with keymaps while emulate numpad is activated; in modes...
Martin Poirier [Thu, 14 Jan 2010 18:15:12 +0000 (18:15 +0000)]
[#19978] Can not switch view with keymaps while emulate numpad is activated; in modes other than object and edit

Was caused by event emulation (numpad and mmb) happening separately at each level of the keymap, so brush selection was latching on the event before it had time to test emulated values with view navigation entries (at a lower level in the hierarchy).

After discussion with Matt, decided that event emulation should be done at the root of the event loop, replacing the event with the emulated values. This is much more predictable and more logical as far as event emulation goes.

12 years agoMkey toggles mask while in vertex/texture/weight paint mode.
Campbell Barton [Thu, 14 Jan 2010 18:11:10 +0000 (18:11 +0000)]
Mkey toggles mask while in vertex/texture/weight paint mode.
remove unused operator property

12 years agoimprove volume preserving puff to shape the end strands of the hair in relation to...
Campbell Barton [Thu, 14 Jan 2010 16:14:24 +0000 (16:14 +0000)]
improve volume preserving puff to shape the end strands of the hair in relation to the underlying form of the head.

12 years agoCocoa : fix for modifiers keys handling upon application switching
Damien Plisson [Thu, 14 Jan 2010 16:01:05 +0000 (16:01 +0000)]
Cocoa : fix for modifiers keys handling upon application switching

- fix race condition between applicationBecomeActive, and WindowBecomeKey events that discarded the modifiers keys status change event message
- workaround for a 10.6 bug that made the Cmd (oskey) modifier erroneously on.

12 years agouv layout svg files were not importing into inkscape or firefox (gimp worked)
Campbell Barton [Thu, 14 Jan 2010 14:33:05 +0000 (14:33 +0000)]
uv layout svg files were not importing into inkscape or firefox (gimp worked)

12 years agoUV layout
Campbell Barton [Thu, 14 Jan 2010 14:26:39 +0000 (14:26 +0000)]
UV layout
- set the width of the line to be 1 pixel
- add the object name onto the blendfile name.

12 years agoJoin as UVs.... (copies matching UVs to another object with the same topology)
Campbell Barton [Thu, 14 Jan 2010 14:06:27 +0000 (14:06 +0000)]
Join as UVs.... (copies matching UVs to another object with the same topology)
nice that it uses foreach_get/set for fast array copying from python.

note: this is getting out of hand, we beed some central panel/interface for copying mesh data about - shapes, UVs weights etc. at the moment they are accessed from all different places.

12 years agoLittle fun feature for SCons users: set BF_LINE_OVERWRITE=True in your user-config...
Nathan Letwory [Thu, 14 Jan 2010 13:42:15 +0000 (13:42 +0000)]
Little fun feature for SCons users: set BF_LINE_OVERWRITE=True in your or on command-line when BF_QUIET=True. This will reuse the same line of the previous compile message (Compiling ==>...). Warnings and other messages will still go on their own lines. Remember to set BF_LINE_OVERWRITE=False when you are redirecting the build output to a file

12 years agoweight paint without shading when in wire view. use stipple wire to help show where...
Campbell Barton [Thu, 14 Jan 2010 12:51:17 +0000 (12:51 +0000)]
weight paint without shading when in wire view. use stipple wire to help show where verts are.
only way to do this previously was to have a UV layer, be in textured mode, not have any lights or textures and then set weight paint mode.

12 years agospelling errors, no real changes to code.
Campbell Barton [Thu, 14 Jan 2010 10:59:42 +0000 (10:59 +0000)]
spelling errors, no real changes to code.

12 years agono-functional change - use interpolation functions where possible.
Campbell Barton [Thu, 14 Jan 2010 10:58:03 +0000 (10:58 +0000)]
no-functional change - use interpolation functions where possible.

12 years agoFix mistake in recent commit, typed in wrong number for bitflag
Brecht Van Lommel [Thu, 14 Jan 2010 10:57:24 +0000 (10:57 +0000)]
Fix mistake in recent commit, typed in wrong number for bitflag
causing various issues with constraints and duplis.

12 years agoUV operator template
Campbell Barton [Thu, 14 Jan 2010 10:50:58 +0000 (10:50 +0000)]
UV operator template

12 years agoFix [#20671] No access to creating textures for a material
Matt Ebb [Thu, 14 Jan 2010 10:43:53 +0000 (10:43 +0000)]
Fix [#20671] No access to creating textures for a material

Caused by my previous commit here.

12 years agoFix [#20029] Text input fields with dropdown list bugs
Matt Ebb [Thu, 14 Jan 2010 09:56:41 +0000 (09:56 +0000)]
Fix [#20029] Text input fields with dropdown list bugs

12 years agoenable smooth shading of particle colors in particle editmode, for weight painting...
Campbell Barton [Thu, 14 Jan 2010 09:01:57 +0000 (09:01 +0000)]
enable smooth shading of particle colors in particle editmode, for weight painting and selection.

12 years agoparticle weight brush back (mostly the same as in 2.4x), needed to control long hairs...
Campbell Barton [Thu, 14 Jan 2010 08:53:10 +0000 (08:53 +0000)]
particle weight brush back (mostly the same as in 2.4x), needed to control long hairs movement.

12 years ago* Added an 'enable manipulator' operator, with boolean properties for each of
Matt Ebb [Thu, 14 Jan 2010 05:29:25 +0000 (05:29 +0000)]
* Added an 'enable manipulator' operator, with boolean properties for each of
translate/rotate/scale, for people to bind to shortcut keys.

wm.context_set doesn't work well here since it just toggles each component on/off.

Fixes [#19730] Missing/conflicting keymaps for "Change Manipulator Mode" function

Good defaults for this can be decided on for an updated 2.5 key layout.

12 years agoctrl +/- should be in default keymap for 3d view zoom in/out, probably other views too
Joseph Eagar [Thu, 14 Jan 2010 05:22:16 +0000 (05:22 +0000)]
ctrl +/- should be in default keymap for 3d view zoom in/out, probably other views too

12 years agoFix for previous properties editor crash, only remove ui handlers
Matt Ebb [Thu, 14 Jan 2010 05:21:20 +0000 (05:21 +0000)]
Fix for previous properties editor crash, only remove ui handlers
on new screens. Was preventing openGL render and possibly other
things from working

12 years agoChanged 3D View menu Duplicate Linked to use the same
Matt Ebb [Thu, 14 Jan 2010 04:36:27 +0000 (04:36 +0000)]
Changed 3D View menu Duplicate Linked to use the same
duplicate linked + move macro as in the default key map (alt d).

12 years agoShow the image ID template too for 3D View BG image
Matt Ebb [Thu, 14 Jan 2010 04:25:06 +0000 (04:25 +0000)]
Show the image ID template too for 3D View BG image

12 years agoFix [#19932] When reducing panels vertically the scrollbar should not continue redraw in
Matt Ebb [Thu, 14 Jan 2010 04:16:45 +0000 (04:16 +0000)]
Fix [#19932] When reducing panels vertically the scrollbar should not continue redraw in
opposite direction

12 years agorenamed view_center to view_selected in view3d menu code
Joseph Eagar [Thu, 14 Jan 2010 02:51:17 +0000 (02:51 +0000)]
renamed view_center to view_selected in view3d menu code

12 years agofixed missing buttons if no bg image
Joseph Eagar [Thu, 14 Jan 2010 02:41:08 +0000 (02:41 +0000)]
fixed missing buttons if no bg image

12 years agoview3d bg image now updates on frame change, and the panel for it properly draws...
Joseph Eagar [Thu, 14 Jan 2010 02:16:45 +0000 (02:16 +0000)]
view3d bg image now updates on frame change, and the panel for it properly draws an image user template.  someone else might want to look over the UI stuff, hopefully it's ok.  also added some ffmpeg .dlls to the SConscript to install.

12 years agoFix URL to new py API docs
Matt Ebb [Thu, 14 Jan 2010 02:13:08 +0000 (02:13 +0000)]
Fix URL to new py API docs

12 years agoMissing notifiers in some transform orientations operators.
Martin Poirier [Thu, 14 Jan 2010 02:06:08 +0000 (02:06 +0000)]
Missing notifiers in some transform orientations operators.

Also, nice harmless typo (only because KM_SHIFT|KM_CLICK (1|3) == KM_SHIFT|KM_CTRL (1|2))

12 years agoFix [#20663] Mouse cursor icon changes back to default in edit mode
Matt Ebb [Thu, 14 Jan 2010 01:47:25 +0000 (01:47 +0000)]
Fix [#20663] Mouse cursor icon changes back to default in edit mode

Seemed simple but actually turned out to be quite complex.

ND_MODE notifier was being misused, changed to ND_TOOLSETTINGS

Note: Although the fix itself doesn't involve this much, debugging uncovered
that listeners can't rely on notifier->swinid to be correct, since notifiers can
now be added from RNA without a region context.

12 years agoFix for saved animation image sequence renders being too dark
Matt Ebb [Thu, 14 Jan 2010 00:03:58 +0000 (00:03 +0000)]
Fix for saved animation image sequence renders being too dark
(caused by my recent color management commit)

12 years agoFix [#19902] sculpt brush texture not accessible when the object has no material
Matt Ebb [Wed, 13 Jan 2010 23:12:48 +0000 (23:12 +0000)]
Fix [#19902] sculpt brush texture not accessible when the object has no material

Texture handling really needs deeper improvement, this fix doesn't really help for
other situations like modifiers, but solves the inconvenient case of sculpting with
no material at least.

12 years ago[#20583] Snap Cursor to Center and more View edits
Martin Poirier [Wed, 13 Jan 2010 22:17:56 +0000 (22:17 +0000)]
[#20583] Snap Cursor to Center and more View edits

Patches by Jonathan Smith (jaydez)

Add a Cursor Center entry in the snap menu (Shift-S) to reset the cursor to 0,0,0. Also rename the view_center operator to view_selected to reflect better what it does (in the code only, description and name were already ok).

12 years ago[#20112] User Preferences window causes a crash
Martin Poirier [Wed, 13 Jan 2010 21:37:13 +0000 (21:37 +0000)]
[#20112] User Preferences window causes a crash

Opened preference window caused a crash (context pointing to freed screen) when Load UI was turned off.

12 years ago- when the image is available export the SVG with the pixel width and height, saves...
Campbell Barton [Wed, 13 Jan 2010 19:53:34 +0000 (19:53 +0000)]
- when the image is available export the SVG with the pixel width and height, saves typing into the gimp each time.
- option to only export selected faces.
- add in some metadata from the scene

12 years agoMakefiles: add -DNAN_BUILDINFO to CPPFLAGS in windowmanager/intern when building...
Stefan Gartner [Wed, 13 Jan 2010 19:48:34 +0000 (19:48 +0000)]
Makefiles: add -DNAN_BUILDINFO to CPPFLAGS in windowmanager/intern when building with NAN_BUILDINFO

12 years agoPatch [#20588] Adding multisample support to Win32 Ghost - by Mitchell Stokes (Moguri)
Nathan Letwory [Wed, 13 Jan 2010 19:02:13 +0000 (19:02 +0000)]
Patch [#20588]  Adding multisample support to Win32 Ghost - by Mitchell Stokes (Moguri)

Note: AA is still disabled due to AA creating problems for selection tools. If you must, set AA to 2 or 4 in wm_window.c where the GHOST window is created (line 317).

12 years agoUV Layout export, writes an SVG, uses material colors.
Campbell Barton [Wed, 13 Jan 2010 19:00:18 +0000 (19:00 +0000)]
UV Layout export, writes an SVG, uses material colors.

12 years agoUV mirror tool (copies UVs from one side of the mesh to the other)
Campbell Barton [Wed, 13 Jan 2010 17:58:26 +0000 (17:58 +0000)]
UV mirror tool (copies UVs from one side of the mesh to the other)
WIP, suffers from editmode bug where editmode python tools cant have redo-options set. and needs options for precission.

12 years agoCocoa : properly distinguish mouse from multitouch trackpad scroll events
Damien Plisson [Wed, 13 Jan 2010 17:43:42 +0000 (17:43 +0000)]
Cocoa : properly distinguish mouse from multitouch trackpad scroll events

Mighty mouse trackball now fires proper wheel events (and not trackpad pan ones)

12 years agolink markers to another scene, Currently in Ctrl+L menu (which isnt ideal but no...
Campbell Barton [Wed, 13 Jan 2010 14:39:08 +0000 (14:39 +0000)]
link markers to another scene, Currently in Ctrl+L menu (which isnt ideal but no menu in timeline for this)
needed for linking in scenes and copying markers about

12 years agoMerge -c 25963 from COLLADA branch into trunk.
Arystanbek Dyussenov [Wed, 13 Jan 2010 12:51:07 +0000 (12:51 +0000)]
Merge -c 25963 from COLLADA branch into trunk.

12 years agocheck if the layer exists rather then getting the array.
Campbell Barton [Wed, 13 Jan 2010 12:17:21 +0000 (12:17 +0000)]
check if the layer exists rather then getting the array.

12 years agofix crash for projection painting with subsurf or multires, while drawing the verts...
Campbell Barton [Wed, 13 Jan 2010 12:16:10 +0000 (12:16 +0000)]
fix crash for projection painting with subsurf or multires, while drawing the verts & faces were bening freed.

12 years agoRNA NLA update function was wrong, taking the scene as a PointerRNA
Campbell Barton [Wed, 13 Jan 2010 12:15:04 +0000 (12:15 +0000)]
RNA NLA update function was wrong, taking the scene as a PointerRNA

12 years agoFix rendering of normal maps, was broken by new bump mapping.
Brecht Van Lommel [Wed, 13 Jan 2010 11:37:08 +0000 (11:37 +0000)]
Fix rendering of normal maps, was broken by new bump mapping.

12 years agonode uninitialized memory valgrind found while looking into crash.
Campbell Barton [Wed, 13 Jan 2010 08:39:32 +0000 (08:39 +0000)]
node uninitialized memory valgrind found while looking into crash.

12 years agomakesrna was failing because of a buffer overrun from an error in r25949
Campbell Barton [Wed, 13 Jan 2010 08:12:57 +0000 (08:12 +0000)]
makesrna was failing because of a buffer overrun from an error in r25949

12 years agoFix: wasn't able to rename node group nodetree name, or access the nodetree at all...
Matt Ebb [Wed, 13 Jan 2010 06:35:12 +0000 (06:35 +0000)]
Fix: wasn't able to rename node group nodetree name, or access the nodetree at all. Now you
can switch between them too.

Wrapped group nodes in RNA as part of this.

12 years agoDon't loop forever.
Martin Poirier [Wed, 13 Jan 2010 04:27:10 +0000 (04:27 +0000)]
Don't loop forever.

12 years agoFix [#20614] renaming certain things in outliner->datablocks makes blender unresponsi...
Matt Ebb [Wed, 13 Jan 2010 03:36:08 +0000 (03:36 +0000)]
Fix [#20614] renaming certain things in outliner->datablocks makes blender unresponsive to keystrokes

Outliner isn't able to rename things in datablocks view, disabled it from the UI.

12 years agoFix [#20557] animated node values haven't effect while render animatiĆ³n
Matt Ebb [Wed, 13 Jan 2010 03:21:55 +0000 (03:21 +0000)]
Fix [#20557] animated node values haven't effect while render animatiĆ³n

Was only updating the animation system for the render process - if scene render was skipped
(as is the case for comp trees without renderlayer nodes) then the animation system wouldn't

Added in an update here, Aligorith, maybe you'd like to doublecheck.

12 years agoFix for Martin's fix, caused file selector to stop working.
Matt Ebb [Wed, 13 Jan 2010 02:59:42 +0000 (02:59 +0000)]
Fix for Martin's fix, caused file selector to stop working.

Fileselect handlers are added to window's modalhandlers, and contain references to
other areas/regions/etc... Still seems a little bit dodgy, but fixes file selectors for now.

12 years agoFix [#20655] wrong button shading
Matt Ebb [Wed, 13 Jan 2010 02:01:34 +0000 (02:01 +0000)]
Fix [#20655] wrong button shading

Also restored copy/paste for color swatches

12 years agoFix [#20649] when header is on top of 3D View and all regions are collapsed, expansio...
Matt Ebb [Wed, 13 Jan 2010 00:43:59 +0000 (00:43 +0000)]
Fix [#20649] when header is on top of 3D View and all regions are collapsed, expansion icons overlap

12 years agoAdding .glsl and .data to the Text filtering in the File editor (with Andrea's aval)
Dalai Felinto [Wed, 13 Jan 2010 00:15:17 +0000 (00:15 +0000)]
Adding .glsl and .data to the Text filtering in the File editor (with Andrea's aval)
(.data is what we use by default as a dome mesh warp format, btw)

12 years ago[#20093] Consistent Crash in properties window
Martin Poirier [Tue, 12 Jan 2010 23:30:19 +0000 (23:30 +0000)]
[#20093] Consistent Crash in properties window

Fun bug, took me the better part of the day to track down.

Happens because maximizing swaps spacedata lists between the old area and the newly created maximized area (this one being empty) while ui handlers are still hanging with references to the first area (then trying to access spacedata when handled). And then only if a maximizing operator was run before the UI realign timer event from the previous maximize was handled (fun, I told you).

After discussion with Matt on irc, we decided the best way to deal with that was to remove ui handlers that reference areas of a screen that is no longer used. That solution reflects the fact that the bug is more general that the reproducing steps would lead to believe. There's also absolutely no reason to run UI handlers on invisible areas.

12 years agoNLA: fix keyframes getting messed up when making strips longer. For drawing
Brecht Van Lommel [Tue, 12 Jan 2010 21:20:09 +0000 (21:20 +0000)]
NLA: fix keyframes getting messed up when making strips longer. For drawing
and other operations the nla mapping would be applied to the curves, but not
restored correctly. The unmap function was not the inverse of the map function,
and it's not clear to me it's even possible to make it so due to repeat, so
now the old coordinates are backed up in a list and then restored afterwards.

12 years agoBugfix: drivers on constraint properties could get set to invalid when
Brecht Van Lommel [Tue, 12 Jan 2010 19:51:26 +0000 (19:51 +0000)]
Bugfix: drivers on constraint properties could get set to invalid when
transforming, due to the evaluation of the object transform without
constraints, and the driver not finding the property.

Constraints are now disabled in a way that should avoid this problem

12 years agoMath lib: added normalize_v3_v3 in addition to normalize_v3.
Brecht Van Lommel [Tue, 12 Jan 2010 19:47:54 +0000 (19:47 +0000)]
Math lib: added normalize_v3_v3 in addition to normalize_v3.

12 years agoRNA: warning fixes.
Brecht Van Lommel [Tue, 12 Jan 2010 19:47:31 +0000 (19:47 +0000)]
RNA: warning fixes.

12 years agoRaytrace: only print debug info when running with -d option.
Brecht Van Lommel [Tue, 12 Jan 2010 19:45:01 +0000 (19:45 +0000)]
Raytrace: only print debug info when running with -d option.

12 years ago[#19960] When Loop Cutting, no Edge Sliding in Face Select Mode, but works in other...
Martin Poirier [Tue, 12 Jan 2010 19:44:23 +0000 (19:44 +0000)]
[#19960] When Loop Cutting, no Edge Sliding in Face Select Mode, but works in other Select Modes

Force edge select (internally) when running edge slide.

12 years agoFix for custom shapes getting lost on proxy armature bones.
Brecht Van Lommel [Tue, 12 Jan 2010 18:56:39 +0000 (18:56 +0000)]
Fix for custom shapes getting lost on proxy armature bones.

12 years ago- bugfix [#20654] the property edge_face_count of the Mesh-Object does not work
Campbell Barton [Tue, 12 Jan 2010 18:33:21 +0000 (18:33 +0000)]
- bugfix [#20654] the property edge_face_count of the Mesh-Object does not work
- remove unneeded particle function

12 years agoProxy Protection Fixes
Brecht Van Lommel [Tue, 12 Jan 2010 17:08:28 +0000 (17:08 +0000)]
Proxy Protection Fixes

* Mostly revert #24880: Transform Locks affecting animation system. This
  was implemented as a feature request from Nathan but was not the
  intended functionality, and actually gives problems instead. The transform
  locks should really only affect what the user can do, not if the property
  can be animated internally.
* Revert #25868: fix for lib linked scenes not animating. This was needed
  due to the above feature, but meant that all lib linked properties were
  editable in the UI.
* Make bone properties of on proxy-protected layers not editable. They will
  be overriden on reload/redo like lib linked data, so should not be edited.

12 years agoparticle puff, volume option.
Campbell Barton [Tue, 12 Jan 2010 16:35:34 +0000 (16:35 +0000)]
particle puff, volume option.

When combing long hair  it will often end up with no volume (flat on the head like its wet).
a way to fix this is to use the puff tool however when applied points at the root only this just gives a bit of volume at the roots and the rest of the hair stays flat.

This option moves the unselected parts of the hair without applying the puff tool to them, giving volume to the hair whilst preserving the desired style.