11 years ago2 small view navigation features stolen from other apps :)
Matt Ebb [Wed, 6 Jan 2010 12:22:59 +0000 (12:22 +0000)]
2 small view navigation features stolen from other apps :)

* Now, while rotating a 3D view with MMB held down, you can hold shift to switch to Pan or ctrl to switch to Zoom, without having to let go of MMB. While it sounds simple it makes things really smooth to use and eases repeated presses of MMB. One thing I liked from Max. It's also in the modal key maps, so you can change it to whatever you like.

* A similar thing, when panning a 2D View, you can hold LMB to switch to zoom, effectively making MMB+LMB zoom. This is not very useful on a mouse, but it's very nice for tablet use, being able to navigate with one hand (side switch+stylus press) very easily. This one's from Fusion.

11 years agofix for crash when setting a shapekeys name in rna, (probably other properties too).
Campbell Barton [Wed, 6 Jan 2010 12:19:46 +0000 (12:19 +0000)]
fix for crash when setting a shapekeys name in rna, (probably other properties too).
When the shapekey was returned from the object it didnt use the data's ID which is expected elsewhere in RNA.

Transfer shape now also sets the name.

11 years agoFix #20519: shrinkwrap modifier doesnt work with subsurface modifier.
Brecht Van Lommel [Wed, 6 Jan 2010 12:05:46 +0000 (12:05 +0000)]
Fix #20519: shrinkwrap modifier doesnt work with subsurface modifier.
Fix #20516: subsurf modiefier+pressing add for smoke sims results in crash.
Fix retopo not working correct on subsurf mesh.

Various deforming modifiers were not correctly taking into account that a
derivedmesh is not necessarily a CDDerivedMesh, made utility functions for
this now.

11 years agoParticle edit: optimization for combing, was computing hair space too often,
Brecht Van Lommel [Wed, 6 Jan 2010 12:00:53 +0000 (12:00 +0000)]
Particle edit: optimization for combing, was computing hair space too often,
and fix some warnings.

11 years agoOpenGL Anti-aliasing implementation for blender windows
Damien Plisson [Wed, 6 Jan 2010 11:42:52 +0000 (11:42 +0000)]
OpenGL Anti-aliasing implementation for blender windows

Added GHOST_TUns16 numOfAASamples parameter to GHOST_CreateWindow to specify the number of AA samples (null if no AA wanted)
Implemented it in the cascade of GHOST classes.

Full implementation currently done for OSX/Cocoa, stubs for other OSes.
Moguri : it's ready for your win32 implementation !

Note that fallback to a non AA window (if gfx card doesn't support AA) is done inside GHOST OS specific layer, so that blender windowmanager still gets its window created properly.

11 years agoadd operator icon for shape key transfer in panel,
Campbell Barton [Wed, 6 Jan 2010 11:38:58 +0000 (11:38 +0000)]
add operator icon for shape key transfer in panel,

11 years agomissing check for shape key
Campbell Barton [Wed, 6 Jan 2010 11:21:57 +0000 (11:21 +0000)]
missing check for shape key

11 years agopatch from Kevin Roy (kiniou), [#20584] get the image size in pixels in Python API
Campbell Barton [Wed, 6 Jan 2010 10:46:49 +0000 (10:46 +0000)]
patch from Kevin Roy (kiniou), [#20584] get the image size in pixels in Python API

11 years agowrite our to a shorter path, was failing unless you made the path manually since...
Campbell Barton [Wed, 6 Jan 2010 09:42:41 +0000 (09:42 +0000)]
write our to a shorter path, was failing unless you made the path manually since it was trying to write to a subsub dir that didnt exist.

11 years agoCocoa: small potential issue remained from fullscreen ancient ages in the Window...
Damien Plisson [Wed, 6 Jan 2010 09:22:40 +0000 (09:22 +0000)]
Cocoa: small potential issue remained from fullscreen ancient ages in the Window getValid function

11 years agoBullet: rework softbody raytest patch after approval by Erwin.
Benoit Bolsee [Wed, 6 Jan 2010 08:46:04 +0000 (08:46 +0000)]
Bullet: rework softbody raytest patch after approval by Erwin.

11 years agoBGE: KX_GameObject.rayCast() to return 5-tuple in case of no hit when poly=2 option...
Benoit Bolsee [Wed, 6 Jan 2010 08:44:10 +0000 (08:44 +0000)]
BGE: KX_GameObject.rayCast() to return 5-tuple in case of no hit when poly=2 option is used.

11 years ago*Disabled filled lasso drawing on Windows for now, was causing some strange problems,
Matt Ebb [Wed, 6 Jan 2010 06:51:04 +0000 (06:51 +0000)]
*Disabled filled lasso drawing on Windows for now, was causing some strange problems,
perhaps GLU incompatibilities? If any Windows GL guru can help here, it would be
most appreciated!

11 years agoFix for keymap rna, wasn't updated for doubleckick
Matt Ebb [Wed, 6 Jan 2010 06:04:07 +0000 (06:04 +0000)]
Fix for keymap rna, wasn't updated for doubleckick

11 years agoSmall tweaks to gesture drawing to show the filled selectable area.
Matt Ebb [Wed, 6 Jan 2010 04:52:13 +0000 (04:52 +0000)]
Small tweaks to gesture drawing to show the filled selectable area.
Gives nice feedback for what will be selected, especially with lasso.

11 years agoMSVC compile fix
Matt Ebb [Wed, 6 Jan 2010 04:08:06 +0000 (04:08 +0000)]
MSVC compile fix

11 years agoNode editor tweaks
Matt Ebb [Wed, 6 Jan 2010 03:00:19 +0000 (03:00 +0000)]
Node editor tweaks

* Cleaned up dead code, removed all traces of socket selection

* Modified border select so it's possible to have border select on mouse tweak.
With this change, by default, click+dragging on a node will select and move it,
but click+dragging on empty space will border select.

11 years agoFix for PROP_MATRIX auto UI layout
Matt Ebb [Wed, 6 Jan 2010 01:41:00 +0000 (01:41 +0000)]
Fix for PROP_MATRIX auto UI layout

11 years agoRestored Compositor 're-render single layer' functionality (buttons on renderlayer...
Matt Ebb [Wed, 6 Jan 2010 00:09:07 +0000 (00:09 +0000)]
Restored Compositor 're-render single layer' functionality (buttons on renderlayer comp nodes).

This works with operator properties - if you pass the name of a scene and renderlayer to
the screen.render operator, it will render that layer as a single layer re-render.

11 years agofix for [#20352] Crash when rendering viewport
Campbell Barton [Wed, 6 Jan 2010 00:02:37 +0000 (00:02 +0000)]
fix for [#20352] Crash when rendering viewport

11 years agonetrender: UI layout reorganization and prettifying. Also better operator description...
Martin Poirier [Tue, 5 Jan 2010 20:47:23 +0000 (20:47 +0000)]
netrender: UI layout reorganization and prettifying. Also better operator descriptions (tooltips). Based on a patch by DingTo.

11 years agoDescription attributes for macros too
Martin Poirier [Tue, 5 Jan 2010 20:32:20 +0000 (20:32 +0000)]
Description attributes for macros too

11 years agoIncreased minimal value for Point Density Texture "Radius" from 0.01 to 0.001.
Thomas Dinges [Tue, 5 Jan 2010 20:30:40 +0000 (20:30 +0000)]
Increased minimal value for Point Density Texture "Radius" from 0.01 to 0.001.

11 years agoPython descriptions were not getting used in tooltips.
Campbell Barton [Tue, 5 Jan 2010 20:19:54 +0000 (20:19 +0000)]
Python descriptions were not getting used in tooltips.

11 years agoBroke DNA yesterday (stupid sdna can't use macro for length).
Martin Poirier [Tue, 5 Jan 2010 20:18:45 +0000 (20:18 +0000)]
Broke DNA yesterday (stupid sdna can't use macro for length).

Only affected user preferences (all .B25.blend saved after revision 25726 would crash on load)

11 years agosanity check that prevents crashing when syncing poses,
Campbell Barton [Tue, 5 Jan 2010 19:34:19 +0000 (19:34 +0000)]
sanity check that prevents crashing when syncing poses,
attempted to do a partial sync with pose mode however this seems not easy at all since connected data gets lost, parents are invalid etc.

11 years agoMSVC 9 projectfiles
Andrea Weikert [Tue, 5 Jan 2010 19:22:48 +0000 (19:22 +0000)]
MSVC 9 projectfiles
* update for audaspace
* added object_bake.c

11 years agoMerge -c 25001,25310,25311,25638,25746 from COLLADA branch into trunk.
Arystanbek Dyussenov [Tue, 5 Jan 2010 17:42:01 +0000 (17:42 +0000)]
Merge -c 25001,25310,25311,25638,25746 from COLLADA branch into trunk.

11 years agoCOLLADA branch: bone anim export works. Export-import roundtrip is possible.
Arystanbek Dyussenov [Tue, 5 Jan 2010 16:07:10 +0000 (16:07 +0000)]
COLLADA branch: bone anim export works. Export-import roundtrip is possible.

Importer now takes mesh bind position into account.

TODO: read/write object-level anim on armatures and fix memleaks.

11 years agoParticles:
Brecht Van Lommel [Tue, 5 Jan 2010 15:23:09 +0000 (15:23 +0000)]

* Fix crash in mirror tool.
* Added X Mirror option back to the UI, flag is now same as the
  one for edit and paint modes, stored in the mesh.

11 years agoBUGFIX: revision 25736 (about 3 hours ago) introduced a problem in SDNA
Brecht Van Lommel [Tue, 5 Jan 2010 14:56:48 +0000 (14:56 +0000)]
BUGFIX: revision 25736 (about 3 hours ago) introduced a problem in SDNA
for drivers, which will cause files that include drivers and saved since
then to crash on load, and loading existing files to crash as well. This
commit fixes that problem. So, don't use builds from revision 25736-25743.

The problem is this line, SDNA does not support parsing #defines:

DriverTarget targets[MAX_DRIVER_TARGETS];

11 years agoFix #20569: scons missing BF_NO_ELBEEM from allowed command line options.
Brecht Van Lommel [Tue, 5 Jan 2010 14:30:55 +0000 (14:30 +0000)]
Fix #20569: scons missing BF_NO_ELBEEM from allowed command line options.

11 years agoFix #20571: run script operator crashes in 3d view.
Brecht Van Lommel [Tue, 5 Jan 2010 14:27:13 +0000 (14:27 +0000)]
Fix #20571: run script operator crashes in 3d view.

11 years agoAlt+B view clipping is now taken into account properly for sculpt, particle
Brecht Van Lommel [Tue, 5 Jan 2010 14:26:38 +0000 (14:26 +0000)]
Alt+B view clipping is now taken into account properly for sculpt, particle
edit and snapping, by clipping the view ray.

11 years agofix for bpyob.foreach_set(), when the list is empty
Campbell Barton [Tue, 5 Jan 2010 13:55:51 +0000 (13:55 +0000)]
fix for bpyob.foreach_set(), when the list is empty

11 years agoRevert previous preview render commit, causing some problems
Matt Ebb [Tue, 5 Jan 2010 12:14:18 +0000 (12:14 +0000)]
Revert previous preview render commit, causing some problems

11 years agoQuick fix for layout of Transform Channel var type, since on smaller regions, the...
Joshua Leung [Tue, 5 Jan 2010 12:12:26 +0000 (12:12 +0000)]
Quick fix for layout of Transform Channel var type, since on smaller regions, the widget sizes were too small to be useful.

11 years agoQuick fix for previous commit - changing order of items in the variable type menu...
Joshua Leung [Tue, 5 Jan 2010 12:03:32 +0000 (12:03 +0000)]
Quick fix for previous commit - changing order of items in the variable type menu to make it easier to use the transform one.

Also, forgot to mention in previous commit that I tweaked the path-renaming code to only rename driver targets that were being used, and commenting out some code there that wouldn't work...

11 years agoMore Driver Fixes:
Joshua Leung [Tue, 5 Jan 2010 11:59:12 +0000 (11:59 +0000)]
More Driver Fixes:
* Fixed Driver version-patching code to work correctly again with the new system.

* Fix for bug #20484, by adding a new driver variable type ('Transform Channel') which makes it easier to use object/bone transforms as in the past. The main differences with using this (compared with the 'Single Prop' type) are that this allows for 'final' transforms to get used instead (i.e. constraints are also taken into account), and also that this variable type can only be used for transforms (more limited scope -> less flexibility -> point-n-click goodies can follow). Mancandy now loads correctly again.

* Added toggle for local vs worldspace transforms when working with Rot/Loc Diff variable types, and also for the newly added Transform Channel

* Removed some dead code from sequencer...

11 years agoobscure feature: Display Custom Bone Shape at another bones transform.
Campbell Barton [Tue, 5 Jan 2010 11:47:43 +0000 (11:47 +0000)]
obscure feature: Display Custom Bone Shape at another bones transform.
Brecht and I took a fair bit of convincing on this one however Cessen was jumping through hoops to do without this feature.
Having the shape being an external mesh deformed by its own armature, which were both hidden but in the same layer *(so the depgraph would update them).
Without this some of the bones in the rig also dont make much sense when animating with.

11 years agospeedup for driver execution, use PyUnicode_InternFromString() for variable names...
Campbell Barton [Tue, 5 Jan 2010 10:54:54 +0000 (10:54 +0000)]
speedup for driver execution, use PyUnicode_InternFromString() for variable names, cache hash and string -> unicode conversion for driver variables.

11 years ago* Modifications to node editor 'make links' tool, after some requests by Soenke
Matt Ebb [Tue, 5 Jan 2010 06:49:29 +0000 (06:49 +0000)]
* Modifications to node editor 'make links' tool, after some requests by Soenke

Now it automatically decides how to connect the nodes up, based on the node positions. This lets you do fun stuff like in this video:

11 years agoMacro: insert macro properties into sub operator properties when run (this enables...
Martin Poirier [Tue, 5 Jan 2010 03:31:57 +0000 (03:31 +0000)]
Macro: insert macro properties into sub operator properties when run (this enables you to set a parameter on the macro itself and have the operator it runs use it). Note that macro properties are not initialized from its operators yet, you have to add them manually. Also, this isn't really nice if two operators in the macro have the same property.

11 years agoIDGroup utility function to copy a group inside another one
Martin Poirier [Tue, 5 Jan 2010 03:29:41 +0000 (03:29 +0000)]
IDGroup utility function to copy a group inside another one

11 years agoRename extrude macro "Extrude and Move" (less confusion with the Extrude operator...
Martin Poirier [Tue, 5 Jan 2010 03:26:11 +0000 (03:26 +0000)]
Rename extrude macro "Extrude and Move" (less confusion with the Extrude operator that just creates geometry and doesn't move it)

11 years agoAdded render layer 'enable' toggles for render layer list view
Matt Ebb [Tue, 5 Jan 2010 03:09:11 +0000 (03:09 +0000)]
Added render layer 'enable' toggles for render layer list view

11 years agoMore "Window" terminology corrections
Matt Ebb [Tue, 5 Jan 2010 03:06:02 +0000 (03:06 +0000)]
More "Window" terminology corrections

11 years agoMacro used wrong length for idname (also use OP_MAX_TYPENAME more often so it doesn...
Martin Poirier [Tue, 5 Jan 2010 03:01:04 +0000 (03:01 +0000)]
Macro used wrong length for idname (also use OP_MAX_TYPENAME more often so it doesn't blow up if changed)

11 years agoMore specific notifiers for preview render jobs
Matt Ebb [Tue, 5 Jan 2010 01:59:37 +0000 (01:59 +0000)]
More specific notifiers for preview render jobs

11 years agoFix for some confusing terminology: Window type -> Editor type
Matt Ebb [Tue, 5 Jan 2010 00:45:05 +0000 (00:45 +0000)]
Fix for some confusing terminology: Window type -> Editor type

Correct hierarchy of terminology should be:
* Window (OS level window with borders)
* Area (top level subdivision in Blender UI), containing an
* Editor (actual UI functionality such as 3D View, Properties)
* Region (subdivision of an area, i.e. a header, a properties panel or toolbar)

11 years agoNetrender:
Thomas Dinges [Mon, 4 Jan 2010 22:41:21 +0000 (22:41 +0000)]
Tooltips for chunks/priority were swapped.

11 years agopatch from Benoit Bolsee (ben2610) for 4 bugs in report [#20527] Several bugs in RNA
Campbell Barton [Mon, 4 Jan 2010 22:30:09 +0000 (22:30 +0000)]
patch from Benoit Bolsee (ben2610) for 4 bugs in report [#20527] Several bugs in RNA

from the report...

# bug 1. UV properties are not raw editable but are reported
#        as RAW_TYPE_INT by RNA causing wrong conversion
#        internally (bpy_rna.c line 2205)
# bug 2. raw update of UV coordinates crash blender (rna_access.c line 252)
mtfaces.foreach_set("uv", rawuvs)
# workaround:
#for i in range(int(len(faces)/4)):
#   mtfaces[i].uv = uvs[i]

# bug 3. raw update of non-array property fails (rna_access.c line 2270)
mfaces.foreach_set("material_index", mats)
# workaround:
# for i in range(int(len(mfaces))):
#    mfaces[i].material_index = mats[i]

# bug 4. It is not possible to add a vertex color layer using mesh API.
# no workaround...

11 years agogrease pencil 'Only Endpoints' option wasnt working when the entire zbuffer was filled.
Campbell Barton [Mon, 4 Jan 2010 21:37:09 +0000 (21:37 +0000)]
grease pencil 'Only Endpoints' option wasnt working when the entire zbuffer was filled.

11 years agoDurian Request: Drivers Recode
Joshua Leung [Mon, 4 Jan 2010 21:15:45 +0000 (21:15 +0000)]
Durian Request: Drivers Recode

* Support for Multi-Target Variables
This was the main reason for this recode. Previously, variables could only be used to give some RNA property used as an input source to the driver a name. However, this meant that effects such as Rotational Difference couldn't be used in conjunction with other effects and/or settings to achieve the powerful results. Now, a variable can take several input targets, perform some interesting operations on them, and spit out a representative value based on that.

* New Variable Types
With the introduction of multi-target variables, there are now 3 types of variable that can be used: single property (i.e. the only type previously), Rotational Difference (angle between two bones), and Distance (distance between two objects or bones).

* New Driver Types
In addition to the existing 'Average', 'Sum', and 'Expression' types, there is now the additional options of 'Minimum' and 'Maximum'. These take the smallest/largest value that one of the variables evaluates to.

* Fix for Driver F-Curve colouring bug
Newly added drivers did not get automatically coloured in the Graph Editor properly. Was caused by inappropriate notifiers being used.

* This commit breaks existing 2.5 files with drivers (in other words, they are lost forever).
* Rigify has been corrected to work with the new system. The PyAPI for accessing targets used for the variables could still be made nicer (using subclassing to directly access?), but that is left for later.
* Version patching for 2.49 files still needs to be put back in place.

11 years agodict.get() defaults to None as the second arg. no need to supply it.
Campbell Barton [Mon, 4 Jan 2010 21:10:51 +0000 (21:10 +0000)]
dict.get() defaults to None as the second arg. no need to supply it.

11 years agonetrender: reset server address on client when server is offline (on file load) as...
Martin Poirier [Mon, 4 Jan 2010 21:05:52 +0000 (21:05 +0000)]
netrender: reset server address on client when server is offline (on file load) as well as clear local caches (for slaves and jobs)

11 years agopyrna array slice assignment
Campbell Barton [Mon, 4 Jan 2010 20:53:52 +0000 (20:53 +0000)]
pyrna array slice assignment
- accept any sequence
- disallow deleting & resizing via slices

11 years agotransform:
Martin Poirier [Mon, 4 Jan 2010 20:49:42 +0000 (20:49 +0000)]

Rotation operator now saves axis of rotation (when not using a constraint). Better for operator redo and tweak (would use a Z axis because of matrix init)

Also fix crash in Translation operator redo and tweak (rv3d is not always available).

11 years agobugfix: macro redo could crash because of not nulled freed pointer.
Martin Poirier [Mon, 4 Jan 2010 20:18:13 +0000 (20:18 +0000)]
bugfix: macro redo could crash because of not nulled freed pointer.

11 years agoFix: curve reset for brushes now gives proper smooth curve as default,
Brecht Van Lommel [Mon, 4 Jan 2010 17:28:37 +0000 (17:28 +0000)]
Fix: curve reset for brushes now gives proper smooth curve as default,
also moved brush curve presets code into curvemapping code.

11 years agodupli faces inherit scale wasnt using the right flag internally.
Campbell Barton [Mon, 4 Jan 2010 17:27:23 +0000 (17:27 +0000)]
dupli faces inherit scale wasnt using the right flag internally.
 dupli_frames_no_speed --> use_dupli_frames_speed
 dupli_verts_rotation --> use_dupli_verts_rotation
 dupli_faces_inherit_scale --> use_dupli_faces_scale

11 years agoSculpt: fix, disable border/circle/mouse select operators in sculpt mode.
Brecht Van Lommel [Mon, 4 Jan 2010 17:03:44 +0000 (17:03 +0000)]
Sculpt: fix, disable border/circle/mouse select operators in sculpt mode.

11 years agoSculpt:
Brecht Van Lommel [Mon, 4 Jan 2010 16:53:32 +0000 (16:53 +0000)]

* Fix #20482: grab brush + size pressure sensitivity don't work
  together, disabled the pressure sensitivty for that case now.
* Fix for smooth brush messing up mesh sometimes, smooth factor
  is now clamped to reasonable range.
* Fix #20449: smooth brush + mirror modifier could crash.

11 years agoFix #20561: keymap editing after using search could edit wrong keymap item.
Brecht Van Lommel [Mon, 4 Jan 2010 16:48:14 +0000 (16:48 +0000)]
Fix #20561: keymap editing after using search could edit wrong keymap item.

11 years agoAdded OpenGL debugging function to print state information, was using this as
Brecht Van Lommel [Mon, 4 Jan 2010 16:28:59 +0000 (16:28 +0000)]
Added OpenGL debugging function to print state information, was using this as
a patch here for a while but might as well commit it.

11 years agocopy modifiers, as "Link Modifiers" - in Ctrl+L menu. difference between copy and...
Campbell Barton [Mon, 4 Jan 2010 16:26:07 +0000 (16:26 +0000)]
copy modifiers, as "Link Modifiers" - in Ctrl+L menu. difference between copy and link is vague especially since particle systems are ID data.

11 years agoFix #20558: open file with new window setup corrupts text and icons in the UI.
Brecht Van Lommel [Mon, 4 Jan 2010 16:26:03 +0000 (16:26 +0000)]
Fix #20558: open file with new window setup corrupts text and icons in the UI.

On X11, the opengl context was destroyed when closing a window. This lead to
the text and icon textures being lost (among other things), now the opengl
context is kept like on Win/Mac.

11 years agoobject.group_users, object.scene_users
Campbell Barton [Mon, 4 Jan 2010 15:37:22 +0000 (15:37 +0000)]
object.group_users, object.scene_users
utility functions to find the groups and scenes this object is used in.

button to set the group location from the cursor (UI is horrible but not any nice place to add?)

smarp project would fail if there were linked meshes in the scene, made ID.tag ignore the library, so you can tag linked data since its only for tools to use.

normalize the vertex normal before setting and use inline vector functions.

11 years agopatch from Guillaume Bouchard for setting vertex normals, (lost when existing editmod...
Campbell Barton [Mon, 4 Jan 2010 15:25:21 +0000 (15:25 +0000)]
patch from Guillaume Bouchard for setting vertex normals, (lost when existing editmode but still useful in some cases)

11 years agouse a smaller threshold for mesh mirror, workaround for sintels face.
Campbell Barton [Mon, 4 Jan 2010 14:59:53 +0000 (14:59 +0000)]
use a smaller threshold for mesh mirror, workaround for sintels face.
Better solutions could be...
- use a tool to set mirror locations (did a script for this in 2.4x), then run this if locations get messed up..
- find the closest mirror vertex, would be slower
- have a configurable threshold.

11 years agocheck if newlibadr returns a valid pointer when running do-versions on animviz data
Campbell Barton [Mon, 4 Jan 2010 14:22:22 +0000 (14:22 +0000)]
check if newlibadr returns a valid pointer when running do-versions on animviz data

11 years agosupport for rna functions returning mathutils types - so object.rat_cast() returns...
Campbell Barton [Mon, 4 Jan 2010 13:29:55 +0000 (13:29 +0000)]
support for rna functions returning mathutils types - so object.rat_cast() returns Mathutils vectors rather then tuples

11 years agoWM_OT_context_set_* - more compact and check for the relative option without exceptio...
Campbell Barton [Mon, 4 Jan 2010 08:24:24 +0000 (08:24 +0000)]
WM_OT_context_set_* - more compact and check for the relative option without exception handling.

11 years ago* Tweaks for node editor Make Links (F key)
Matt Ebb [Mon, 4 Jan 2010 04:26:28 +0000 (04:26 +0000)]
* Tweaks for node editor Make Links (F key)

Testing a new method that hopefully will be faster to use than finicky socket
selection - now just select multiple nodes and press F - available output sockets
on the selected nodes will get automatically connected to the active node.

It works for one socket type each time, to avoid getting lots of extra connections
when you join up, but as a shortcut you can easily press F again to connect up
other socket types. For example, to connect a render layer node (with vector pass)
to a vector blur node, select the render layer then the vector blur, and press F
three times to connect up the Image, Z and Vector sockets. It now also
preferences sockets with the same name to connect up first.

There's also another option (ctrl F) which will replace existing input links, rather
than only connecting up links to available input sockets.

* Also changed socket link knife cut to a more convenient shortcut - Ctrl LMB tweak

11 years agoFix for previous commit - broke WM_OT_context_set_* operators for non float/int types.
Matt Ebb [Mon, 4 Jan 2010 01:39:37 +0000 (01:39 +0000)]
Fix for previous commit - broke WM_OT_context_set_* operators for non float/int types.

11 years ago* Added back some shortcuts from 2.4x using ctrl/alt/shift/etc mouse wheel to scrub...
Matt Ebb [Mon, 4 Jan 2010 00:39:55 +0000 (00:39 +0000)]
* Added back some shortcuts from 2.4x using ctrl/alt/shift/etc mouse wheel to scrub frames, pan view, etc.

* Redraw the 3D View on brush edit changes (for [ and ] keys)

11 years ago* Added new hotkeys [ and ] to decrease/increase brush size by 20 in all paint modes.
Matt Ebb [Mon, 4 Jan 2010 00:18:08 +0000 (00:18 +0000)]
* Added new hotkeys [ and ] to decrease/increase brush size by 20 in all paint modes.
The actual value to increment/decrement by can be customised in key maps.

11 years ago* Fix tooltip for reset default values
Matt Ebb [Sun, 3 Jan 2010 23:46:19 +0000 (23:46 +0000)]
* Fix tooltip for reset default values

* Redraw 3D View tool shelf on texture changes (to reflect new brush textures)

11 years agoPatch from Raul Fernandez Hernandez - volume render multiple scattering fixes
Matt Ebb [Sun, 3 Jan 2010 23:45:13 +0000 (23:45 +0000)]
Patch from Raul Fernandez Hernandez - volume render multiple scattering fixes

Also: Changed 'Spread' value to be proportional to the light cache voxel grid
(i.e. 0.5 spreads half the width of the grid), so that it's independent of light
cache resolution. This means that results should be similar as you increase/
decrease resolution.

11 years agoOS X Makefiles:
Stefan Gartner [Sun, 3 Jan 2010 20:35:13 +0000 (20:35 +0000)]
OS X Makefiles:
 * added some new variables (mostly the same as with scons):
  - USE_COCOA: use Cocoa for ghost (defaults to true)
  - MACOSX_ARCHITECTURE: can be ppc, ppc64, i386, x86_64. By default this is the host architecture
    (ppc for PowerPC Macs, i386 for Intel Macs). In theory this allows to cross compile blender for
    a different architecture, though cross compilation only works on Intel Macs, because makesdna
    and makesrna are built for the target architecture.
    For a 64 bit build, set MACOSX_ARCHITECTURE to x86_64 (Intel) or ppc64 (PowerPC).
  - MACOSX_MIN_VERS: minimum OS X version to run blender on (10.4 for 32 bit builds, 10.5 for 64 bit    builds)
  - MACOSX_DEPLOYMENT_TARGET: needed by the linker to create an Application targeted for a specific
    OS version (defaults to 10.4 for 32 bit builds, 10.5 for 64 bit builds)
  - MACOSX_SDK: path to a specific SDK. currently not used
  - USE_QTKIT: use QTKit instead of QuickTime (defaults to true for 64 bit builds, as using QTKit
    is mandatory in that case))
 * use the same compiler flags as scons
 * default compiler now is gcc-4.0 when building for 10.4 and gcc-4.2 when building for 10.5
 * extract $(LCGDIR)/release/python_$(MACOSX_ARCHITECTURE).zip to Application bundle. This might
   break building on 10.4, to fix that, rename $(LCGDIR)/release/

When compiling blender, only MACOSX_ARCHITECTURE might be of interest, as it allows doing 64 bit
builds (or 32 bit PowerPC builds on Intel). All other variables are then set to reasonable defaults.
For current users of the Makefile system, this commit shouldn't change much.

11 years agoStickness factor for particle collisions, patch submitted by Raul Fernandez Hernandez...
Janne Karhu [Sun, 3 Jan 2010 14:51:34 +0000 (14:51 +0000)]
Stickness factor for particle collisions, patch submitted by Raul Fernandez Hernandez (farsthary).

11 years agobound box check for retopo grease pencil convertsion before spline intersection checking
Campbell Barton [Sun, 3 Jan 2010 13:17:12 +0000 (13:17 +0000)]
bound box check for retopo grease pencil convertsion before spline intersection checking

11 years agoTweak to group operator naming
Matt Ebb [Sun, 3 Jan 2010 08:38:42 +0000 (08:38 +0000)]
Tweak to group operator naming

11 years agoChanges to Brush texture workflow
Matt Ebb [Sun, 3 Jan 2010 08:37:18 +0000 (08:37 +0000)]
Changes to Brush texture workflow

This changes how textures are accessed from Brushes, with the intention of simplifying
the workflow, and reducing the amount of clicking. Rather than the previous texture slots
(which didn't work as a stack anyway), brushes now have a single texture linked. Rather
than taking time having to set up your slots in advance, you can now select and change
textures directly as you sculpt/paint on the fly. For complex brushes, node textures can
be used, or for fast access, it's easy to make a duplicate of your brush with the texture
you like and assign a hotkey.

Brush textures can now be chosen from a new Textures panel in the brush tool
properties - click on the thumbnail to open a texture selector. This is done using a new
variation on the ID template - the number of rows and columns to display in the popup
can be customised in the UI scripts.

11 years agosolidify supports original mapping, so enable in the modifier.
Campbell Barton [Sun, 3 Jan 2010 05:49:56 +0000 (05:49 +0000)]
solidify supports original mapping, so enable in the modifier.
this means you can select the copied face (as with the mirror modifier)

11 years ago[#20450] Crash before creating a volumetric material.
Campbell Barton [Sun, 3 Jan 2010 05:40:33 +0000 (05:40 +0000)]
[#20450] Crash before creating a volumetric material.
- volumetric material must be traceable

11 years agobugfix [#20510] .blog file causes crash (again rev25592)
Campbell Barton [Sun, 3 Jan 2010 05:34:53 +0000 (05:34 +0000)]
bugfix [#20510] .blog file causes crash (again rev25592)

11 years agobugfix [#20528] Crash when applying scale to a Bezier curve
Campbell Barton [Sun, 3 Jan 2010 05:08:56 +0000 (05:08 +0000)]
bugfix [#20528] Crash when applying scale to a Bezier curve

11 years agofreeing particle modifier would access freed memory (only to tak the psys to be delet...
Campbell Barton [Sun, 3 Jan 2010 04:35:51 +0000 (04:35 +0000)]
freeing particle modifier would access freed memory (only to tak the psys to be deleted), set to NULL after freeing and check before tagging.

11 years ago- disallow the change the layer operator in localview.
Campbell Barton [Sun, 3 Jan 2010 04:21:40 +0000 (04:21 +0000)]
- disallow the change the layer operator in localview.
- toggle setting the layers (mainly useful when accessed from the keys)

11 years ago[#20455] Spotlight halo with deep buffers: render crashes
Campbell Barton [Sun, 3 Jan 2010 03:18:48 +0000 (03:18 +0000)]
[#20455] Spotlight halo with deep buffers: render crashes

11 years agofix for [#20499] Smoot view doesn't work for all view keys.
Campbell Barton [Sun, 3 Jan 2010 03:01:46 +0000 (03:01 +0000)]
fix for [#20499] Smoot view doesn't work for all view keys.

11 years agobugfix [#20534] Blender crashes throghout compositing
Campbell Barton [Sun, 3 Jan 2010 02:53:01 +0000 (02:53 +0000)]
bugfix [#20534] Blender crashes throghout compositing

11 years agobugfix [#20542] Crash 2.50a0 Click event in Console window Report mode
Campbell Barton [Sun, 3 Jan 2010 02:34:00 +0000 (02:34 +0000)]
bugfix [#20542] Crash 2.50a0 Click event in Console window Report mode

11 years ago- WM_OT_context_cycle_int wasnt working (also wasnt used anywhere)
Campbell Barton [Sun, 3 Jan 2010 02:24:53 +0000 (02:24 +0000)]
- WM_OT_context_cycle_int wasnt working (also wasnt used anywhere)
- remove console zoom operator, use WM_OT_context_cycle_int instead.
- use WM_OT_context_cycle_int for text editor zoom also (Ctrl +/- and Ctrl+MouseWheel)

11 years agodont draw object centers when drawing the depth buffer, grease pencil would get its...
Campbell Barton [Sun, 3 Jan 2010 01:55:20 +0000 (01:55 +0000)]
dont draw object centers when drawing the depth buffer, grease pencil would get its depth messed up by object centers when with 'Surface' mode.
Also fix own error with drawing grease pencil depths, wasnt setting v3d->zbuf back to its original value.

11 years agogrease pencil retopo improvement: join lines when endpoints match are close and are...
Campbell Barton [Sun, 3 Jan 2010 01:30:07 +0000 (01:30 +0000)]
grease pencil retopo improvement: join lines when endpoints match are close and are co-linear within some error limits.
still very slow, needs some speedups.

11 years agogrease pencil depth option 'Stroke Endpoints' works well when painting onto mesh...
Campbell Barton [Sat, 2 Jan 2010 23:56:14 +0000 (23:56 +0000)]
grease pencil depth option 'Stroke Endpoints' works well when painting onto mesh surfaces as well as other grease pencil lines. change ui to show this.

11 years agopatch from Cessen
Campbell Barton [Sat, 2 Jan 2010 23:43:46 +0000 (23:43 +0000)]
patch from Cessen
Adds a new set of bones to rig types which are to be used for weight paint vgroups, in some these have some more segments to account for twist. also use Aligoriths new copy transform constraint.

11 years agonew python submodule. eg.
Campbell Barton [Sat, 2 Jan 2010 23:14:01 +0000 (23:14 +0000)]
new python submodule. eg.
from import binary_path, version, version_string, home

can add constant variables from blender here as needed (maybe functions too... ?)