Commit Graph

24792 Commits

Author SHA1 Message Date
Brecht Van Lommel
5fce637c7f rna renaming: some simple consistency tweaks 2010-06-28 12:41:16 +00:00
Campbell Barton
4b0ab39571 rna suggested names:
position -> location
 maximum/minimum -> max/min
2010-06-28 12:25:28 +00:00
Campbell Barton
2d377a99a5 WIP draft for rna renaming, brecht will go over this next. 2010-06-28 12:10:40 +00:00
Sergey Sharybin
8517a7a3cd Fix #20965: metaballs partticles and volume material crash rendering
Fix #21187: 2.5svn26947 - particles + meta sphere = crash in rendering

Use separated displists for mballs in view3d and render stuff.
Do not recalculate displist for view3d while rendering - mball.c
uses several global variables which shouldn't be accepted from
parallel threads.
2010-06-28 11:07:02 +00:00
Matt Ebb
aae952be1f Fix [#22669] Packing a .wav used in a LB crashes Blender 2010-06-28 00:11:28 +00:00
Luca Bonavita
1a6b9ea5d9 == python api docs ==
- properties are now listed on alphabetical order
- readonly properties use "data" directive, so that we see them in green in the web docs
  example (after Campbell will rebuild the docs):
  http://www.blender.org/documentation/250PythonDoc/bpy.types.RenderLayer.html
  (note that green attributes still need final CSS-ing, but smerch is a bit busy atm)
- fixed indentation in http://www.blender.org/documentation/250PythonDoc/bpy.data.html
2010-06-28 00:06:23 +00:00
Matt Ebb
a52632182c [#22682] some missing keymaps
Added proportional influence up/down to transform modal keymap.

Also fixed a crash in restoring to previous key map item after edits.
2010-06-27 23:57:58 +00:00
Matt Ebb
32f83b91a4 Partial fix for [#22666] TWO BUGS of LIGHT
fixed: number 1- can't link light data by using control+l "object data"

cleaned up code a bit here too
2010-06-27 23:18:04 +00:00
Campbell Barton
5cc2e136ec nicer alignment for preset UI 2010-06-27 21:35:31 +00:00
Campbell Barton
d9bcd249cf remove some warnings 2010-06-27 21:03:39 +00:00
Campbell Barton
1a59eb21a9 align menu text to the left when displayed in a panel. 2010-06-27 19:10:36 +00:00
Campbell Barton
003d69f9d4 use expanded enum for addons to give faster access (matches theme layout) 2010-06-27 19:04:44 +00:00
Campbell Barton
768ecb1ba9 api reference docs: include bpy.data in the main page since its used everywhere.
since this isnt a module its self its a little odd to do this but toctree cant make arbitrary cross-references.

Also added some usage examples: http://www.blender.org/documentation/250PythonDoc/bpy.data.html
2010-06-27 18:34:27 +00:00
Sergey Sharybin
650de24271 Recalculate motherball when metaball is deleting 2010-06-27 12:45:09 +00:00
Sergey Sharybin
3262dfdadd Fix #22051: crash when scaling parent metaball
Keep the constant resolution for any motherball's scale
2010-06-27 08:35:27 +00:00
Matt Ebb
e86c5cf9ea Fix [#22564] Object name by object type
Restored auto-naming newly created objects by type, for Mesh, Lamp, Meta
2010-06-27 07:45:57 +00:00
Matt Ebb
ce7d768934 Fix [#22675] Dupli tool
Tweaked operator poll functions
2010-06-27 06:15:36 +00:00
Matt Ebb
03fa4bb999 Partial cleanup of timing system, with some guidance from Joshua:
* Fractional frames support has been changed to use a new var, scene->r.subframe. 
This is a 0.0-1.0 float representing a subframe interval, used in generating a final float 
frame number to evaluate animation system etc.
* Changed frame_to_float() and some instances of bsystem_time() into a convenience function:
float BKE_curframe(scene) which retrieves the floating point current frame, after subframe
and frame length corrections.
* Removed blur_offs and field_offs globals. These are now stored in render, used to 
generate a scene->r.subframe before render database processing.
2010-06-27 05:39:55 +00:00
Campbell Barton
ea4e5a08cd script to create a man page from blenders --help text, replaced the hand edited man page with this. 2010-06-27 00:33:12 +00:00
Campbell Barton
bb07503d89 remove filename and directory from python operators that dont need them 2010-06-26 22:32:47 +00:00
Campbell Barton
0d84ac375e more generic sorting of theme items by type (was adding all non color items last) 2010-06-26 22:23:54 +00:00
William Reynish
4eba521903 Set button emboss to false a few more places where it makes sense, such as disclosure triangles and panel closing X icons. 2010-06-26 21:40:11 +00:00
Campbell Barton
f6eed88a78 - 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.
2010-06-26 20:00:45 +00:00
Campbell Barton
ebde8a7ccc new notifier for FRAME_RANGE, use to recalculate the timeline scrollbar range. 2010-06-26 19:17:48 +00:00
Daniel Salazar
942ebd6558 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
2010-06-26 19:00:44 +00:00
Campbell Barton
5ce214a06f object color property in the object UI panel 2010-06-26 17:46:14 +00:00
Campbell Barton
1c362019cd minor changes to Williams commit to be a bit less verbose. 2010-06-26 17:24:01 +00:00
Campbell Barton
7ad1491fce alpha drawing for color picker, move alpha button into the picker. 2010-06-26 17:12:55 +00:00
William Reynish
bd03f26c3a 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.
2010-06-26 17:06:55 +00:00
Campbell Barton
aba62b1797 fix for crash running the file load operator in background mode:
bpy.ops.wm.open_mainfile(filepath="some.blend")
2010-06-26 13:24:52 +00:00
Andrea Weikert
892851f787 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
2010-06-26 08:53:29 +00:00
Campbell Barton
54e6fc1519 remove math and m module names from python driver namespace. (all math functions are merged into the local namespace) 2010-06-25 21:24:59 +00:00
Campbell Barton
c2db42adaa bugfix where animated image texture's lagged one frame when used with modifiers.
call animated texture update before evaluating modifiers.
2010-06-25 12:28:35 +00:00
Campbell Barton
f3ffb22598 error in fix for ID property copy 2010-06-25 12:17:35 +00:00
Campbell Barton
9e87433ef2 error in last commit 2010-06-25 12:13:29 +00:00
Campbell Barton
7b36b2ebbb - 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.
2010-06-25 12:04:04 +00:00
Campbell Barton
044a20821b 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
2010-06-25 11:56:12 +00:00
Campbell Barton
85ffe7e9ba opengl render wasnt updating animated images textures 2010-06-25 11:53:52 +00:00
Sergey Sharybin
29b402f376 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
2010-06-25 11:41:39 +00:00
Campbell Barton
bfb9ef7ee9 bpy.props.StringProperty()'s maxlen arg was off by 1 since it included the null terminator for C strings. 2010-06-24 21:28:33 +00:00
Brecht Van Lommel
49db2d18b2 Disable rayoptimization again on MinGW, it crashes. 2010-06-24 18:12:59 +00:00
Brecht Van Lommel
61d16219da Attempt to fix compiling SSE detection on 32 bit linux. 2010-06-24 18:05:51 +00:00
Brecht Van Lommel
93238c3a3d 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.
2010-06-24 15:54:01 +00:00
Campbell Barton
4c81019823 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
2010-06-24 10:04:18 +00:00
Dalai Felinto
51170fdee3 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
2010-06-24 04:52:28 +00:00
Brecht Van Lommel
f507428d11 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.
2010-06-23 18:47:56 +00:00
Thomas Dinges
5b9059e2bd Compile fix for changes in "filldisplist" function. 2010-06-23 17:40:17 +00:00
Brecht Van Lommel
4e39133970 Fix #21370: VBO does not display material colors in textured solid. 2010-06-23 16:35:42 +00:00
Campbell Barton
4596588fe8 - avoid divide by zero with node progress
- write_crash_blend() was writing to the original path.
2010-06-23 15:07:20 +00:00
Brecht Van Lommel
989cca1434 Fix #21369: normals on extruded text and curve objects were flipped
for the backside, giving problems with e.g. boolean operations.
2010-06-23 13:18:50 +00:00