Commit Graph

7971 Commits

Author SHA1 Message Date
Joseph Eagar
3ba1ac13d0 coded implemented for create faces from edgenet. note this is automatically executed from fkey now where appropriate, without popping up an annoying menu. also forgot to commit some ui scripts related to the pinning commit. 2009-09-10 11:23:34 +00:00
Robert Holcomb
d6a706dee9 Inno installer script to build windows installer. First draft-still needs some work. Creates a baseline functional installer from a build. Requires Inno and Inno ISTool 2009-09-10 01:55:10 +00:00
Daniel Genrich
e8b3f86bcb Smoke:
* Bugfix for non-working high res display
* Bugfix for smoke disappearing on 2nd frame
2009-09-09 23:52:48 +00:00
Martin Poirier
434af76286 support for external images, blacklisting slaves on errors and proper job termination on cancel 2009-09-09 20:56:49 +00:00
Thomas Dinges
2fabd68deb * Small code cleanup. 2009-09-09 19:52:10 +00:00
Brecht Van Lommel
b1bbfda8a5 2.5: small text tweak for empty object buttons. 2009-09-09 19:43:42 +00:00
Daniel Genrich
8e2d861695 Smoke:
* Enable cache for high res + new preview
* Bugfix for smoke banding (in cooperation with N_T)

Hint: Work-in-progress regarding collision objects so can be broken, didn't test

Hint2: jahka enabled a general particle panel but 
* bake button doesn't work
* step is not supported for cloth
* several other things there ;)
2009-09-09 18:39:40 +00:00
Brecht Van Lommel
9e7c4ce806 2.5: Layer Buttons
* Added RNA subtype for layers.
* Shift-click works again.
* uiItemR can now also handle armature/bone layers.
* Also makes Move to Layer popup work as expected.
2009-09-09 17:39:19 +00:00
Brecht Van Lommel
3daa283604 2.5: Object module
* Split object_edit.c into multiple files:
  object_add.c, object_edit.c, object_hook.c, object_relations.c,
  object_select.c, object_transform.c.
* Rename files to have consistent object_ and mball_ prefix:
  object_shapekey.c, object_lattice.c, object_vgroup.c, mball_edit.c.
* Added operators:
  * vertex group menu and set active
  * apply location, rotation, scale, visual transform (location is new)
  * make local
  * make vertex parent
  * move to layer
  * convert to curve/mesh (not finished yet)
* Many small fixes for marked issues, but still much code to be cleaned
  up here...
2009-09-09 11:52:56 +00:00
Martin Poirier
2e851fdc67 frame range restrictions for dependencies, so slaves only receive point cache files for the frames that they need to render (supports step > 1, of course) 2009-09-09 02:25:14 +00:00
Campbell Barton
850abb3580 curve.textboxes collection access for the UI + minor UI tweaks for poly curves 2009-09-09 00:10:12 +00:00
Campbell Barton
e6965c46fc patch from Maurice & Patsoko on blenderartist for win32 registry support,
moved "import winreg" inline, (so other OS's don't import it), untested but should be ok.

--- From the thread
It's the version of r23036 + winreg patch from Maurice.

About the registry keys:
 - I have povray 3.6 and 3.7b34 installed on vista32.
 - In the registry, I have 3 choices : ' CurrentVersion ', ' v3.6 ', and ' v3.7'.
 - I've modified Maurice's patch by replacing CurrentVersion by v3.6. We have the benefit to have the keys for each version so I prefer use them rather than the 'floating-key-about-which-is-the current-version'. I found more secure like that.
2009-09-08 22:46:14 +00:00
William Reynish
ee78c63bee Text UI
*Added Text Boxes panel, currently only shows the first textbox. Needs operators for adding/removing
*Added Bold/Italic/Underline items
*Cleaned up some font UI layout.
2009-09-08 11:31:15 +00:00
Joshua Leung
5ce8b1f704 2.5 - FollowPath Constraint + File Loading Bugfix
* Added a new option ('Fixed Position') for Follow Path constraint which allows you to constrain an object/bone to some fixed position along the curve. Unlike the default mode of operation, this doesn't depend on time unless you explicitly animate the offset percentage parameter associated with this.

* Made old (pre 2.5) files saved with armatures in pose mode load in pose mode again.
2009-09-08 09:41:15 +00:00
Campbell Barton
1d0a567023 Curve/Surface Editing
- rename "Nurb" to "Spline" in RNA, eg. bpy.data.curves[0].splines[2].type == 'NURBS'
  from a user perspective spline is a more generic term while Nurb is misleading when used for beziers and poly lines.

- added curve.active_spline property so the python UI can display the last selected curve.
  
- set the active spline when entering editmode (uses first selected spline)
  
- added back Hide Handles as a curve property (removed the global flag), access from the view panel in editmode.
  
- added hide normal option for curve, normal size access for curve and mesh display.

- changing orderU/V, endpoints, cyclic, bezierU/V now work in editmode and calls update functions.

- entering editmode was crashing with text objects

- curve.switch_direction() crashed (own fault from last commit)

- Tkey for tilt was overridden by Toolbar, made Tilt Ctrl+T.

- OBJECT_OT_mode_set check for compatible modes before running - so curves dont try go into paint mode with V key for eg.
2009-09-08 07:35:07 +00:00
Matt Ebb
fab4bf0816 Re-commit previous brush ui changes.
Strangely seemed to get reverted in jahka's rev. 22861
2009-09-08 03:29:28 +00:00
Joshua Leung
6808e15c8d 2.5 - Mode Switching Bugfixes
This commit some of the many bugs here (it's still not perfect now, but much better than it was):
* Moving in/out of Object, Edit, and Pose Modes for Armatures should now work smoothly. Operators should work nicely in the appropriate modes now (select linked might be a bit tempermental still, since it uses mouse-position).

* Fixed the 'mysterious' memory leaks when changing modes. These were only caused when using the mode switching menu in the 3D-View.

* Went through bullet-proofing some of the operator calling functions against NULL operator id-name strings.
2009-09-08 02:09:14 +00:00
Martin Poirier
00838f05d2 use pure py classes instead of a mix of rna stuff for ui. fix a couple of bugs 2009-09-08 01:18:06 +00:00
Campbell Barton
4c859897f6 - crash fix for setting a curve smooth operator
- added curve attribute use_twist_correction
- added nurb attribute type  - NURBS, POLY, BEZIER
- renamed a number of curve attributes with the use_ prefix.
- UI layout adjustments to only show buttons that are needed and reflect internals for nurbs.
... Note that many of the buttons only apply to NURBS, and all the "V" buttons only apply to surfaces, remove when not needed.
2009-09-07 15:02:43 +00:00
Thomas Dinges
f4f51efa51 2.5:
* Use new Pressure Size Icons, old ones were still defined in the py file.
2009-09-07 11:59:05 +00:00
Matt Ebb
10c18d72f4 * Another handful of brilliant new icons by jendryzch 2009-09-07 09:43:04 +00:00
Campbell Barton
f5e80e7a80 Operator docstring patch from Ron Walker, added console operator docs too. 2009-09-07 04:52:42 +00:00
Campbell Barton
6a301de3eb users on blenderartist reported uncompressed TGA loading worked for them where compressed didnt. 2009-09-06 19:18:12 +00:00
Nicholas Bishop
952fa6d1c1 2.5/Paint:
* Fixed some bad UI pointed out by letterrip. People had made some quite bad changes (duplicating buttons, adding UI for non-existent features, even deleting UI for existing features!)
2009-09-06 16:58:14 +00:00
Arystanbek Dyussenov
62138aaa5a Python part of multidim. array support for RNA complete.
Multidim. arrays can now be modified at any level, for example:

struc.arrayprop = x
struc.arrayprop[i] = x
struc.arrayprop[i][j] = x
struc.arrayprop[i][j][k] = x
etc...

Approriate rvalue type/length checking is done. 

To ensure all works correctly, I wrote automated tests in release/test/rna_array.py.

These tests cover: array/item access, assignment on different levels, tests that proper exceptions are thrown on invalid item access/assignment.

The tests use properties of the RNA Test struct defined in rna_test.c. This struct is only compiled when building with BF_UNIT_TEST=1 scons arg.

Currently unit tests are run manually by loading the script in the Text Editor.
Here's the output I have: http://www.pasteall.org/7644

Things to improve here:
- better exception messages when multidim. array assignment fails. Those we have currently are not very useful for multidim.
- add tests for slice assignment
2009-09-06 15:13:57 +00:00
Janne Karhu
08b8fc34cf Disconnect/connect hair:
- Moves hair from face-space to global space and back.
- Allows for editing of emitter mesh after hair combing.
- Disconnect hair before doing topology changing changes in mesh edit mode, connect after changes.
- Notes:
	* The closest location on emitter surface to the hair root is used to connect the hair.
	* Emitter deflection, sticky roots and add brush don't apply for disconnect hair in particle mode.
- Todo for future:
	* Copy disconnected hair from object to another (when 2.5 has proper copy operators again).
	* Possible automatic disconnect/connect with topology changing operations in mesh edit mode.
	
Other changes/fixes:
- Proper subtypes for some particle mode notifiers.
- Particle mode selections didn't draw correctly because of using lighting for the paths.
2009-09-05 20:12:08 +00:00
Janne Karhu
f09d605410 Some particles cleanup & fixes:
- Some big refresh issues with softbody & cloth point cache usage should now be fixed.
- Removed sticky objects from particles (better stuff will come back when I get to updating reactor particles).
- Some initial easy memory efficiency cleanup for ParticleData struct. The ultimate goal is to get particles less memory hungry -> more particles possible in single scene.
- Wrong path timing clamping caused hair particles to seem disappeared when changing between normal<->hair particles.
- "Calculate to current frame" in cache buttons baked instead of the intended function.
- Boids particle data is now a bit better organized.
2009-09-04 23:06:15 +00:00
Joerg Mueller
a49020b241 Strip input is not used for sound strips in 2.5. 2009-09-04 21:21:12 +00:00
Campbell Barton
6caff6b390 - rna documentation layout now matches blenders internal layout, autogenerate packages for nested modules.
bpy.data, bpy.ops.object etc.
- added basic docs for bpy.props
- omit panel, menu and operator classes (took up too much space and not useful)
- exec cant be used as an operator suffix eg- CONSOLE_OT_exec --> CONSOLE_OT_execute (same for file)
- fixed some crashes when generating docs

Updated docs here
http://www.graphicall.org/ftp/ideasman42/html/
2009-09-04 04:29:54 +00:00
Martin Poirier
640e39206b add blendcache files to dependancies. next step, per frames deps. 2009-09-04 01:33:22 +00:00
Joshua Leung
993037d3cb 2.5 - Bugfixes for Armature operators
AutoSide names now gets called correctly from menus. 

However, the toggle bone settings operators aren't. I can't seem to get them to call the invoke again after making autoside call exec...
2009-09-04 00:18:44 +00:00
Campbell Barton
02f951c3a0 allow execution mode to be given as an argument to operators from python (requested by algorith)
example. bpy.ops.tfm.rotate('INVOKE_REGION_WIN', pivot=(0,1,2), ......)

bpy_array.c - was too strict with types, 0 should be allowed as well as 0.0 in a float array.
2009-09-03 22:37:09 +00:00
Nicholas Bishop
9250ab0619 2.5/Multires:
* Added back multires delete higher levels (new operator + button)
2009-09-03 17:45:04 +00:00
Joshua Leung
92395bb93c 2.5 - A few bugfixes...
* Autoside renaming tools in EditMode for armatures now works again. (Wrong property name)
* Action used by NLA Strips can now be chosen/changed to another action
2009-09-03 12:20:59 +00:00
Michael Fox
78425fb657 2.5
*****
first commit in a long time, and its great to be back!

commited Select Mirror operator for objects
eg. L.sword->R.sword

added to 3dview select menu aswel

the hotkey is shift-ctrl-m (hope its not taken)
2009-09-03 10:42:53 +00:00
Joshua Leung
0415e3be05 2.5 - UI Bugfixes
* Modifiers for Lattices now get shown again
* Auto IK and X-Axis Mirror options are now visible again in Armatures UI. Their placement isn't ideal yet, and they also need some proper poll-based visibility adjustments
* F-Modifiers now correctly update the keyframes view after their settings are modified
2009-09-02 12:16:00 +00:00
Martin Poirier
f77fc5c3c9 support for multiple file: linked libraries 2009-09-02 00:07:55 +00:00
Campbell Barton
f12f238062 svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r22875:22935
Note, missing r22897, schlaile
source/blender/src/hddaudio.c
2009-09-01 18:49:33 +00:00
Campbell Barton
6d5f824518 - enum for convex hull and triangle mesh were swapped
- python pedantry
2009-09-01 16:37:23 +00:00
Thomas Dinges
add244bca8 2.5 Buttons:
* Fix for Point Density Texture panel. "System" label was there before the pointer button showed up. (For Source Type Particle System.)
2009-09-01 14:59:50 +00:00
William Reynish
9965e8915d Added the old Edge settings to scene properties. This old feature is really quite terrible as it isn't even resolution independent - the edge width should be relative to the image dimensions.
Adjusted layout for sound in sequencer and a few other minor tweaks.
2009-09-01 12:41:06 +00:00
Martin Poirier
285d665d99 more use of data structures for communication. begining support for more than one file per fob (external dependencies, point cache, ...) 2009-09-01 01:09:05 +00:00
Thomas Dinges
04bbb6a0c7 2.5: Layout Python Files:
* Code cleanup.
* Made some files match the code guidelines, should be all now.
Please everybody use them: http://wiki.blender.org/index.php/Dev:Py/Blender2.5/Layouts/Guidelines
* Made polls and header_draw functions as small as possible. 

* Small fixes here and there.
2009-09-01 00:33:39 +00:00
Ton Roosendaal
15f81f4b03 Part 1 of the 2.49b commit 2009-08-31 18:16:18 +00:00
Campbell Barton
8b18843b98 remove "_amount" from rna names, its not helpful. 2009-08-31 16:36:02 +00:00
Thomas Dinges
a7689e9b60 2.5 Physic Buttons:
* Some Panels missed the "md" context declaration for the new cloth_panel_enabled(md) check. 
* Code Cleanup.
2009-08-30 21:00:26 +00:00
Martin Poirier
6422d335ca bugfix of the bugfix 2009-08-30 20:03:47 +00:00
Campbell Barton
fa68f7ff76 made python 2.x and 3.x compatible. 2009-08-30 19:02:48 +00:00
Guillermo S. Romero
fee715f8a9 Make file directly executable. 2009-08-30 17:34:04 +00:00
Joerg Mueller
257ad93e6d Removing old datatoc C source code; use the python version now! 2009-08-30 15:00:42 +00:00