Commit Graph

18691 Commits

Author SHA1 Message Date
Campbell Barton
d2e7abec82 makesrna was failing because of a buffer overrun from an error in r25949 2010-01-13 08:12:57 +00:00
Matt Ebb
7df44b9ced 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.
2010-01-13 06:35:12 +00:00
Martin Poirier
728359a6a5 Don't loop forever. 2010-01-13 04:27:10 +00:00
Matt Ebb
7c80ece9c8 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.
2010-01-13 03:36:08 +00:00
Matt Ebb
0e39609468 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
update.

Added in an update here, Aligorith, maybe you'd like to doublecheck.
2010-01-13 03:21:55 +00:00
Matt Ebb
6f0acf3cf3 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.
2010-01-13 02:59:42 +00:00
Matt Ebb
0edecb73cf Fix [#20655] wrong button shading
Also restored copy/paste for color swatches
2010-01-13 02:01:34 +00:00
Matt Ebb
8e076e0341 Fix [#20649] when header is on top of 3D View and all regions are collapsed, expansion icons overlap 2010-01-13 00:43:59 +00:00
Dalai Felinto
f0180b700d 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)
2010-01-13 00:15:17 +00:00
Martin Poirier
17108481a9 [#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.
2010-01-12 23:30:19 +00:00
Brecht Van Lommel
b39be60075 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.
2010-01-12 21:20:09 +00:00
Brecht Van Lommel
63e80e271d 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
2010-01-12 19:51:26 +00:00
Brecht Van Lommel
ff353b4939 Math lib: added normalize_v3_v3 in addition to normalize_v3. 2010-01-12 19:47:54 +00:00
Brecht Van Lommel
489ef9cff1 RNA: warning fixes. 2010-01-12 19:47:31 +00:00
Brecht Van Lommel
6a0308aad3 Raytrace: only print debug info when running with -d option. 2010-01-12 19:45:01 +00:00
Martin Poirier
000dcc7ad7 [#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.
2010-01-12 19:44:23 +00:00
Brecht Van Lommel
b58a14fe93 Fix for custom shapes getting lost on proxy armature bones. 2010-01-12 18:56:39 +00:00
Campbell Barton
59dfd24f75 - bugfix [#20654] the property edge_face_count of the Mesh-Object does not work
- remove unneeded particle function
2010-01-12 18:33:21 +00:00
Brecht Van Lommel
f7f98f3b05 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.
2010-01-12 17:08:28 +00:00
Campbell Barton
b8d743c9c6 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.
2010-01-12 16:35:34 +00:00
Campbell Barton
e672a083d9 bugfix for particle editmode operators from (Janne Karhu)
psys_get_particle_on_path was taking dynamics into account, making subdivide add points in odd places.
2010-01-12 16:29:05 +00:00
Campbell Barton
0a9321e532 bugfix for puff brush, it wasnt working if the object had any transformation.
some dna comments too.
2010-01-12 14:52:09 +00:00
Campbell Barton
78798ba4df rename free_group to free_group_objects since it doesnt free the group its self. 2010-01-12 13:42:13 +00:00
Campbell Barton
70942f9a83 last commit was no good since pe_get_current was running recalc_emitter_field on mousemove and poll() functions.
run on entering particle editmode only.
2010-01-12 13:40:29 +00:00
Campbell Barton
f1a542b6b8 particle edit
the emitter field wasnt recalculated on entering on editmode.
this meant you could use the puff brush in particle edit, move mesh verts, go back into particle edit... And the mesh data from the previous mesh would still be used.
2010-01-12 13:20:49 +00:00
William Reynish
6329f7b063 Made the color ramp template more compact, and made the position field an RNA item. 2010-01-12 12:08:23 +00:00
Damien Plisson
b76551da68 CMake fix for windows build
Patch by Guillaume Lecocq. Thx!
2010-01-12 08:46:38 +00:00
Matt Ebb
ac3f7db076 Fix [#20556] Shear hotkey not matching keymap
Select Sharp Edges was conflicting with it, fixed by removing it's shortcut, 
- if people use it frequently, they can easy add it back with a RMB click.
2010-01-12 08:30:01 +00:00
Matt Ebb
9900d07a01 Fix [#19920] long list in outliner+renaming 2010-01-12 08:18:15 +00:00
Matt Ebb
926cdffaf3 Renamed toolbar to Tool Shelf all over 2010-01-12 07:50:14 +00:00
Matt Ebb
85310d6413 Partial fix for [#19926] clicks "fall through" when stacking nodes
This still isn't ideal, but a bit better than before, it just tweaks the order of 
block processing so that at least the buttons on top of other buttons get processed first.

The actual fix will be quite tricky, not sure about how best to do that so far..
2010-01-12 07:07:51 +00:00
Matt Ebb
629bfd2a31 Fix [#19922] outliner+renaming+shift+home 2010-01-12 05:54:15 +00:00
Matt Ebb
6f79716326 Fix [#19966] Graph Editor does not refresh after automatic keyframe insertion 2010-01-12 03:01:19 +00:00
Matt Ebb
fd5657bd4f Fix [#20000] Connect to File Output node creates segfault 2010-01-12 02:53:15 +00:00
Matt Ebb
a742824c11 Fix [#20628] Color pickers: graphical slider bar doesn't update HSV and
Hex num sliders
2010-01-12 02:34:57 +00:00
Matt Ebb
c798a11b3b Fix [#20224] Moving to layer pannel missing shortcuts 2010-01-12 02:13:20 +00:00
Matt Ebb
e6c61acb68 Fix [#20644] new curve sets itself to the origin, but the pivot to the cursor
+ Cleaned up the nurbs spin operator and gave it properties rather than 
relying on context
2010-01-12 01:50:34 +00:00
Nicholas Bishop
44068d96aa Fixed bug #20155, "When Displaying the mesh angles one of the angles always displays in the middle not at the angle location" 2010-01-12 00:26:11 +00:00
Campbell Barton
689450a8f1 rna/py api
bpy.data.groups.new()/remove()
bpy.data.actions.new()/remove()
2010-01-11 23:40:01 +00:00
Martin Poirier
3b1585b172 Apply previous fix to lasso too. 2010-01-11 20:27:52 +00:00
Martin Poirier
393f53fc92 [#20640] Border/lasso selection zone "translated" when occlude geometry is on
Box select for mesh wrongly applied the transformation matrix (it wasn't done for Circle select and that worked correctly).

I've just commented and explained the removal, since comments in the matrix setting function seems to indicate that this should be needed (with the call removed, the situations that are noted as problematic still work fine).
2010-01-11 19:52:03 +00:00
Campbell Barton
491e365514 - draw mesh wire faded into the 3D view background color when in particle mode, the mesh and particle selection colors conflict too much making it hard to see particles.
- show proportional editmode button in particle editmode.
2010-01-11 18:10:13 +00:00
Thomas Dinges
1adab34515 Compile Fix for recent multi touch commit. 2010-01-11 14:23:16 +00:00
Campbell Barton
42afb59184 remove operators PARTICLE_OT_brush_set and PARTICLE_OT_edit_type_set, rna data access and menu's can replace 2010-01-11 13:54:00 +00:00
Campbell Barton
276f60536f better reporting for lib linking problems
note that errors are displayed upside down
2010-01-11 12:24:08 +00:00
Campbell Barton
d5f5e0cd75 report errors with library linking errors.
uses a hack to set the window for the popup for the menu, which is nasty but artists need to know when their files should not be resaved :(
2010-01-11 11:59:14 +00:00
Damien Plisson
4a011a99cb Multitouch trackpad 2 fingers gestures implementation
- 2 fingers scroll (MOUSEPAN / GHOST_kTrackpadEventScroll event) pans/scrolls the view
- 2 fingers pinch (MOUSEZOOM / GHOST_kTrackpadEventMagnify event) zooms the view
And in 3D view:
- alt + 2 fingers scroll rotates the view
- 2 fingers rotation (MOUSEROTATE / GHOST_kTrackpadEventRotate) orbits the view.

The implementation uses a new GHOST event type: GHOST_kEventTrackpad, that is then dispatched as Blender MOUSEPAN, MOUSEZOOM
or MOUSEROTATE events.

This is currently fully implemented for OSX (GHOST Cocoa fires the new events), with auto-detection of the source peripheral, so that a regular mouse still sends MOUSEWHEEL events.
2010-01-11 11:14:36 +00:00
Brecht Van Lommel
ebb9286fd6 Fix for cmake + windows debug build crash on startup, PYTHONPATH needs to be set, Py_SetPythonHome seems insufficient. Not sure why this is needed or if there is a better solution, but couldn't find another one. 2010-01-11 11:11:21 +00:00
Campbell Barton
a3e461ce1b - player building again
- fix for compiler warnigns
- bpath reporting was incorrect
2010-01-11 10:48:41 +00:00
Brecht Van Lommel
49fc1f9860 Fix #20619: subsurf + explode modifier crash. 2010-01-11 10:22:24 +00:00