blender.git
9 years agoAuto-Keyframing and Clear Transform Operators:
Joshua Leung [Mon, 23 Nov 2009 11:58:30 +0000 (11:58 +0000)]
Auto-Keyframing and Clear Transform Operators:

Clear Location/Rotation/Scale (Alt-G/R/S) now insert keyframes when Auto-Keyframing is enabled.

9 years ago2.5 internal bugfix: remove modal handlers before exiting the screen,
Brecht Van Lommel [Mon, 23 Nov 2009 11:49:23 +0000 (11:49 +0000)]
2.5 internal bugfix: remove modal handlers before exiting the screen,
since these may be using it.

9 years agomore ui api changes.
Campbell Barton [Mon, 23 Nov 2009 11:43:38 +0000 (11:43 +0000)]
more ui api changes.
- remove functions such as operator_int(), operator_enum(), operator_string
  this mixed with keyword arguments in a way that made them hard to read.
  Instead, have operator() always return properties rather then needing an argument.

- rename prop_pointer() --> prop_object(), pointer is more a C thing.

- missed item_enumR(), rename to prop_enum()

9 years agoVarious bugfixes:
Joshua Leung [Mon, 23 Nov 2009 09:47:56 +0000 (09:47 +0000)]
Various bugfixes:
* Tweaked the code for operator buttons so that only those operator buttons in the toolbar have their text left-aligned. This is done at layout-block level

* Silenced "file_init" print when opening the file browser

* Disabled animateability of the "active_shape_key_index" for Objects, since this property behaves in a very unpredictable manner, leading to problems with users trying to keyframe shapekey values and ending up keying the list.

* Remove some unnecessary RNA wrapping code

9 years agofix for py errors and missing return
Campbell Barton [Mon, 23 Nov 2009 09:28:42 +0000 (09:28 +0000)]
fix for py errors and missing return

9 years agoBugfix - Hook Operators:
Joshua Leung [Mon, 23 Nov 2009 02:27:52 +0000 (02:27 +0000)]
Bugfix - Hook Operators:

These now work for curves, nurbs, and lattices in addition to meshes again.

9 years agoepydocs for bge pre/post render callbacks
Campbell Barton [Mon, 23 Nov 2009 01:10:47 +0000 (01:10 +0000)]
epydocs for bge pre/post render callbacks

9 years agotemp hack to make the popup show wider when running the edit description operator
Campbell Barton [Mon, 23 Nov 2009 00:56:19 +0000 (00:56 +0000)]
temp hack to make the popup show wider when running the edit description operator

9 years agorna UI api rename...
Campbell Barton [Mon, 23 Nov 2009 00:27:30 +0000 (00:27 +0000)]
rna UI api rename...
note: this aims to follow pep8 however I chose to use 'prop/props' rather then 'property/properties' because it would make function names too long.

itemR() --> prop()
items_enumR() --> props_enum()
item_menu_enumR() --> prop_menu_enum()
item_pointerR() --> prop_pointer()
itemO() --> operator()
item_enumO() --> operator_enum()
items_enumO() --> operator_enums()
item_menu_enumO() --> operator_menu_enum()
item_booleanO() --> operator_boolean()
item_intO() --> operator_int()
item_floatO() --> operator_float()
item_stringO() --> operator_string()
itemL() --> label()
itemM() --> menu()
itemS() --> separator()

batch script used http://www.pasteall.org/9345

9 years ago(no commit message)
Joshua Leung [Mon, 23 Nov 2009 00:03:51 +0000 (00:03 +0000)]

9 years ago* Changed default shortcut key for 'center view to cursor' to ctrl numpad .
Matt Ebb [Sun, 22 Nov 2009 23:57:06 +0000 (23:57 +0000)]
* Changed default shortcut key for 'center view to cursor' to ctrl numpad .

9 years agoBugfixes:
Joshua Leung [Sun, 22 Nov 2009 23:11:32 +0000 (23:11 +0000)]
Bugfixes:

* Restored Center View to 3D Cursor. For now, I've mapped this to QKEY since all other nice combinations of CKEY have been taken now.

* Fixed bug introduced in commit last night where parenting lattice to armatures with deforms would no longer work.

9 years agoRepair display of iTaSC IK constraint. Fix crash in GE with high priority action...
Benoit Bolsee [Sun, 22 Nov 2009 22:42:57 +0000 (22:42 +0000)]
Repair display of iTaSC IK constraint. Fix crash in GE with high priority action overwriting low priority action.

9 years ago* Fix for [#19941] File Browser : inability to select multiple files
Matt Ebb [Sun, 22 Nov 2009 22:23:58 +0000 (22:23 +0000)]
* Fix for [#19941] File Browser : inability to select multiple files

Added border select on LMB tweak by default, and added shift-lmb to select multiple

9 years agoneeded to assign some values as bool's
Campbell Barton [Sun, 22 Nov 2009 22:09:06 +0000 (22:09 +0000)]
needed to assign some values as bool's

9 years agoFix MSVC project files for blenderplayer: the player compiles and runs properly in...
Benoit Bolsee [Sun, 22 Nov 2009 21:55:59 +0000 (21:55 +0000)]
Fix MSVC project files for blenderplayer: the player compiles and runs properly in debug and release mode. Still a problem with scons: the player compiles but crashes on startup.

9 years agorna functions were getting away with passing the string "True" instead of True, chang...
Campbell Barton [Sun, 22 Nov 2009 21:51:12 +0000 (21:51 +0000)]
rna functions were getting away with passing the string "True" instead of True, changed get the integer value and test its 1 or 0.

allow rna function return values as an exception since so many poll functions do... "return (context.blah and context.foo)", that makign all return bool's isnt that nice.

9 years agonote:
Campbell Barton [Sun, 22 Nov 2009 21:47:55 +0000 (21:47 +0000)]
note:
for a single tuple the last comma is needed. ('SOUND', ), otherwise its just a string.

 string in "STRING"
...is the same as
 string in ("STRING")
...which checks the substring, its normally used like this
 if string in "maybe one of these words contains STRING"

in this case its better just to do ==

9 years agoSequencer:
Thomas Dinges [Sun, 22 Nov 2009 21:16:04 +0000 (21:16 +0000)]
Sequencer:
* It's now possible to set the scene for a scene strip.

9 years ago== Sequencer ==
Peter Schlaile [Sun, 22 Nov 2009 20:49:13 +0000 (20:49 +0000)]
== Sequencer ==

Broad back SCENE-rendering. (Hopefully did everything right)

Still missing: UI part (one can't select a scene, neither on add nor
in N-keys dialog...)

9 years agoAdding undo flag to the python run flag operator.
Martin Poirier [Sun, 22 Nov 2009 20:26:54 +0000 (20:26 +0000)]
Adding undo flag to the python run flag operator.

It's safer this way.

9 years agofilebrowser
Andrea Weikert [Sun, 22 Nov 2009 20:24:36 +0000 (20:24 +0000)]
filebrowser
* fix typo in operator property
* respect user setting for hide dot files

9 years ago== Sequencer ==
Peter Schlaile [Sun, 22 Nov 2009 20:22:35 +0000 (20:22 +0000)]
== Sequencer ==

This should make animations in sequencer work again at most
places.

It removes facf0 and facf1 and replaces them by

* effect_fader (the fader position for transition effects
  limited 0-1 value range)
* speed_fader (full range fader for speed effect)

Also: default transitions should work again.

Still not working: non-IPO-locked curves. (Don't really know,
if we can / want to bring them back in new animation system.)

9 years agoblender.html:
Thomas Dinges [Sun, 22 Nov 2009 18:57:16 +0000 (18:57 +0000)]
blender.html:
* Renaming header to alpha 0.
* Some updates for the Python Installation notes.

9 years ago== Sequencer ==
Peter Schlaile [Sun, 22 Nov 2009 17:58:33 +0000 (17:58 +0000)]
== Sequencer ==

seqUniqueName() call was missing for effect strips.

9 years agouse is rather then == when comparing with singletons (None/False/True), its faster...
Campbell Barton [Sun, 22 Nov 2009 17:41:35 +0000 (17:41 +0000)]
use is rather then == when comparing with singletons (None/False/True), its faster and suggested by pep8

9 years ago== Sequencer ==
Peter Schlaile [Sun, 22 Nov 2009 17:35:26 +0000 (17:35 +0000)]
== Sequencer ==

"reload" should be "refresh all" on the sequencer header.

9 years ago2.5: Emulate numpad works again.
Brecht Van Lommel [Sun, 22 Nov 2009 16:33:47 +0000 (16:33 +0000)]
2.5: Emulate numpad works again.

9 years agoCMake: OS X build did not have proper warnings set by default, copied the
Brecht Van Lommel [Sun, 22 Nov 2009 16:33:00 +0000 (16:33 +0000)]
CMake: OS X build did not have proper warnings set by default, copied the
flags from non-apple Unix configuration.

9 years ago* Update of the blender.html. Still lacks a bit, but better than before. Everyone...
Thomas Dinges [Sun, 22 Nov 2009 15:19:18 +0000 (15:19 +0000)]
* Update of the blender.html. Still lacks a bit, but better than before. Everyone, feel free to improve.

9 years agofix for py error when no text is displayed
Campbell Barton [Sun, 22 Nov 2009 15:15:11 +0000 (15:15 +0000)]
fix for py error when no text is displayed

9 years agomissing decref from patch #19258
Campbell Barton [Sun, 22 Nov 2009 14:57:19 +0000 (14:57 +0000)]
missing decref from patch #19258

9 years ago[#19258] [patch] Adding drawing capabilities to BGE Python
Campbell Barton [Sun, 22 Nov 2009 14:42:22 +0000 (14:42 +0000)]
[#19258] [patch] Adding drawing capabilities to BGE Python
patch from Mitchell Stokes (moguri)

simple use case
 scene.post_draw = [pyOpenGLFunc]

this only needs to be set once, then the funcion runs each redraw.

note, this patch also changes how python scripts run (not modules): Dont clear the namespace after running a script, since functions still use the namespace, BGE API is now better when dealing with stale data.

made some changes to this patch.
- assigning a list didnt decrement the existing list.
- initialize as NULL rather then a blank list
- dont use string comparisons for the callbacks, pass the python list to use instead.
- dont check the list items are callable. python will display an error if they are not.
- use python list macros that dont do any type checking sine blender does this when assigning the list

---- from tracker, edited since an updated patch changes some things.
Here is a patch to be able to draw to the screen with BGE Python. This will be very handy for GUI stuff. This patch
works by having the user register a callback in the scene. Two options are available KX_Scene.pre_draw
and KX_Scene.post_draw. The difference between these is when Python draws to the screen (before or after the BGE).
Each can take a list of functions. Here is an example that draws a blue semi-transparent

9 years ago* Added fps and fps_base to some Render presets. They were missing there.
Thomas Dinges [Sun, 22 Nov 2009 14:10:58 +0000 (14:10 +0000)]
* Added fps and fps_base to some Render presets. They were missing there.

9 years ago* New option on modifiers that don't change topology: Apply as Shape
Matt Ebb [Sun, 22 Nov 2009 13:44:09 +0000 (13:44 +0000)]
* New option on modifiers that don't change topology: Apply as Shape

Rather than applying the modifier to the object data, it will create a new shape
with the deformed vertices in there. Only mesh at the moment, other object
types on the todo.

9 years agoMSVC 9 projectfiles
Andrea Weikert [Sun, 22 Nov 2009 13:15:36 +0000 (13:15 +0000)]
MSVC 9 projectfiles
* Added GLEW_STATIC where necessary to make Blender compile again
* First attempt at compiling blenderplayer again - compiles, but doesn't link yet
* removed deprecated SND_ functions from blenderplayer

9 years ago- add cloth button wasnt working because it was set to execute the operator.
Campbell Barton [Sun, 22 Nov 2009 13:15:21 +0000 (13:15 +0000)]
- add cloth button wasnt working because it was set to execute the operator.
- for adding an operator, start with a blank name and dont write the default one. (still writes each name you type in, will need to fix this properly)
- move the AddPresetBase class into presets.py since all the presets are defined there.

9 years agoJust a few compiler warnings...
Joshua Leung [Sun, 22 Nov 2009 12:45:37 +0000 (12:45 +0000)]
Just a few compiler warnings...

9 years agoParenting and Deforms:
Joshua Leung [Sun, 22 Nov 2009 12:28:38 +0000 (12:28 +0000)]
Parenting and Deforms:

Parenting an object to some deformer (i.e. Armature, Curve, Lattice) now adds a new modifier if the object is deformable.

The advantages of this over setting PAR_SKEL mode are:
- instead of a hidden 'virtual' modifier, the user has direct feedback about what sort of modifier is being applied to deform
- most of the time in 2.4, whenever a virtual modifier was added, users would inevitably end up clicking "Make Real" on it

Of course, it's still possible to get 'virtual' modifiers by setting the parent type using the menu-property, but this just makes general setup easier.

9 years agoAdded a first version of the Sound F-Curve Modifier, not really usable yet, but you...
Joerg Mueller [Sun, 22 Nov 2009 12:10:45 +0000 (12:10 +0000)]
Added a first version of the Sound F-Curve Modifier, not really usable yet, but you can play around with it.

9 years agouse context member rather then modifier name in presets
Campbell Barton [Sun, 22 Nov 2009 11:33:44 +0000 (11:33 +0000)]
use context member rather then modifier name in presets

9 years ago- hide members of bpy from dir() and autocomp.
Campbell Barton [Sun, 22 Nov 2009 11:23:19 +0000 (11:23 +0000)]
- hide members of bpy from dir() and autocomp.
- path functions bpy.utils.script_paths(), bpy.utils_preset_paths(subdir)
- further simplified presets, use a generic draw function for preset menus and define the preset subdir and operator in the class

9 years agoSmall tweak to file-loading code for F-Curves so that F-Modifiers using library data...
Joshua Leung [Sun, 22 Nov 2009 11:15:38 +0000 (11:15 +0000)]
Small tweak to file-loading code for F-Curves so that F-Modifiers using library data get re-loaded correct

9 years ago* Minor cleanups.
Thomas Dinges [Sun, 22 Nov 2009 10:32:37 +0000 (10:32 +0000)]
* Minor cleanups.
* Added Cloth Presets. Patch by nudelZ. Thanks!

9 years ago* Minor Cleanup.
Thomas Dinges [Sun, 22 Nov 2009 10:06:08 +0000 (10:06 +0000)]
* Minor Cleanup.

9 years agoremove template uiTemplate_view3d_select_faceselmenu
Campbell Barton [Sun, 22 Nov 2009 10:02:32 +0000 (10:02 +0000)]
remove template uiTemplate_view3d_select_faceselmenu

9 years ago* Made particle painting use leftmouse, rather than actionmouse, consistent with...
Matt Ebb [Sun, 22 Nov 2009 06:27:17 +0000 (06:27 +0000)]
* Made particle painting use leftmouse, rather than actionmouse, consistent with other paint tools

9 years agoPatch #19953: [2.5] repeated include entries in a number of SConscript files
Joshua Leung [Sun, 22 Nov 2009 06:22:53 +0000 (06:22 +0000)]
Patch #19953: [2.5] repeated include entries in a number of SConscript files

Thanks for the patch Jeff Doyle (nfz)

9 years ago* Re-implemented/refactored 3D View hooks menu.
Matt Ebb [Sun, 22 Nov 2009 06:20:56 +0000 (06:20 +0000)]
* Re-implemented/refactored 3D View hooks menu.
Now shares the same operators as the modifier buttons, works context-sensitive, and uses Python menu too.

* Cleanups/tweaks in 3D View vertex group menu

9 years agoMissing Transform Menus + Buggy Object Operators:
Joshua Leung [Sun, 22 Nov 2009 06:19:30 +0000 (06:19 +0000)]
Missing Transform Menus + Buggy Object Operators:
* Added missing menus, 'Transform' and 'Mirror'
- mirror menu seems to be resulting in some memory leaks with RNA_enum_items_add len: 160 038832F8

* Apply Rotation operator for Objects now takes into account the different rotation modes

9 years agoPatch #19952: [2.5] repeated include entry in SConscript for blender/editors/armature
Joshua Leung [Sun, 22 Nov 2009 02:59:52 +0000 (02:59 +0000)]
Patch #19952: [2.5] repeated include entry in SConscript for blender/editors/armature

Second #/intern/guardedalloc include removed. Thanks Jeff Doyle (nfz) for the patch.

9 years agoSSS presets, Thomas and I added these at the same time, however I meant to make this...
Campbell Barton [Sun, 22 Nov 2009 00:22:29 +0000 (00:22 +0000)]
SSS presets, Thomas and I added these at the same time, however I meant to make this a more general system.
this commit shows how to add a preset using the base preset class and menu with minimal effort.

9 years agomoving this file back, sorry for the noise
Campbell Barton [Sun, 22 Nov 2009 00:18:43 +0000 (00:18 +0000)]
moving this file back, sorry for the noise

9 years agolooks like we both added sss at once :) , removing since Im using the base class...
Campbell Barton [Sun, 22 Nov 2009 00:17:36 +0000 (00:17 +0000)]
looks like we both added sss at once :) , removing since Im using the base class and a single presets file

9 years agoFixed minor sound UI errors.
Joerg Mueller [Sun, 22 Nov 2009 00:11:53 +0000 (00:11 +0000)]
Fixed minor sound UI errors.

9 years ago* Added Subsurface Scattering Presets.
Thomas Dinges [Sun, 22 Nov 2009 00:03:42 +0000 (00:03 +0000)]
* Added Subsurface Scattering Presets.

Note: Add doesn't work, it writes some text into the file, not the values. (Maybe because the values are arrays?!)
Campbell, please check :)

9 years agoBGE: Removing OB prefix from object names - This will break scripts !!!! (also removi...
Dalai Felinto [Sun, 22 Nov 2009 00:01:52 +0000 (00:01 +0000)]
BGE: Removing OB prefix from object names - This will break scripts !!!! (also removing AC and ME :: internal changes only)

How it works now:
whenever you have to read/write object names you can do it without the prefix "OB". (it's not hard at all to fix scripts)

How it was before:
It was a mess :)
We had an inconsistent API where sometimes you had to input "OBname" and other "name" directly to assign object as data (usually in actuators).

Justification for the change:
Talking with Campbell we had since a while ago this feeling that this should be changed any time we were going to deprecate the API. So in order to deliver Blender 2.5beta0 with a more close-to-the-final API we decided that today was a good day to implement that.

Remaining issues:
1) VideoTexture uses IM or MA to identify the output material/texture. I haven't touched that, but it does look a bit off. (i.e. I didn't changed any MA, IM naming)
2) I didn't see the code of dynamic mesh. It may need to be edited as well.

9 years ago- aspectx wasnt saved in the render preset
Campbell Barton [Sat, 21 Nov 2009 23:55:14 +0000 (23:55 +0000)]
- aspectx wasnt saved in the render preset
- define a preset base class
- cleanup some comments and whitespace

9 years agosmall fix
Jens Ole Wund [Sat, 21 Nov 2009 23:06:13 +0000 (23:06 +0000)]
small fix
void SB_estimate_transform
no need for static now

9 years ago* Some cleanup for recent preset commit.
Thomas Dinges [Sat, 21 Nov 2009 22:54:02 +0000 (22:54 +0000)]
* Some cleanup for recent preset commit.
* Minor align fix for Frame Rate Buttons.

9 years agonew property for soft bodies
Jens Ole Wund [Sat, 21 Nov 2009 22:45:25 +0000 (22:45 +0000)]
new property for  soft bodies

sb->lcom   : Center Of Mass .. might be used to create loc IPO
sb_>lrot   : is a matrix[3] esitmates the roatation in world coordinates .. might be used to create rot IPO
sb_>lscale : is a matrix[3] esitmates the scaling   in world coordinates .. might be used to create scale IPO
(no python for that yet .. but may be matt has mercy on me )

can be cropped direclty  in soft body module by function
static void SB_estimate_transform(Object *ob,float lloc[3],float lrot[3][3],float lscale[3][3])

The targets lloc,lrot,lscale should work to be NULL, just in case you don't need it.

However i'd prefer if they were accessed via properties
which should be calculated automagically if
sb->solverflags & SBSO_ESTIMATEIPO
is set, like they do in draw_sb_motion(..) in drawobject.c

added static void draw_sb_motion(Scene *scene, Object *ob) to drawobject.c
for debuggering (had a hard time with destructive matrix operations )
if it causes any trouble with your build on any OS make sure to comment that away.
softbody.c and DNA should compile fine in any case.

9 years agorender presets, select from a directory, button to add own presets
Campbell Barton [Sat, 21 Nov 2009 21:39:20 +0000 (21:39 +0000)]
render presets, select from a directory, button to add own presets

9 years agopatch [#19796] GLEW update by Mitchell Stokes (Moguri)
Dalai Felinto [Sat, 21 Nov 2009 20:36:03 +0000 (20:36 +0000)]
patch [#19796] GLEW update by Mitchell Stokes (Moguri)

GLEW update to version 1.5.1 [11-03-08]
this opens room for Geometry Shader support.

* - Brecht, Campbell told me you did some local changes in order to make it right in Linux. I get to you in order to know what those changes are (or feel free to commit them directly)

9 years agoMore macro goodness.
Martin Poirier [Sat, 21 Nov 2009 19:49:11 +0000 (19:49 +0000)]
More macro goodness.

Macros now return finished if at least one operator in the macro finished properly. This is done to correctly insert an undo point.

This means that all the macros that combine with transform (extrude, loopcut, rip, duplicate) will correctly insert an undo step when transform is cancelled.

9 years agoUncomment header.
Guillermo S. Romero [Sat, 21 Nov 2009 19:26:02 +0000 (19:26 +0000)]
Uncomment header.

9 years agomade the merge limit show more precission and use a lower step.
Campbell Barton [Sat, 21 Nov 2009 18:12:45 +0000 (18:12 +0000)]
made the merge limit show more precission and use a lower step.

9 years agorna bge fix: using dynamode instead of mode for Dynamic Material option: Align to...
Dalai Felinto [Sat, 21 Nov 2009 17:50:08 +0000 (17:50 +0000)]
rna bge fix: using dynamode instead of mode for Dynamic Material option: Align to Normal (it was using Material->Shadow Receive)

9 years agopatch from Ronan Bignaux
Campbell Barton [Sat, 21 Nov 2009 17:41:09 +0000 (17:41 +0000)]
patch from Ronan Bignaux
use python3 print()

9 years agofix for [#19943] Selected object border color incorect
Campbell Barton [Sat, 21 Nov 2009 17:21:46 +0000 (17:21 +0000)]
fix for [#19943] Selected object border color incorect

9 years agofix for [#19940] Remove vertex color layer and remove texture layer operators don...
Campbell Barton [Sat, 21 Nov 2009 17:16:00 +0000 (17:16 +0000)]
fix for [#19940] Remove vertex color layer and remove texture layer operators don't work
- only when in mesh editmode.

9 years ago[#19930] Nurb CV select is failing because of view clipping
Campbell Barton [Sat, 21 Nov 2009 16:44:05 +0000 (16:44 +0000)]
[#19930] Nurb CV select is failing because of view clipping
- the clipping test function was using the rv3d->viewmatob where it needed to use the object matrix.
- added a local clipping member to rv3d, the clipping planes in object-space, avoids many matrix multiplications when testing verts or clipping pixels when projection painting.

9 years agofix for [#19655] Curve is a disaster
Campbell Barton [Sat, 21 Nov 2009 14:35:28 +0000 (14:35 +0000)]
fix for [#19655] Curve is a disaster
when changing curve twist I assumed 2D curves would not need dir or quat values set, however these are used when getting a path from a curve.
also added interp_v3_v3v3v3v3

9 years agopatch from Dave Plater which fixes some problems building the BGE with cmake
Campbell Barton [Sat, 21 Nov 2009 13:47:16 +0000 (13:47 +0000)]
patch from Dave Plater which fixes some problems building the BGE with cmake

9 years ago- added back Shift+Tab to toggle snap
Campbell Barton [Sat, 21 Nov 2009 13:01:28 +0000 (13:01 +0000)]
- added back Shift+Tab to toggle snap
- added curve tilt and shrink/fatten buttons into the toolbar
- fix typo in last commit for view3d snap header button

9 years agoonly show normal snap option in object mode
Campbell Barton [Sat, 21 Nov 2009 12:44:09 +0000 (12:44 +0000)]
only show normal snap option in object mode

9 years agoid properties for editbones and pose channels were not being freed in a number of...
Campbell Barton [Sat, 21 Nov 2009 11:26:09 +0000 (11:26 +0000)]
id properties for editbones and pose channels were not being freed in a number of cases,
added free_pose_channel(pchan) and use this in all places that free pose bones

9 years agopep8 cleanup & default select axis to negative (artist requst, make sense if you...
Campbell Barton [Sat, 21 Nov 2009 00:05:43 +0000 (00:05 +0000)]
pep8 cleanup & default select axis to negative (artist requst, make sense if you model the RHS and spend most time looping at the models front)

9 years ago* Made 'set active' vgroup menu fold out, rather than pop up new
Matt Ebb [Fri, 20 Nov 2009 22:53:39 +0000 (22:53 +0000)]
* Made 'set active' vgroup menu fold out, rather than pop up new

9 years agoNodes Editor: Restored 'Show Cyclic Dependencies' Operator (CKEY)
Joshua Leung [Fri, 20 Nov 2009 21:17:17 +0000 (21:17 +0000)]
Nodes Editor: Restored 'Show Cyclic Dependencies' Operator (CKEY)

9 years agoNode Editor - More Cleanups (Reshuffling):
Joshua Leung [Fri, 20 Nov 2009 21:04:41 +0000 (21:04 +0000)]
Node Editor - More Cleanups (Reshuffling):

- removing duplicate chunks of code -> hide unused sockets now works
- moving some functions to the files that they get called from -> view all/home
- made duplicate a macro operator like the other places that work like this, eliminating the unnecessary transform-related property there still
- removed a few chunks of unused code

9 years agoleft in print
Campbell Barton [Fri, 20 Nov 2009 21:00:09 +0000 (21:00 +0000)]
left in print

9 years agouse a metaclass to have operator attributes register and display in the order defined.
Campbell Barton [Fri, 20 Nov 2009 20:58:46 +0000 (20:58 +0000)]
use a metaclass to have operator attributes register and display in the order defined.

9 years agouse negative boolean option no_zbuf -> use_zbuf
Campbell Barton [Fri, 20 Nov 2009 20:53:23 +0000 (20:53 +0000)]
use negative boolean option no_zbuf -> use_zbuf

9 years ago* More small modifier improvements by nudelZ.
Thomas Dinges [Fri, 20 Nov 2009 20:40:29 +0000 (20:40 +0000)]
* More small modifier improvements by nudelZ.
* Code cleanup.

9 years agoRNA doc update. the "no_zbuf" flag in Defocus node was incorrectly doc'ed as "Use...
Roland Hess [Fri, 20 Nov 2009 19:18:48 +0000 (19:18 +0000)]
RNA doc update. the "no_zbuf" flag in Defocus node was incorrectly doc'ed as "Use Zbuffer" when it really should be "Ignore Zbuffer".

9 years agoImprovements to tab -> spaces conversions and use in the Text Editor:
Willian Padovani Germano [Fri, 20 Nov 2009 19:15:57 +0000 (19:15 +0000)]
Improvements to tab -> spaces conversions and use in the Text Editor:
- A single undo removes all 4 inserted spaces at once.
- Indent and unindent now use spaces.

The number of spaces is still hardcoded as 4. PS: Campbell sharing a couple of the minor todo's with me, thanks :).

9 years agoModifier Layout improvements (single column and normal) by nudelZ.
Thomas Dinges [Fri, 20 Nov 2009 18:01:39 +0000 (18:01 +0000)]
Modifier Layout improvements (single column and normal) by nudelZ.

9 years ago- dont define properties in the global script namespace
Campbell Barton [Fri, 20 Nov 2009 16:07:10 +0000 (16:07 +0000)]
- dont define properties in the global script namespace
- set __file__ when running scripts (filename or textblock name)

9 years agoFix for unitialized variable and resulting render artifacts
Brecht Van Lommel [Fri, 20 Nov 2009 15:07:16 +0000 (15:07 +0000)]
Fix for unitialized variable and resulting render artifacts
when setting project x/y/z to none with a procedural texture.

9 years agooption to have scripts run on startup for per blendfile UI's
Campbell Barton [Fri, 20 Nov 2009 15:01:09 +0000 (15:01 +0000)]
option to have scripts run on startup for per blendfile UI's

9 years agoSmall update to render properties.
William Reynish [Fri, 20 Nov 2009 12:26:41 +0000 (12:26 +0000)]
Small update to render properties.
-Single column UI for Encoding panel
-Removed bad align in performance panel
-Made Quicktime's Quality percentage a slider

9 years agoArmature Editing Fixes:
Joshua Leung [Fri, 20 Nov 2009 11:49:47 +0000 (11:49 +0000)]
Armature Editing Fixes:
* Restored WKEY Specials Menu. Had a few problems initially with the name of the menu being 1 character too long; this needs more comprehensive API warnings

* Made Extrude Forked work again as a macro operator. Added another extrude macro for this, but ideally would have worked with a single macro + setting properties for that macro (can't do so due to bug 19733)

9 years agoQuicktime-qtkit : encoding settings now in blender ui (encoding panel)
Damien Plisson [Fri, 20 Nov 2009 10:37:50 +0000 (10:37 +0000)]
Quicktime-qtkit : encoding settings now in blender ui (encoding panel)

- added "QuicktimeCodecSettings" struct in DNA
- old "QuicktimeCodecData" opaque struct is  nowdeprecated (read only use when QuicktimeCodecSettings is not set)
- fixed small bug when importing deep color movies

Note that you may need Final Cut Pro installed to be able to use the DVCPRO HD codecs

9 years agoAttempted fix for #19870 - Crash on Shift Numpad 1 based on the backtrace http:/...
Joshua Leung [Fri, 20 Nov 2009 10:34:31 +0000 (10:34 +0000)]
Attempted fix for #19870 - Crash on Shift Numpad 1 based on the backtrace pasteall.org/9114

9 years agoBugfix #19923: UVImage editor gets stuck in move/zoom mode
Joshua Leung [Fri, 20 Nov 2009 10:21:31 +0000 (10:21 +0000)]
Bugfix #19923: UVImage editor gets stuck in move/zoom mode

9 years ago- dir() now works for collection functions
Campbell Barton [Fri, 20 Nov 2009 10:00:54 +0000 (10:00 +0000)]
- dir() now works for collection functions
- group.objects.link/unlink use exceptions rather then return values
- scene.add_object/remove_object --> scene.objects.link/unlink

9 years agoMore Node Editor Fixups:
Joshua Leung [Fri, 20 Nov 2009 06:31:49 +0000 (06:31 +0000)]
More Node Editor Fixups:
* Restored Mute and Hide Operators, M and H keys respectively
* Restored Make Links Operator (F). However, I can't figure out how to set the sockets so that this can be used
* Made Alt-RMB the new hotkey for breaking links by dragging, since Alt-LMB was taken for panning already

9 years ago* Added a quick little weight group 'Levels' operator, can interactively tweak overal...
Matt Ebb [Fri, 20 Nov 2009 05:09:57 +0000 (05:09 +0000)]
* Added a quick little weight group 'Levels' operator, can interactively tweak overall weight value offset and gain in weight paint mode.

9 years agoNode Editor: Various usability and code tidyups
Joshua Leung [Fri, 20 Nov 2009 04:19:57 +0000 (04:19 +0000)]
Node Editor: Various usability and code tidyups
* Fixed a nasty bug which meant that it was impossible to set an active node. Was caused by ntreeCopyTree() getting called when compo updates were done and clearing the active flags. The active flag clearing is only really needed for the "internal_select" case which is only used for duplicating selected nodes (from Shift-D duplicate).

* Recoded click-selection code. Was a mess of old code, bad exceptions from the old code half ported, duplicate operators, unnecessary flags/modes.

* Fixed bug #19927: compositing node groups can't be access via "tab" or ungrouped via "alt+g". Was probably related to the active group not being able to be set.

* Made resizing nodes work again. Again, this was due to the active node bug.

* Made adding a new group with Ctrl-G correctly update the views

9 years agoSimpler default smooth brush curve preset - less points, easier to tweak
Matt Ebb [Fri, 20 Nov 2009 04:12:52 +0000 (04:12 +0000)]
Simpler default smooth brush curve preset - less points, easier to tweak