blender.git
9 years agoscript to create a man page from blenders --help text, replaced the hand edited man...
Campbell Barton [Sun, 27 Jun 2010 00:33:12 +0000 (00:33 +0000)]
script to create a man page from blenders --help text, replaced the hand edited man page with this.

9 years agoremove filename and directory from python operators that dont need them
Campbell Barton [Sat, 26 Jun 2010 22:32:47 +0000 (22:32 +0000)]
remove filename and directory from python operators that dont need them

9 years agomore generic sorting of theme items by type (was adding all non color items last)
Campbell Barton [Sat, 26 Jun 2010 22:23:54 +0000 (22:23 +0000)]
more generic sorting of theme items by type (was adding all non color items last)

9 years agoSet button emboss to false a few more places where it makes sense, such as disclosure...
William Reynish [Sat, 26 Jun 2010 21:40:11 +0000 (21:40 +0000)]
Set button emboss to false a few more places where it makes sense, such as disclosure triangles and panel closing X icons.

9 years ago- changed recent commit from William to have enum in user preferences as an expanded...
Campbell Barton [Sat, 26 Jun 2010 20:00:45 +0000 (20:00 +0000)]
- changed recent commit from William to have enum in user preferences as an expanded enum (like it was before)
- rename 'no_bg' argument to 'emboss' (and negated)
- added 'emboss' option for operator buttons.
- Addon UI Layout slight modifications, changed enable/disable buttons for checkbox, grey out text of disabled addons to make it obvious at a glance whats enabled.
- column expanded enums now align text to the left.
- renamed ui_item_enum_row to ui_item_enum_expand since its used for columns and rows.

9 years agonew notifier for FRAME_RANGE, use to recalculate the timeline scrollbar range.
Campbell Barton [Sat, 26 Jun 2010 19:17:48 +0000 (19:17 +0000)]
new notifier for FRAME_RANGE, use to recalculate the timeline scrollbar range.

9 years agoPatch by Oenvoyage: Lamp specials menu was context insensitive,
Daniel Salazar [Sat, 26 Jun 2010 19:00:44 +0000 (19:00 +0000)]
Patch by Oenvoyage: Lamp specials menu was context insensitive,
displaying lamp properties regardless of type hence causing errors. Now
active object controls what properties to display. Still it's possible to
manage multiple mixed lamps types at once. Also added useful items for
cameras and empties

9 years agoobject color property in the object UI panel
Campbell Barton [Sat, 26 Jun 2010 17:46:14 +0000 (17:46 +0000)]
object color property in the object UI panel

9 years agominor changes to Williams commit to be a bit less verbose.
Campbell Barton [Sat, 26 Jun 2010 17:24:01 +0000 (17:24 +0000)]
minor changes to Williams commit to be a bit less verbose.

9 years agoalpha drawing for color picker, move alpha button into the picker.
Campbell Barton [Sat, 26 Jun 2010 17:12:55 +0000 (17:12 +0000)]
alpha drawing for color picker, move alpha button into the picker.

9 years agoUpdated Themes user preference pane.
William Reynish [Sat, 26 Jun 2010 17:06:55 +0000 (17:06 +0000)]
Updated Themes user preference pane.

Layout is now simpler, more easy to scan. This commit also simplifies the Python code and gets rid of hundreds of wasted lines of code, making it much easier to make layout changes.

9 years agofix for crash running the file load operator in background mode:
Campbell Barton [Sat, 26 Jun 2010 13:24:52 +0000 (13:24 +0000)]
fix for crash running the file load operator in background mode:
 bpy.ops.wm.open_mainfile(filepath="some.blend")

9 years agofile operator cleanup
Andrea Weikert [Sat, 26 Jun 2010 08:53:29 +0000 (08:53 +0000)]
file operator cleanup
* the default properties of the file operator now only contain the "filepath", which means only the complete path to a file is returned.
* "filename" and "directory" has been added to the link/append operator - the only place it was used.
* sequence operators still work on the "files", which was custom property passed to the file operator anyway.
* have tested sequence loading, image loading and append/link - please report if there are any issues

9 years agoremove math and m module names from python driver namespace. (all math functions...
Campbell Barton [Fri, 25 Jun 2010 21:24:59 +0000 (21:24 +0000)]
remove math and m module names from python driver namespace. (all math functions are merged into the local namespace)

9 years agobugfix where animated image texture's lagged one frame when used with modifiers.
Campbell Barton [Fri, 25 Jun 2010 12:28:35 +0000 (12:28 +0000)]
bugfix where animated image texture's lagged one frame when used with modifiers.
call animated texture update before evaluating modifiers.

9 years agoerror in fix for ID property copy
Campbell Barton [Fri, 25 Jun 2010 12:17:35 +0000 (12:17 +0000)]
error in fix for ID property copy

9 years agoerror in last commit
Campbell Barton [Fri, 25 Jun 2010 12:13:29 +0000 (12:13 +0000)]
error in last commit

9 years ago- duplicating a scene now duplicates its sequence strips too.
Campbell Barton [Fri, 25 Jun 2010 12:04:04 +0000 (12:04 +0000)]
- duplicating a scene now duplicates its sequence strips too.
- bugfix for copying a scene with FFMPEG properties set (wasnt copying the ID properties, could crash blender)
- relative path option for adding sequence strips and replaceing images.

9 years agoextend command line argument for rendering the current frame
Campbell Barton [Fri, 25 Jun 2010 11:56:12 +0000 (11:56 +0000)]
extend command line argument for rendering the current frame
 blender --background some.blend --render-frame 1 # renders frame 1
 blender --background some.blend --render-frame +0 # renders the first frame
 blender --background some.blend --render-frame -1 # renders the last frame

9 years agoopengl render wasnt updating animated images textures
Campbell Barton [Fri, 25 Jun 2010 11:53:52 +0000 (11:53 +0000)]
opengl render wasnt updating animated images textures

9 years agoFix #22618: Deleting an object doesnt remove its self from pinned buttons
Sergey Sharybin [Fri, 25 Jun 2010 11:41:39 +0000 (11:41 +0000)]
Fix #22618: Deleting an object doesnt remove its self from pinned buttons

Clear pin flag and pin ID in unlink_object if pinid points to unlinking object

9 years agobpy.props.StringProperty()'s maxlen arg was off by 1 since it included the null termi...
Campbell Barton [Thu, 24 Jun 2010 21:28:33 +0000 (21:28 +0000)]
bpy.props.StringProperty()'s maxlen arg was off by 1 since it included the null terminator for C strings.

9 years agoDisable rayoptimization again on MinGW, it crashes.
Brecht Van Lommel [Thu, 24 Jun 2010 18:12:59 +0000 (18:12 +0000)]
Disable rayoptimization again on MinGW, it crashes.

9 years agoAttempt to fix compiling SSE detection on 32 bit linux.
Brecht Van Lommel [Thu, 24 Jun 2010 18:05:51 +0000 (18:05 +0000)]
Attempt to fix compiling SSE detection on 32 bit linux.

9 years agoRuntime detection of SSE support for raytracing. Also enabled rayoptimization
Brecht Van Lommel [Thu, 24 Jun 2010 15:54:01 +0000 (15:54 +0000)]
Runtime detection of SSE support for raytracing. Also enabled rayoptimization
by default now on all platforms since it shouldn't crash anymore if SSE is
not there. If this breaks compilation on some platforms, please let me know.

9 years agoMove some sequencer functions about, no functional changes.
Campbell Barton [Thu, 24 Jun 2010 10:04:18 +0000 (10:04 +0000)]
Move some sequencer functions about, no functional changes.
- Remove SEQ_DESEL, better not have a flag which includes ~, use ~SEQ_ALLSEL instead.
- Rename recurs_dupli_seq -> seqbase_dupli_recursive
- Rename deep_dupli_seq -> seq_dupli_recursive

9 years agoLogic UI: small fixes
Dalai Felinto [Thu, 24 Jun 2010 04:52:28 +0000 (04:52 +0000)]
Logic UI: small fixes
1) "Actuators" menu wasn't working (it was showing the sensors one)
2) s/c/a top menus (the one showing options to hide/show objects and logics) with a big space.
- To have those options like this sounds a bit like a legacy, but for the time being at least, let's make it better :)
3) not show the s/c/a common header when object not visible

9 years agoFix #22553: dragging number buttons would run update functions more often than
Brecht Van Lommel [Wed, 23 Jun 2010 18:47:56 +0000 (18:47 +0000)]
Fix #22553: dragging number buttons would run update functions more often than
necessary due to the more accurate mouse move events that are useful for
sculpting and painting (at least on Linux/X11, not sure about other platforms).
If the update function takes a while to run, this in turn causes more mouse
move events to be accumulated, making things even slower, .. going into a spiral
of slower and slower redraws.

As a solution I've added a INBETWEEN_MOUSEMOVE event next to MOUSEMOVE. A
MOUSEMOVE event is automatically changed to INBETWEEN_MOUSEMOVE when a
MOUSEMOVE event is added after it. This new event type is only handled by
painting/sculpting operators, everything else can happily ignore it.

9 years agoCompile fix for changes in "filldisplist" function.
Thomas Dinges [Wed, 23 Jun 2010 17:40:17 +0000 (17:40 +0000)]
Compile fix for changes in "filldisplist" function.

9 years agoFix #21370: VBO does not display material colors in textured solid.
Brecht Van Lommel [Wed, 23 Jun 2010 16:35:42 +0000 (16:35 +0000)]
Fix #21370: VBO does not display material colors in textured solid.

9 years ago- avoid divide by zero with node progress
Campbell Barton [Wed, 23 Jun 2010 15:07:20 +0000 (15:07 +0000)]
- avoid divide by zero with node progress
- write_crash_blend() was writing to the original path.

9 years agoFix #21369: normals on extruded text and curve objects were flipped
Brecht Van Lommel [Wed, 23 Jun 2010 13:18:50 +0000 (13:18 +0000)]
Fix #21369: normals on extruded text and curve objects were flipped
for the backside, giving problems with e.g. boolean operations.

9 years agoFix crash when rendering with output to full screen and the mouse
Brecht Van Lommel [Wed, 23 Jun 2010 12:41:38 +0000 (12:41 +0000)]
Fix crash when rendering with output to full screen and the mouse
cursor not over any area, e.g. on the border between two areas.

9 years agoSculpt+shape keys:
Sergey Sharybin [Wed, 23 Jun 2010 12:27:13 +0000 (12:27 +0000)]
Sculpt+shape keys:
- Sculpting on the basis key should change original mesh
- For relative keys sculpting on basis key should update others

9 years agofix for rare crash when a material is set in the outliner for an object with no mater...
Campbell Barton [Wed, 23 Jun 2010 11:46:58 +0000 (11:46 +0000)]
fix for rare crash when a material is set in the outliner for an object with no material bits.

9 years agoFix a crash when failing to read .tga files in some cases.
Brecht Van Lommel [Wed, 23 Jun 2010 10:24:35 +0000 (10:24 +0000)]
Fix a crash when failing to read .tga files in some cases.

9 years agoConverting a mesh into a mesh (alt-c), was broken with shape keys and modifiers that...
Campbell Barton [Wed, 23 Jun 2010 10:18:51 +0000 (10:18 +0000)]
Converting a mesh into a mesh (alt-c), was broken with shape keys and modifiers that changed the vertex count.
removal of the shape key was undone in DM_to_mesh().

9 years agoFix #21470: changing brush settings redraws the 3d view unecessarily,
Brecht Van Lommel [Wed, 23 Jun 2010 09:58:32 +0000 (09:58 +0000)]
Fix #21470: changing brush settings redraws the 3d view unecessarily,
added ED_region_tag_redraw_overlay to only redo overlay drawing, which
in case of triple buffer is much faster.

9 years agoFix #22654: Converted curve from mesh disappearing
Sergey Sharybin [Wed, 23 Jun 2010 09:58:02 +0000 (09:58 +0000)]
Fix #22654: Converted curve from mesh disappearing

Curve object should have ob->bb=NULL if there is no derivedMesh

9 years agofix for timeline drawing with new cache visualization.
Campbell Barton [Wed, 23 Jun 2010 08:18:14 +0000 (08:18 +0000)]
fix for timeline drawing with new cache visualization.
memcpy buffer overrun when the first frame wasnt 0.

9 years agoLogic UI: small change: make pin always visible (disable sometimes instead of hiding)
Dalai Felinto [Wed, 23 Jun 2010 06:09:30 +0000 (06:09 +0000)]
Logic UI: small change: make pin always visible (disable sometimes instead of hiding)
I still think we could use a more compact header for the non-expanded mode (ala 2.49). To be addressed later

9 years agoChange to file output compositor node -
Matt Ebb [Wed, 23 Jun 2010 03:42:19 +0000 (03:42 +0000)]
Change to file output compositor node -
Now it only outputs files when rendering, otherwise, it overwrites the output files
whenever the compositor updates (i.e. just scrubbing through the timeline )

9 years agoAdded back full scene motion blur 'shutter' parameter (was 'Bf' in 2.49)
Matt Ebb [Wed, 23 Jun 2010 03:20:57 +0000 (03:20 +0000)]
Added back full scene motion blur 'shutter' parameter (was 'Bf' in 2.49)

9 years agomathutils.RotationMatrix
Martin Poirier [Wed, 23 Jun 2010 02:42:39 +0000 (02:42 +0000)]
mathutils.RotationMatrix

Angles are in radians. Doc and example should reflect reality

9 years agoSmall update to text boxes UI. It now works in single-column layout.
William Reynish [Tue, 22 Jun 2010 21:31:26 +0000 (21:31 +0000)]
Small update to text boxes UI. It now works in single-column layout.

9 years agoFix #22642: NURBS surfaces doesnt display
Sergey Sharybin [Tue, 22 Jun 2010 21:11:13 +0000 (21:11 +0000)]
Fix #22642: NURBS surfaces doesnt display
Fix #22587: Invisible Nurbs Suface

There was a small bug with determinating if new object should be created
and for surfeces new OB_CURVE object had been created (instead of OB_SURF).

Removed unused function and enum, which were used by nurbs surface
create old oprator

9 years ago== Sequencer ==
Peter Schlaile [Tue, 22 Jun 2010 21:09:50 +0000 (21:09 +0000)]
== Sequencer ==

Removed "frame_locked"-flag from sequencer completely, since it doesn't
work any more in Blender 2.5. (All IPOs are frame-locked now anyways.)

9 years agoffmpeg was computing the frame length of avis via doubles, but was
Brecht Van Lommel [Tue, 22 Jun 2010 18:18:42 +0000 (18:18 +0000)]
ffmpeg was computing the frame length of avis via doubles, but was
not properly ceiling them, sometimes resulting in truncation errors.

(merge from render25 branch, commit with revision 28901 by Joe)

9 years agoFix #22589: pressing subdivide or updating displacements after sculpting
Brecht Van Lommel [Tue, 22 Jun 2010 16:46:13 +0000 (16:46 +0000)]
Fix #22589: pressing subdivide or updating displacements after sculpting
on multire would unnecessarily subdivide vertex groups and other layers,
making the operation slower than necessary.

9 years agoFix Bug [#22640] Center Cursor doesn't cause 3D window update in empty scene
Diego Borghetti [Tue, 22 Jun 2010 15:46:15 +0000 (15:46 +0000)]
Fix Bug [#22640] Center Cursor doesn't cause 3D window update in empty scene

The viewhome operator forget tag the region for redraw when no object
is in the scene and only move the cursor.

9 years agoMerge a few small blenlib changes from the render25 branch:
Brecht Van Lommel [Tue, 22 Jun 2010 15:20:06 +0000 (15:20 +0000)]
Merge a few small blenlib changes from the render25 branch:

* define for missing hypotf on msvc.
* svd_m4 and pseudoinverse_m4_m4 functions.
* small tweak to perlin noise, use static function instead of macro.
* BLI_linklist_find and BLI_linklist_insert_after functions.
* MALWAYS_INLINE define to force inlining.

9 years agoBLI_init_threads/BLI_end_threads with NULL listbase now raises thread level
Brecht Van Lommel [Tue, 22 Jun 2010 15:17:12 +0000 (15:17 +0000)]
BLI_init_threads/BLI_end_threads with NULL listbase now raises thread level
and enables mutex protection on MEM_* functions, useful when you want to call
these functions from an OpenMP thread.

(merge from render25 branch)

9 years agoUpdate build systems for automatic weighting changes.
Brecht Van Lommel [Tue, 22 Jun 2010 15:12:00 +0000 (15:12 +0000)]
Update build systems for automatic weighting changes.

(merge from render25 branch)

9 years agoArmature weighting / mesh deform no longer use render raytracing
Brecht Van Lommel [Tue, 22 Jun 2010 15:10:57 +0000 (15:10 +0000)]
Armature weighting / mesh deform no longer use render raytracing
acceleration structure but BVH instead.

(merge from render25 branch)

9 years agoEnabled openmp multithreading for multires/subsurf again, but only
Brecht Van Lommel [Tue, 22 Jun 2010 15:09:41 +0000 (15:09 +0000)]
Enabled openmp multithreading for multires/subsurf again, but only
if there are >= 1 million faces estimated in the resulting mesh.

(merge from render25 branch)

9 years agoDon't evaluate displace modifier with strength 0, avoids multires
Brecht Van Lommel [Tue, 22 Jun 2010 15:08:39 +0000 (15:08 +0000)]
Don't evaluate displace modifier with strength 0, avoids multires
subdividing vertex group here in some cases.

(merge from render25 branch)

9 years agoFix crash cancelling render while building object instance in
Brecht Van Lommel [Tue, 22 Jun 2010 15:04:03 +0000 (15:04 +0000)]
Fix crash cancelling render while building object instance in
raytree, object could still be added after it was already freed.

(merge from render25 branch)

9 years agoMake hair particles also support drawing their number next
Brecht Van Lommel [Tue, 22 Jun 2010 15:02:23 +0000 (15:02 +0000)]
Make hair particles also support drawing their number next
to them, previously this only worked for regular particles.

(merge from render25 branch)

9 years agoerror in last commit
Campbell Barton [Tue, 22 Jun 2010 14:27:04 +0000 (14:27 +0000)]
error in last commit

9 years agorecent commit with timeline cache was crashing on opening files.
Campbell Barton [Tue, 22 Jun 2010 14:10:45 +0000 (14:10 +0000)]
recent commit with timeline cache was crashing on opening files.

9 years agorename sequence.length -> frame_length_final
Campbell Barton [Tue, 22 Jun 2010 13:45:21 +0000 (13:45 +0000)]
rename sequence.length -> frame_length_final
added sequence.frame_length to get the original length of the strip

9 years agoslight cleaning of texture type changing functionality, done while working on other...
Matt Ebb [Tue, 22 Jun 2010 09:13:30 +0000 (09:13 +0000)]
slight cleaning of texture type changing functionality, done while working on other stuff today

9 years agohopefully fix some flickering in timeline cache display
Matt Ebb [Tue, 22 Jun 2010 09:12:22 +0000 (09:12 +0000)]
hopefully fix some flickering in timeline cache display

9 years agoutility function to save blend's from a crash (from gdb run this)
Campbell Barton [Tue, 22 Jun 2010 08:38:12 +0000 (08:38 +0000)]
utility function to save blend's from a crash (from gdb run this)
 p write_crash_blend()

Which will save the current blend name with _crash prefix.

9 years agoTweak for previous color management notifier tweak - works fine here with just ND_REN...
Matt Ebb [Tue, 22 Jun 2010 02:35:05 +0000 (02:35 +0000)]
Tweak for previous color management notifier tweak - works fine here with just ND_RENDER_OPTIONS

9 years agoTimeline addition: Display cached frames
Matt Ebb [Tue, 22 Jun 2010 02:29:52 +0000 (02:29 +0000)]
Timeline addition: Display cached frames

This started off doing pointcache debugging but it's also very useful for users too.
Previously it was very hard to see the state of the system when you're working caches
such as physics point cache - is it baked? which frames are cached? is it out of date?

Now, for better feedback, cached frames are drawn for the active object at the bottom
of the timeline - a semitransparent area shows the entire cache extents, and more
solid blocks on top show the frames that are cached. Darker versions indicate it's
using a disk cache.

It can be disabled in general in the timeline View -> Caches menu, or by each individual
system that can be shown.

There's still a bit to do on this, behaviour needs to be clarified still eg. deciding what
shows when it's out of date, or when it's been played back but not cached, etc. etc.
Part of this is due to a lack of definition in the point cache system itself, so we should
try and clean up/clarify this behaviour and what it means to users, at the same time.

Also would be interested in extending this to other caches such as fluid cache,
sequencer memory cache etc. in the future, too.

9 years agoOrigin button in the toolshelf
Luca Bonavita [Tue, 22 Jun 2010 00:08:05 +0000 (00:08 +0000)]
Origin button in the toolshelf

Minipatch to add the Origin button in the Toolshelf in the Transform section.
I missed this because
1) it was called "center" in 2.4 and it's difficult to find just searching if you don't know it's "origin"
2) it was in the the object ยป transform menu, not very practical to use often
Discussed with Gensher, Campbell and Matt before committing :)

9 years agoAdded ability to add and remove text boxes back from Blender 2.4x. One on those small...
William Reynish [Mon, 21 Jun 2010 23:20:44 +0000 (23:20 +0000)]
Added ability to add and remove text boxes back from Blender 2.4x. One on those small things missing.

9 years agoSVN maintenance.
Guillermo S. Romero [Mon, 21 Jun 2010 22:16:13 +0000 (22:16 +0000)]
SVN maintenance.

9 years agosequence.swap(other) rna function.
Campbell Barton [Mon, 21 Jun 2010 22:05:34 +0000 (22:05 +0000)]
sequence.swap(other) rna function.

9 years ago[#22262] Sculpting shape keys using the Smooth brush switches the shape to the Basis
Sergey Sharybin [Mon, 21 Jun 2010 20:10:59 +0000 (20:10 +0000)]
[#22262] Sculpting shape keys using the Smooth brush switches the shape to the Basis

PBVH used the same verts array as mesh data and shape key/reference key coords
were applying on the mesh data, so on some refreshing undeformed mesh was
displayed.
Added utility functions to get vert coords from key block, apply new vert coords
on keyblock and function to apply coords on bpvh, so now pbvh uses it's ovn
vertex array and no changes are making to the mesh data.

Additional change:
Store key block name in SculptUndoNode, so now shape wouldn't be copied to
wrong keyblock on undo

9 years agosequencer swap data operator.
Campbell Barton [Mon, 21 Jun 2010 17:37:50 +0000 (17:37 +0000)]
sequencer swap data operator.
needed for durian so we can swap out preview AVI's for EXR sequences.

9 years agoLogic UI: Pin option for sensor and actuators (from 2.49)
Dalai Felinto [Mon, 21 Jun 2010 07:51:40 +0000 (07:51 +0000)]
Logic UI: Pin option for sensor and actuators (from 2.49)

- implemented the old functionality of pin a sensor or actuator when "show state" is on.
- fixed code for setting/resetting VISIBLE and LINKED flags for sensors and actuators
(so states buttons is working for actuators and sensors)
- move the flag setting code (^^^) to a pre-processing part of the logic ui code.

9 years agonetrender
Martin Poirier [Sun, 20 Jun 2010 20:33:59 +0000 (20:33 +0000)]
netrender

Save and Restore master from disk.

When the "clear on exit" option is off, write a data file (blender_master.data) in the master's path on exit and reads it back on load.

Note: Jobs and Slaves lists are restored, but not balancer settings (problem with the pickle module).

9 years ago* Small fix for Color management RNA. 3D View didn't update on enabling/disabling...
Thomas Dinges [Sun, 20 Jun 2010 19:02:26 +0000 (19:02 +0000)]
* Small fix for Color management RNA. 3D View didn't update on enabling/disabling Color Management. ND_SHADING > ND_SHADING_DRAW
Note: "ND_RENDER_OPTIONS" should trigger the update in the 3D View (as the 3D View listener listens to that) but that doesn't work for some reason.

9 years agoetch-a-ton bugfix
Martin Poirier [Sat, 19 Jun 2010 20:25:00 +0000 (20:25 +0000)]
etch-a-ton bugfix

Add Convert operator and button (missing in 2.5)
Fix stroke selection (uneeded separate operator and missing redraw)
Map sketch operators to LEFTMOUSE and RIGHTMOUSE instead of SELECTMOUSE AND ACTIONMOUSE (more in line with other sketching operators, might work better with swapped mouse buttons)

9 years agoUnhide constraint axis and orientation operator properties.
Martin Poirier [Sat, 19 Jun 2010 20:18:43 +0000 (20:18 +0000)]
Unhide constraint axis and orientation operator properties.

They are not just internal param, tweaking them later is not unconceivable.

9 years agominor edit to speed up api property name editing.
Campbell Barton [Sat, 19 Jun 2010 12:11:40 +0000 (12:11 +0000)]
minor edit to speed up api property name editing.

9 years agorna info module now prints out property names into the console when run directly
Campbell Barton [Sat, 19 Jun 2010 12:06:34 +0000 (12:06 +0000)]
rna info module now prints out property names into the console when run directly

9 years agoMerged revision 29562 from /branches/soc-2010-nexyon.
Joerg Mueller [Sat, 19 Jun 2010 10:50:23 +0000 (10:50 +0000)]
Merged revision 29562 from /branches/soc-2010-nexyon.

9 years agoFix #22621 Alt-A toggles panel expand collapse
Diego Borghetti [Fri, 18 Jun 2010 20:19:24 +0000 (20:19 +0000)]
Fix #22621 Alt-A toggles panel expand collapse
Patch by John Carpenter

The expand/collapse command don't filter the Alt
modifier and make problem with the animation
shortuct (atl+a).

9 years agoFix #22625
Diego Borghetti [Fri, 18 Jun 2010 15:23:39 +0000 (15:23 +0000)]
Fix #22625

My fix for #22317 make that every time you delete an object,
blender go to perspective view, fixed now.

9 years agoChanges to scene updating with set scenes.
Campbell Barton [Fri, 18 Jun 2010 14:14:13 +0000 (14:14 +0000)]
Changes to scene updating with set scenes.
The most useful effect of this is that set scenes can take the simplify settings from the current scene (render team doesnt have to worry about animators simplify settings).

details...
- updating on frame change now passes the parent scene to object update function. (this was alredy happening for updating tagged objects)
- set scenes objects update first so scenes can depend on set objects however this only happened at once level, now set scenes are updated recursively, so deepest level is updated first.
- collision objects used to only look through the current scene, now set objects are included.

9 years agoFix for [#22410] Texture force field doesn't depend on empty location (patch by Matt...
Janne Karhu [Fri, 18 Jun 2010 11:36:51 +0000 (11:36 +0000)]
Fix for [#22410] Texture force field doesn't depend on empty location (patch by Matt Ebb)

9 years agoFix for [#22479] Hair is left our when moving emitter unless Hair Dynamics is set on
Janne Karhu [Fri, 18 Jun 2010 11:34:45 +0000 (11:34 +0000)]
Fix for [#22479] Hair is left our when moving emitter unless Hair Dynamics is set on

9 years agoFixing some warnings for glew in space_view3d when building with CMake. GLEW_STATIC...
Mitchell Stokes [Fri, 18 Jun 2010 08:22:05 +0000 (08:22 +0000)]
Fixing some warnings for glew in space_view3d when building with CMake. GLEW_STATIC needed to be defined; it was already defined for SCons.

9 years agoRaise the default report popup severity to errors only (not warnings).
Matt Ebb [Fri, 18 Jun 2010 05:18:46 +0000 (05:18 +0000)]
Raise the default report popup severity to errors only (not warnings).
All reports still get displayed in header.

9 years agoNotifier cleanup - replaced ND_*_EDIT and ND_*_SELECT data notifiers
Matt Ebb [Fri, 18 Jun 2010 04:39:32 +0000 (04:39 +0000)]
Notifier cleanup - replaced ND_*_EDIT and ND_*_SELECT data notifiers
with the generic action equivalents (NA_EDITED and new NA_SELECTED)

9 years agoAdded sintax coloring for None
Daniel Salazar [Thu, 17 Jun 2010 20:56:36 +0000 (20:56 +0000)]
Added sintax coloring for None

9 years agofix for fcurve doubles not being removed when moving more then one selected points...
Campbell Barton [Thu, 17 Jun 2010 19:33:27 +0000 (19:33 +0000)]
fix for fcurve doubles not being removed when moving more then one selected points in the graph editor.
The bug could be redone with 3 points, 2 selected dragged onto the unselected.

looping backwards fixes this.

9 years agorather then naming new actions "Action", use the id name with an action prefix.
Campbell Barton [Thu, 17 Jun 2010 15:28:40 +0000 (15:28 +0000)]
rather then naming new actions "Action", use the id name with an action prefix.
avoids having 100's of Action.XXX in a file.

9 years agosequencer numpad keys for zoom levels
Campbell Barton [Thu, 17 Jun 2010 14:22:54 +0000 (14:22 +0000)]
sequencer numpad keys for zoom levels

9 years agofix for crash with opengl sequencer strips that dont have a camera
Campbell Barton [Thu, 17 Jun 2010 14:22:13 +0000 (14:22 +0000)]
fix for crash with opengl sequencer strips that dont have a camera

9 years agoLogics ops: add s/c/a can now be called with an object parameter (e.g. bpy.ops.logic...
Dalai Felinto [Thu, 17 Jun 2010 08:42:15 +0000 (08:42 +0000)]
Logics ops: add s/c/a can now be called with an object parameter (e.g. bpy.ops.logic.controller_add_exec(name="name", object="non_active_object")
If no parameter is passed it uses the active object.

To do: make logic_window set "active object" in context before calling add s/c/a operator
So far I tried this before uiItemMenuEnumO(row, "LOGIC_OT_controller_add", "type", "Add Controller", 0); :

+RNA_pointer_create((ID *)ob, &RNA_Object, ob, &ob_ptr);
+uiLayoutSetContextPointer(row, "object", &ob_ptr);

Not working though :) (not committed either). to be investigated.

9 years agologic ops: accepting no object as argument into "remove s/c/a" operators (uses the...
Dalai Felinto [Thu, 17 Jun 2010 07:33:57 +0000 (07:33 +0000)]
logic ops: accepting no object as argument into "remove s/c/a" operators (uses the active object in those cases)

9 years agoFix [#22610] Alpha problem with textureswhen Brightness > 1 or Contrast < 1
Matt Ebb [Thu, 17 Jun 2010 07:20:12 +0000 (07:20 +0000)]
Fix [#22610] Alpha problem with textureswhen Brightness > 1 or Contrast < 1

* Enabled premultiplication for packed images
* Added pack/unpack operator to image template
* Moved brightness/contrast corrections to after de-premultiplication in image texture sampling

9 years agoLogic ops: uncommenting + fix remove ops to use full RNA code :)
Dalai Felinto [Thu, 17 Jun 2010 06:34:11 +0000 (06:34 +0000)]
Logic ops: uncommenting  + fix remove ops to use full RNA code :)
The problem here was that it as passing Object *ob, while it should be Object **ob. Otherwise you can't change where the pointer is pointing to.

9 years agofixing warning from previous commit (rna_controller)
Dalai Felinto [Thu, 17 Jun 2010 04:31:02 +0000 (04:31 +0000)]
fixing warning from previous commit (rna_controller)

9 years agoRevert changes back to original state, before 29506.
Guillermo S. Romero [Thu, 17 Jun 2010 03:29:16 +0000 (03:29 +0000)]
Revert changes back to original state, before 29506.

9 years ago== SoC Bullet - Bullet Upgrade to 2.76 ==
Joshua Leung [Thu, 17 Jun 2010 02:42:43 +0000 (02:42 +0000)]
== SoC Bullet - Bullet Upgrade to 2.76 ==

Updated Blender's Bullet to 2.76 in this branch only.

This update was done by:
1) deleting the contents of the existing extern/bullet2/src directory (leaving the .svn folder in place),
2) copy/pasting the contents of the bullet/src directory (from unzipped Bullet archive) into this newly cleared folder.

Hopefully there aren't any patches that are still needed from the Bullet we had in source.

---

Note: I didn't use Moguri's patch, since that was giving me compile errors with headers not being able to be found.

[[Split portion of a mixed commit.]]