blender.git
9 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).

9 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.

9 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

9 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
enabled

9 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).

9 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.

9 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.

9 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)

9 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

9 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.

9 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.

9 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.

9 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

9 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.

9 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.

9 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

9 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.

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

9 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.

9 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
update.

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

9 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.

9 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

9 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

9 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)

9 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.

9 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.

9 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

9 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.

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

9 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.

9 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.

9 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.

9 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

9 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.

9 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.

9 years agobugfix for particle editmode operators from (Janne Karhu)
Campbell Barton [Tue, 12 Jan 2010 16:29:05 +0000 (16:29 +0000)]
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.

9 years agobugfix for puff brush, it wasnt working if the object had any transformation.
Campbell Barton [Tue, 12 Jan 2010 14:52:09 +0000 (14:52 +0000)]
bugfix for puff brush, it wasnt working if the object had any transformation.
some dna comments too.

9 years agoCocoa : activate multitouch trackpad features only on equipped macbooks
Damien Plisson [Tue, 12 Jan 2010 14:12:44 +0000 (14:12 +0000)]
Cocoa : activate multitouch trackpad features only on equipped macbooks

9 years agorename free_group to free_group_objects since it doesnt free the group its self.
Campbell Barton [Tue, 12 Jan 2010 13:42:13 +0000 (13:42 +0000)]
rename free_group to free_group_objects since it doesnt free the group its self.

9 years agolast commit was no good since pe_get_current was running recalc_emitter_field on...
Campbell Barton [Tue, 12 Jan 2010 13:40:29 +0000 (13:40 +0000)]
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.

9 years agoparticle edit
Campbell Barton [Tue, 12 Jan 2010 13:20:49 +0000 (13:20 +0000)]
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.

9 years agoMade the color ramp template more compact, and made the position field an RNA item.
William Reynish [Tue, 12 Jan 2010 12:08:23 +0000 (12:08 +0000)]
Made the color ramp template more compact, and made the position field an RNA item.

9 years agoFix #20641, #20645. Someone forgot to update scripts ;)
Arystanbek Dyussenov [Tue, 12 Jan 2010 11:21:42 +0000 (11:21 +0000)]
Fix #20641, #20645. Someone forgot to update scripts ;)

9 years ago[#20646] 2.5 does not load python scripts with multiple dots in the filename
Campbell Barton [Tue, 12 Jan 2010 10:04:03 +0000 (10:04 +0000)]
[#20646] 2.5 does not load python scripts with multiple dots in the filename
- not a bug so add a warning if people add scripts with invalid names like this.

9 years agoCMake fix for windows build
Damien Plisson [Tue, 12 Jan 2010 08:46:38 +0000 (08:46 +0000)]
CMake fix for windows build

Patch by Guillaume Lecocq. Thx!

9 years agoFix [#20556] Shear hotkey not matching keymap
Matt Ebb [Tue, 12 Jan 2010 08:30:01 +0000 (08:30 +0000)]
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.

9 years agoFix [#19920] long list in outliner+renaming
Matt Ebb [Tue, 12 Jan 2010 08:18:15 +0000 (08:18 +0000)]
Fix [#19920] long list in outliner+renaming

9 years agoRenamed toolbar to Tool Shelf all over
Matt Ebb [Tue, 12 Jan 2010 07:50:14 +0000 (07:50 +0000)]
Renamed toolbar to Tool Shelf all over

9 years agoPartial fix for [#19926] clicks "fall through" when stacking nodes
Matt Ebb [Tue, 12 Jan 2010 07:07:51 +0000 (07:07 +0000)]
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..

9 years agoFix [#19922] outliner+renaming+shift+home
Matt Ebb [Tue, 12 Jan 2010 05:54:15 +0000 (05:54 +0000)]
Fix [#19922] outliner+renaming+shift+home

9 years agoFix [#19966] Graph Editor does not refresh after automatic keyframe insertion
Matt Ebb [Tue, 12 Jan 2010 03:01:19 +0000 (03:01 +0000)]
Fix [#19966] Graph Editor does not refresh after automatic keyframe insertion

9 years agoFix [#20000] Connect to File Output node creates segfault
Matt Ebb [Tue, 12 Jan 2010 02:53:15 +0000 (02:53 +0000)]
Fix [#20000] Connect to File Output node creates segfault

9 years agoFix [#20628] Color pickers: graphical slider bar doesn't update HSV and
Matt Ebb [Tue, 12 Jan 2010 02:34:57 +0000 (02:34 +0000)]
Fix [#20628] Color pickers: graphical slider bar doesn't update HSV and
 Hex num sliders

9 years agoFix for [#20272] Missing Options - Blender Game, Transparency Panel
Matt Ebb [Tue, 12 Jan 2010 02:32:21 +0000 (02:32 +0000)]
Fix for [#20272] Missing Options - Blender Game, Transparency Panel

A little bit dodgy, but at least the options are accessible for the time being.

9 years agoFix [#20224] Moving to layer pannel missing shortcuts
Matt Ebb [Tue, 12 Jan 2010 02:13:20 +0000 (02:13 +0000)]
Fix [#20224] Moving to layer pannel missing shortcuts

9 years agoFix [#20644] new curve sets itself to the origin, but the pivot to the cursor
Matt Ebb [Tue, 12 Jan 2010 01:50:34 +0000 (01:50 +0000)]
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

9 years agoFixed bug #20155, "When Displaying the mesh angles one of the angles always displays...
Nicholas Bishop [Tue, 12 Jan 2010 00:26:11 +0000 (00:26 +0000)]
Fixed bug #20155, "When Displaying the mesh angles one of the angles always displays in the middle not at the angle location"

9 years agorna/py api
Campbell Barton [Mon, 11 Jan 2010 23:40:01 +0000 (23:40 +0000)]
rna/py api
bpy.data.groups.new()/remove()
bpy.data.actions.new()/remove()

9 years agoApply previous fix to lasso too.
Martin Poirier [Mon, 11 Jan 2010 20:27:52 +0000 (20:27 +0000)]
Apply previous fix to lasso too.

9 years ago[#20640] Border/lasso selection zone "translated" when occlude geometry is on
Martin Poirier [Mon, 11 Jan 2010 19:52:03 +0000 (19:52 +0000)]
[#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).

9 years ago- draw mesh wire faded into the 3D view background color when in particle mode, the...
Campbell Barton [Mon, 11 Jan 2010 18:10:13 +0000 (18:10 +0000)]
- 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.

9 years agoFix wrong icons in shape key panel, not sure why these were specified,
Brecht Van Lommel [Mon, 11 Jan 2010 15:28:00 +0000 (15:28 +0000)]
Fix wrong icons in shape key panel, not sure why these were specified,
they're already defined in RNA.

9 years agoCompile Fix for recent multi touch commit.
Thomas Dinges [Mon, 11 Jan 2010 14:23:16 +0000 (14:23 +0000)]
Compile Fix for recent multi touch commit.

9 years agoremove operators PARTICLE_OT_brush_set and PARTICLE_OT_edit_type_set, rna data access...
Campbell Barton [Mon, 11 Jan 2010 13:54:00 +0000 (13:54 +0000)]
remove operators PARTICLE_OT_brush_set and PARTICLE_OT_edit_type_set, rna data access and menu's can replace

9 years agobetter reporting for lib linking problems
Campbell Barton [Mon, 11 Jan 2010 12:24:08 +0000 (12:24 +0000)]
better reporting for lib linking problems
note that errors are displayed upside down

9 years agoreport errors with library linking errors.
Campbell Barton [Mon, 11 Jan 2010 11:59:14 +0000 (11:59 +0000)]
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 :(

9 years agoMultitouch trackpad 2 fingers gestures implementation
Damien Plisson [Mon, 11 Jan 2010 11:14:36 +0000 (11:14 +0000)]
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.

9 years agoFix for cmake + windows debug build crash on startup, PYTHONPATH needs to be set...
Brecht Van Lommel [Mon, 11 Jan 2010 11:11:21 +0000 (11:11 +0000)]
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.

9 years ago- player building again
Campbell Barton [Mon, 11 Jan 2010 10:48:41 +0000 (10:48 +0000)]
- player building again
- fix for compiler warnigns
- bpath reporting was incorrect

9 years agoFix #20619: subsurf + explode modifier crash.
Brecht Van Lommel [Mon, 11 Jan 2010 10:22:24 +0000 (10:22 +0000)]
Fix #20619: subsurf + explode modifier crash.

9 years agoFix [#20600] First added camera is not made active
Matt Ebb [Mon, 11 Jan 2010 06:57:41 +0000 (06:57 +0000)]
Fix [#20600] First added camera is not made active

Also forced view align on when adding cameras

9 years agoGraph Editor: Snapping + Cursor
Joshua Leung [Mon, 11 Jan 2010 06:32:05 +0000 (06:32 +0000)]
Graph Editor: Snapping + Cursor

Added buttons beside the numeric inputs for cursor location to make it more obvious how the cursor can be used for numeric manipulation of selected keyframes.

9 years ago* Restored vertex parent
Matt Ebb [Mon, 11 Jan 2010 05:55:34 +0000 (05:55 +0000)]
* Restored vertex parent
The operator was already there and written, just didn't have a hotkey
assigned. Gave it an icky popup menu like object mode parent until we
get a nice non-blocking report viewer.

9 years ago* Removed popups from curve select random and Nth, also edited
Matt Ebb [Mon, 11 Jan 2010 05:32:01 +0000 (05:32 +0000)]
* Removed popups from curve select random and Nth, also edited
select random code to use the same logic as select random for meshes
(with extend property as well)

9 years ago* Restored font selection functionality with open font and unlink font operators,
Matt Ebb [Mon, 11 Jan 2010 05:10:57 +0000 (05:10 +0000)]
* Restored font selection functionality with  open font and unlink font operators,
so you can change the font of 3D text objects.

9 years ago* Tweak for splash screen rev. info - dalai, does this look ok on your machine?
Matt Ebb [Mon, 11 Jan 2010 01:26:16 +0000 (01:26 +0000)]
* Tweak for splash screen rev. info - dalai, does this look ok on your machine?
* Added very feint separator lines in menus

9 years agorna/py api
Campbell Barton [Mon, 11 Jan 2010 00:41:31 +0000 (00:41 +0000)]
rna/py api
bpy.data.scenes.remove(scene) # now works without crashing
bpy.data.texts.new(name)/remove(text)/load(path) # added

9 years agochange the defaults for solidify since users are getting unexpected spikes because...
Campbell Barton [Sun, 10 Jan 2010 23:18:09 +0000 (23:18 +0000)]
change the defaults for solidify since users are getting unexpected spikes because of the 'Even Thickness' option.
For buildings this is nice but for cloth and random mesh input it ends up giving ugly spikes.

9 years agoRequest different OpenGL oversampling levels before giving up.
Guillermo S. Romero [Sun, 10 Jan 2010 22:52:40 +0000 (22:52 +0000)]
Request different OpenGL oversampling levels before giving up.

9 years agoevil 1 liner to get bge.logic, bge.render, bge.keys etc.. may eventually replace...
Campbell Barton [Sun, 10 Jan 2010 22:15:29 +0000 (22:15 +0000)]
evil 1 liner to get bge.logic, bge.render, bge.keys etc.. may eventually replace GameLogic, GameKeys module names.

9 years agoget rid of annoying duplicate python initialization code, added setupGamePython(...
Campbell Barton [Sun, 10 Jan 2010 22:03:26 +0000 (22:03 +0000)]
get rid of annoying duplicate python initialization code, added setupGamePython() which initializes modules

9 years agoSVN maintenance.
Guillermo S. Romero [Sun, 10 Jan 2010 21:58:40 +0000 (21:58 +0000)]
SVN maintenance.

9 years agoblenderplayer building with cmake
Campbell Barton [Sun, 10 Jan 2010 21:33:41 +0000 (21:33 +0000)]
blenderplayer building with cmake

9 years ago[#20522] alt+b in object mode has an offset depending on the selected object's origin
Martin Poirier [Sun, 10 Jan 2010 20:31:23 +0000 (20:31 +0000)]
[#20522] alt+b in object mode has an offset depending on the selected object's origin

View clipping doesn't need object matrix in view transformation (permit NULL object pointer to get global transformation).

9 years agoMake linked animdata working again, copies NLA too, as well as ObData animdata where...
Campbell Barton [Sun, 10 Jan 2010 20:23:59 +0000 (20:23 +0000)]
Make linked animdata working again, copies NLA too, as well as ObData animdata where types match

9 years ago[#20581] Lasso tool ends unexpectedly
Martin Poirier [Sun, 10 Jan 2010 20:16:56 +0000 (20:16 +0000)]
[#20581] Lasso tool ends unexpectedly

Don't limit lasso to 1024 points, just realloc array with increased size when current limit is reached.

Also silence two stupid warnings.

9 years ago- fix for crash if drivers were used in the .B.blend
Campbell Barton [Sun, 10 Jan 2010 20:01:13 +0000 (20:01 +0000)]
- fix for crash if drivers were used in the .B.blend
- fix for problem where proxy objects could enter editmode but not exit

9 years agoBug [#20539] Pink Opengl line should disapear
Martin Poirier [Sun, 10 Jan 2010 19:56:22 +0000 (19:56 +0000)]
Bug [#20539] Pink Opengl line should disapear

Reset edge loop data when there are no edge near (it doesn't cut when there's no edge near anyway, so the display was missleading)

Also don't do any display setup when there's nothing to display.

9 years agoBGE API_DOC: VideoTexture and PhysicsConstraints templates (need the functions to...
Dalai Felinto [Sun, 10 Jan 2010 19:35:42 +0000 (19:35 +0000)]
BGE API_DOC: VideoTexture and PhysicsConstraints templates (need the functions to be filled with their description).

PhysicsConstraints is documented in the Game Kit Book:
http://download.blender.org/documentation/gamekit1/

VideoTexture is documented in the wiki:
http://wiki.blender.org/index.php/Dev:Source/GameEngine/2.49/VideoTexture

I don't think I will have time to fill the documentation. But I hope this commit helps someone interested in helping it.

Therefore volunteers to document those modules are highly welcome !!! (let's give to BGE the documentation it deserves)!

* + added GameLogic.Lave/LoadGlobalDict + some typo fixes

9 years agoattemp to fix [#20610] GHOST_WindowX11.cpp:202: X11 glXChooseVisual() failed, verify...
Campbell Barton [Sun, 10 Jan 2010 19:21:46 +0000 (19:21 +0000)]
attemp to fix [#20610] GHOST_WindowX11.cpp:202: X11 glXChooseVisual() failed, verify working openGL system!
cant test but should work.

9 years agonew rig types from Cessen
Campbell Barton [Sun, 10 Jan 2010 19:20:48 +0000 (19:20 +0000)]
new rig types from Cessen

9 years agoBug [#20572] Crash Blender - Gkey in Video Sequence Editor
Martin Poirier [Sun, 10 Jan 2010 19:19:22 +0000 (19:19 +0000)]
Bug [#20572] Crash Blender - Gkey in Video Sequence Editor

Missing null check in durian fcurve hack (always enabled for some reasons)

9 years agorename rig types not to have generic in the name (Cessens decission)
Campbell Barton [Sun, 10 Jan 2010 18:59:32 +0000 (18:59 +0000)]
rename rig types not to have generic in the name (Cessens decission)

9 years agopatch from Cessen, update to metarigs and some changes to the rigging main loop.
Campbell Barton [Sun, 10 Jan 2010 18:53:15 +0000 (18:53 +0000)]
patch from Cessen, update to metarigs and some changes to the rigging main loop.
- property names dont need the bone type prefix anymore
- always add a root bone that all non parented bones are parented to
- x/y/z axis properties for bones.

9 years ago* make sure build info is enabled for BF_BUILDINFO (this is enabled by default, and...
Nathan Letwory [Sun, 10 Jan 2010 16:29:53 +0000 (16:29 +0000)]
* make sure build info is enabled for BF_BUILDINFO (this is enabled by default, and can be set in your user-config.py or other custom config).

9 years agolinked scenes were not animating.
Campbell Barton [Sun, 10 Jan 2010 15:44:42 +0000 (15:44 +0000)]
linked scenes were not animating.
this needs fixing properly but for now we need linked data to be animated by its linked actions.

9 years agoChange how 'Main' collection type definitons work so that 'self' can be used without...
Campbell Barton [Sun, 10 Jan 2010 15:20:22 +0000 (15:20 +0000)]
Change how 'Main' collection type definitons work so that 'self' can be used without overriding the srna type.

9 years agoworkaround for a problem with rna collection type definitions.
Campbell Barton [Sun, 10 Jan 2010 14:40:37 +0000 (14:40 +0000)]
workaround for a problem with rna collection type definitions.
setting the type for a collection does not work if its set before the type is defined.

9 years agoAnimation Channels - Protect + Mute toggles flushing:
Joshua Leung [Sun, 10 Jan 2010 11:09:30 +0000 (11:09 +0000)]
Animation Channels - Protect + Mute toggles flushing:

Protect and Mute toggles now flush their values when changed, like for visibility, making the workflow a bit smoother. Currently, this only takes effect when clicking on the toggles (i.e. the hotkey+select based toggle setting operators don't take this into account yet).

9 years ago[#20587] Time field under Stamp (rendering) is always showing 00:00:00.01
Campbell Barton [Sun, 10 Jan 2010 10:50:11 +0000 (10:50 +0000)]
[#20587] Time field under Stamp (rendering) is always showing 00:00:00.01