Sergey Sharybin [Tue, 8 Nov 2011 15:12:41 +0000 (15:12 +0000)]
Fix #29198: Problem with text interface when you enable the International fonts
Not sure why, but doing the same things as in script from FontForge UI, there's
no issues described in report. Probably matter of some default settings.
Hope it works now fine for everyone.
Campbell Barton [Tue, 8 Nov 2011 15:11:27 +0000 (15:11 +0000)]
- disable undo for user preferences (every click would do push an undo), was noticeable on large files.
- also netbeans project file generator now uses branch name for project.
Sergey Sharybin [Tue, 8 Nov 2011 14:03:16 +0000 (14:03 +0000)]
Attempt to fix #29200: Camera Tracking Solver
It was an mistake in join tracks operator which lead to reading unitialized memory.
Brecht Van Lommel [Tue, 8 Nov 2011 13:07:16 +0000 (13:07 +0000)]
Texturing: texture and 3d view draw type changes, these should only have any
effect for a render engine using new shading nodes. In short:
* No longer uses images assigned to faces in the uv layer, rather the active
image texture node is what is edited/painted/drawn.
* Textured draw type now shows the active image texture node, with solid
lighting.
* Material draw mode shows GLSL shader of a simplified material node tree,
using solid lighting.
* Textures for modifiers, brushes, etc, are now available from a dropdown in
the texture tab in the properties editor. These do not use new shading nodes
yet.
http://wiki.blender.org/index.php/Dev:2.6/Source/Render/TextureWorkflow
Brecht Van Lommel [Tue, 8 Nov 2011 12:58:03 +0000 (12:58 +0000)]
Fix for last fix, guess this compiled ok because it's interpreted as a goto label.
Jens Verwiebe [Tue, 8 Nov 2011 12:44:57 +0000 (12:44 +0000)]
Fix an issue with uninitialized memory
Brecht Van Lommel [Tue, 8 Nov 2011 11:38:16 +0000 (11:38 +0000)]
Nodes: add cycles shader nodes, these will only be available to render engines
that use the new shading nodes system. Documentation:
http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes
Brecht Van Lommel [Tue, 8 Nov 2011 11:15:40 +0000 (11:15 +0000)]
Code cleanup: fix compile warning.
Brecht Van Lommel [Tue, 8 Nov 2011 11:02:57 +0000 (11:02 +0000)]
Fix: incorrect use of IFACE_ macro, and correct a typo.
Sergey Sharybin [Tue, 8 Nov 2011 10:17:50 +0000 (10:17 +0000)]
- Fixed typo in KLT description tooltip
- Fixed inconsistent data type used for pts number in ffmpeg_fetchibuf
and stored in timecode structure. Not really issue for "correct" movie files,
but probably can help for "broken" one
Sergey Sharybin [Tue, 8 Nov 2011 09:34:43 +0000 (09:34 +0000)]
Fix a typo in building undistorted proxies for movie clips.
Thanks Campbell to point on this issue.
Campbell Barton [Tue, 8 Nov 2011 09:02:47 +0000 (09:02 +0000)]
use some more logical BLI math functions & tracking used INT_MAX on a short.
Sergey Sharybin [Tue, 8 Nov 2011 06:11:23 +0000 (06:11 +0000)]
Code cleanup and small fixes:
- Assume all areas are using valid MovieClipUser when using functions from movieclip.c
- Set active scene clip to movie-related nodes in compositor rather than checking
if there's only one clip in datablocks
- Fixed users count issue when solving camera motion
Thomas Dinges [Tue, 8 Nov 2011 06:10:04 +0000 (06:10 +0000)]
Tracker:
* Typo fixes for space_clip.py, patch by Mike S on the mailing list.
Joshua Leung [Tue, 8 Nov 2011 06:09:16 +0000 (06:09 +0000)]
Code cleanup - reshuffling some stuff to avoid buildup of long functions in transform code again
Campbell Barton [Tue, 8 Nov 2011 01:32:34 +0000 (01:32 +0000)]
cmake & pep8 tidy up, also some style edits.
remove unneeded collection length function.
Guillermo S. Romero [Mon, 7 Nov 2011 23:50:12 +0000 (23:50 +0000)]
SVN maintenance.
Brecht Van Lommel [Mon, 7 Nov 2011 22:28:49 +0000 (22:28 +0000)]
UI/Nodes: templates to edit nodes from the properties editor using a tree view,
to be used by cycles. For testing there's a panel in the node editor if you set
debug to 777, didn't enable it because I'm not sure it's very useful there.
Brecht Van Lommel [Mon, 7 Nov 2011 22:14:48 +0000 (22:14 +0000)]
Nodes: add foreach_nodeclass iterator over node classes, use for node add menu.
Bastien Montagne [Mon, 7 Nov 2011 19:25:13 +0000 (19:25 +0000)]
Fix [#29194] Spelling error
(yes sir, it is a bugfix :P ).
Sergey Sharybin [Mon, 7 Nov 2011 18:14:50 +0000 (18:14 +0000)]
Hopefully compilation with MinGW will work again.
Tested with official MinGW and SCons, not sure how ti check it when using CMake.
Brecht Van Lommel [Mon, 7 Nov 2011 17:35:20 +0000 (17:35 +0000)]
Textures/Shaders: extend TexMapping to include projection options, and add a
ColorMapping struct for color manipulation of textures. These will be the
standard built-in texture node options for manipulating the incoming texture
coordinate and outgoing color.
Brecht Van Lommel [Mon, 7 Nov 2011 17:30:52 +0000 (17:30 +0000)]
Nodes: add socket option to hide the default value in the UI, to be used for
sockets that get their default value if no node is connected from elsewhere,
e.g. a texture coordinate.
Brecht Van Lommel [Mon, 7 Nov 2011 17:07:54 +0000 (17:07 +0000)]
Revert fix for #29146, needs deeper changes to solve this fully.
Brecht Van Lommel [Mon, 7 Nov 2011 16:26:53 +0000 (16:26 +0000)]
RNA:
* Expose 3D view camera zoom and offset, needed if you want to precisely
reconstruct camera parameters.
* Rename SpaceFileBrowser.operator to active_operator, to avoid conflict
with c++ keyword.
Campbell Barton [Mon, 7 Nov 2011 16:26:23 +0000 (16:26 +0000)]
quiet warnings when building without libmv
Campbell Barton [Mon, 7 Nov 2011 15:57:52 +0000 (15:57 +0000)]
fix for error in own recent commit.
Campbell Barton [Mon, 7 Nov 2011 15:55:03 +0000 (15:55 +0000)]
use macro for access to library filepath
Brecht Van Lommel [Mon, 7 Nov 2011 15:53:40 +0000 (15:53 +0000)]
CMake: add delayed_install macro to specify files to be installed from modules
other than source/creator.
Brecht Van Lommel [Mon, 7 Nov 2011 15:44:09 +0000 (15:44 +0000)]
CMake: Boost and OpenImageIO building support (unused still).
Campbell Barton [Mon, 7 Nov 2011 15:41:20 +0000 (15:41 +0000)]
fix for error using freed memory
Sergey Sharybin [Mon, 7 Nov 2011 15:32:32 +0000 (15:32 +0000)]
Some small fixed for camera tracking:
- Lock to selection and center to selection will now work fine with undistorted rendering
- Do not display pyramid for disabled tracks
- Corrected fix for wrong correlation_min property name
Campbell Barton [Mon, 7 Nov 2011 15:19:26 +0000 (15:19 +0000)]
minor warning nicer api use
Thomas Dinges [Mon, 7 Nov 2011 15:19:13 +0000 (15:19 +0000)]
Tracker/Movie Clip Editor:
* Fix property not showing up: correlation_min, was actually called minimum_correlation in RNA.
Thomas Dinges [Mon, 7 Nov 2011 14:34:56 +0000 (14:34 +0000)]
2.6 UI:
* Minor tweaks after tomato merge, rest of Tomato UI code is excellent. :)
Joshua Leung [Mon, 7 Nov 2011 13:25:17 +0000 (13:25 +0000)]
Bugfix [#29064] armature with curve contraint - crash
Spline IK and Auto-IK working together on the same bone chain could
crash due to the somewhat hacky way that they were sharing the same
list for the "iktree" forest. Resolved by doing what I should have
done from the beginning, and made Spline-IK save its ik chains off
into a separate list.
While this fixes the crash, it might be worth investigating outright
disabling this from working in this case, since it can be a bit
confusing to have it appear to not work.
Sergey Sharybin [Mon, 7 Nov 2011 12:56:05 +0000 (12:56 +0000)]
Camera tracking integration
===========================
Rest of changes from camera tracking gsoc project.
This commit includes:
- New compositor nodes:
* Movie Clip input node
* Movie Undistortion node
* Transformation node
* 2D stabilization node
- Slight changes in existing node to prevent code duplication
Sergey Sharybin [Mon, 7 Nov 2011 12:55:18 +0000 (12:55 +0000)]
Camera tracking integration
===========================
Commiting camera tracking integration gsoc project into trunk.
This commit includes:
- Bundled version of libmv library (with some changes against official repo,
re-sync with libmv repo a bit later)
- New datatype ID called MovieClip which is optimized to work with movie
clips (both of movie files and image sequences) and doing camera/motion
tracking operations.
- New editor called Clip Editor which is currently used for motion/tracking
stuff only, but which can be easily extended to work with masks too.
This editor supports:
* Loading movie files/image sequences
* Build proxies with different size for loaded movie clip, also supports
building undistorted proxies to increase speed of playback in
undistorted mode.
* Manual lens distortion mode calibration using grid and grease pencil
* Supervised 2D tracking using two different algorithms KLT and SAD.
* Basic algorithm for feature detection
* Camera motion solving. scene orientation
- New constraints to "link" scene objects with solved motions from clip:
* Follow Track (make object follow 2D motion of track with given name
or parent object to reconstructed 3D position of track)
* Camera Solver to make camera moving in the same way as reconstructed camera
This commit NOT includes changes from tomato branch:
- New nodes (they'll be commited as separated patch)
- Automatic image offset guessing for image input node and image editor
(need to do more tests and gather more feedback)
- Code cleanup in libmv-capi. It's not so critical cleanup, just increasing
readability and understanadability of code. Better to make this chaneg when
Keir will finish his current patch.
More details about this project can be found on this page:
http://wiki.blender.org/index.php/User:Nazg-gul/GSoC-2011
Further development of small features would be done in trunk, bigger/experimental
features would first be implemented in tomato branch.
Bastien Montagne [Mon, 7 Nov 2011 09:33:49 +0000 (09:33 +0000)]
Removing a wrong node_type_storage (checked and confirmed by lukas_t).
Sergey Sharybin [Mon, 7 Nov 2011 07:16:30 +0000 (07:16 +0000)]
Fix #29174: Vertex normals temporarily incorrect after deleting a face
Looks like it was just missed recalc_editnoormals call in Delete Mesh operator.
Campbell Barton [Mon, 7 Nov 2011 05:28:26 +0000 (05:28 +0000)]
fix [#29183] Make duplicates real: parent informations of the group is not copied
infact this is a feature request but we had reports about it before and its useful to have.
2 new options for OBJECT_OT_duplicates_make_real
- parent to original duplicator
- keep internal hierarchy
Campbell Barton [Mon, 7 Nov 2011 04:36:37 +0000 (04:36 +0000)]
minor edits
- remove unneeded type check from convert grease pencil operator.
- correct some error prints & use __func__.
- make copy_libblock take an ID* argument rather than void*.
Campbell Barton [Mon, 7 Nov 2011 01:38:32 +0000 (01:38 +0000)]
replace VECCOPY with copy_v3_v3, same for 2d copy, also added vec copy functions for int & char.
Campbell Barton [Sun, 6 Nov 2011 16:38:21 +0000 (16:38 +0000)]
more macro --> BLI math lib, mainly replace VECCOPY in render and blenkernel.
Campbell Barton [Sun, 6 Nov 2011 16:34:44 +0000 (16:34 +0000)]
replace macros for bli math functions in editors
Campbell Barton [Sun, 6 Nov 2011 16:23:28 +0000 (16:23 +0000)]
replace macros with bli math functions for nodes
Lukas Toenne [Sun, 6 Nov 2011 15:40:00 +0000 (15:40 +0000)]
Fix for bug #29046, the factor buffer input was not used correctly in curve nodes.
Curve Map exec function (for RGB curves) used a broken test condition for constant factor=1.0f eval. This must take the factor buffer into account, checking the factor vec for default value is not sufficient. These kinds of test should use a function interface, there are probably a lot more bugs like this hidden in the code.
Campbell Barton [Sun, 6 Nov 2011 15:39:20 +0000 (15:39 +0000)]
more macro --> bli math lib replacements.
Campbell Barton [Sun, 6 Nov 2011 15:17:43 +0000 (15:17 +0000)]
misc macro --> bli math lib functions
Campbell Barton [Sun, 6 Nov 2011 14:36:37 +0000 (14:36 +0000)]
replace macros with math functions for render code
Campbell Barton [Sun, 6 Nov 2011 14:00:55 +0000 (14:00 +0000)]
replace macros with bli math functions for particles code
Joshua Leung [Sun, 6 Nov 2011 12:12:14 +0000 (12:12 +0000)]
Second attempt at getting rid of bsystem_time()
Hopefully this fixes Collada. Can't really compile that to check
here...
Campbell Barton [Sun, 6 Nov 2011 12:11:50 +0000 (12:11 +0000)]
use BLI math functions for kdopbvh (no functional change)
Joshua Leung [Sun, 6 Nov 2011 06:19:00 +0000 (06:19 +0000)]
Split off 3D Cursor settings from "View" panel in 3D View
This means that you don't need to have the view panel open all the
time, reducing the amount of scrolling required just to be able to
precisely position the 3D cursor at specific coordinates while
changing some other settings. While most of the settings in the View
panel are less likely to be frequently changed, the 3D cursor can in
some workflows end up needing to be accessed quite frequently.
Joshua Leung [Sun, 6 Nov 2011 06:08:18 +0000 (06:08 +0000)]
Removed old "bsystem_time()" function, which by now is just a
duplicate of BKE_curframe() which just takes two extra args.
For the few calls in the physics engine where CFRA+1 instead of CFRA
was being used, I've added a new BKE_nextframe() call, which will
calculate for CFRA+1 instead of CFRA in much the same way that
bsystem_time() would end up doing things (which means including
subframe steps).
Joshua Leung [Sun, 6 Nov 2011 05:46:45 +0000 (05:46 +0000)]
As discussed on the mailing list, removing the non-functional,
incompatible, and unmaintainable Time Offset cruft.
- Slow Parenting lives another day (just), although it now carries
appropriate cautionary disclaimers. It's only really for the Game
Engine nowadays, as that's the only place where it can possibly work
with any reliability.
- "Animation Hacks" panel is now "Relations Extras". I could've merged
the two panels, though I figured these options weren't that frequently
used to justify taking up screen-space by default along with the panel
Campbell Barton [Sun, 6 Nov 2011 01:39:36 +0000 (01:39 +0000)]
PyUnicode_From_STR_String utility function which passes STR_String to PyUnicode_FromStringAndSize (saves a call to strlen).
Also made CValue::ConvertKeysToPython use faster list creation and improved some of the macro formatting.
Campbell Barton [Sat, 5 Nov 2011 14:26:18 +0000 (14:26 +0000)]
remove po/ since the workflow for translations uses branches which isnt that useful to have within blenders source dir.
For now treat translations as binary files - just access from 'release/datafiles/locale'
Campbell Barton [Sat, 5 Nov 2011 13:21:03 +0000 (13:21 +0000)]
update path loactions for external po/
Brecht Van Lommel [Sat, 5 Nov 2011 13:11:49 +0000 (13:11 +0000)]
Code refactoring: split lamp functions from object.c into new lamp.c.
Brecht Van Lommel [Sat, 5 Nov 2011 13:00:39 +0000 (13:00 +0000)]
Code refactoring: split camera functions from object.c into new camera.c.
Campbell Barton [Sat, 5 Nov 2011 12:16:40 +0000 (12:16 +0000)]
remove dirs to make them external's
Campbell Barton [Sat, 5 Nov 2011 11:04:28 +0000 (11:04 +0000)]
use (const char*) rather than (char*) where possible.
also removed some unused function definitons.
Brecht Van Lommel [Sat, 5 Nov 2011 10:48:43 +0000 (10:48 +0000)]
Fix #29162: grease pencil did not decrement user count on adding new datablock
to replace an existing one.
Thomas Dinges [Sat, 5 Nov 2011 10:34:29 +0000 (10:34 +0000)]
VIEW3D_PT_tools_meshedit_options panel:
* Removed ob check and add a proper poll function.
Sergey Sharybin [Sat, 5 Nov 2011 10:19:36 +0000 (10:19 +0000)]
Disable x-mirror option when proportional edit is enabled.
This option isn't supported because it behaves strangely in 50% of cases and
hopefully disabled x-mirror will stop users be confused by this.
Campbell Barton [Sat, 5 Nov 2011 08:40:07 +0000 (08:40 +0000)]
py operators - don't use the screen as an operators ID anymore, screen's don't store operator instances and operator functions have access to the context if they need the current screen.
also add some more py api file descriptions.
Campbell Barton [Sat, 5 Nov 2011 08:21:12 +0000 (08:21 +0000)]
documentation - brief descriptions for bpy api files.
Campbell Barton [Sat, 5 Nov 2011 05:44:52 +0000 (05:44 +0000)]
macro formatting & remve some unused code.
Nicholas Bishop [Sat, 5 Nov 2011 03:29:37 +0000 (03:29 +0000)]
GPU Buffers
Small type cleanup, use `GPU_Buffers *' rather than `void *'. Should
be no functional changes.
Campbell Barton [Sat, 5 Nov 2011 03:02:55 +0000 (03:02 +0000)]
more DNA object edits
- remove 'path' pointer, wasnt used anywhere.
- remove comments about what each game flag 'bit' does, these are defines now.
- reduce the size of DupliObject 8 bytes.
also commented some of the struct members.
Campbell Barton [Sat, 5 Nov 2011 02:30:25 +0000 (02:30 +0000)]
- view bounds (now split from collision bounds) was still being used for bge physics in one place, comparison was incorrectly treating it as a flag too.
- cleanup Object struct - remove pad and unused flags, convert some shot's to char's, saving 24 bytes.
Campbell Barton [Sat, 5 Nov 2011 01:48:10 +0000 (01:48 +0000)]
misc doc edits
- remove recently added sphinx reference workaround.
- tested doxygen, correct some warnings, set tab width and added pymathutils group.
- added convenience target 'make doc_doxy'
Brecht Van Lommel [Sat, 5 Nov 2011 00:59:50 +0000 (00:59 +0000)]
Fix #29138: changing game engine physics type from soft body to occluder, navmesh
or no collision did not clear flag properly, causing soft body to still be
partially applied.
Brecht Van Lommel [Sat, 5 Nov 2011 00:52:01 +0000 (00:52 +0000)]
Fix #29141: fill / beautify fill produced incorrect results in edge selection mode.
Sergey Sharybin [Fri, 4 Nov 2011 22:13:30 +0000 (22:13 +0000)]
Forgot to initialize sensor height when creating new camera.
Brecht Van Lommel [Fri, 4 Nov 2011 21:29:28 +0000 (21:29 +0000)]
UI: fix region embossing being drawn 1 pixel misaligned, due to wrong opengl state.
Brecht Van Lommel [Fri, 4 Nov 2011 18:10:50 +0000 (18:10 +0000)]
Camera UI: tweaking panels, move clipping back because it's not part of the
preset, and move depth of field settings to a separate panel.
Sergey Sharybin [Fri, 4 Nov 2011 15:53:34 +0000 (15:53 +0000)]
Fix #28865: Draw_bounds_type does not display Polyhedron or Capsule types
Separate DNA properties for bounding box used for bounding box display
in 3d viewport and bounding box used for collision detection in game engine.
Bumped subversion for proper updating old files to new system, but it
need more complex testing.
Sergey Sharybin [Fri, 4 Nov 2011 15:53:20 +0000 (15:53 +0000)]
Fix #29024: Logic Bricks allow same name for multiple bricks
Check for unique name when setting name for logic bricks.
Sergey Sharybin [Fri, 4 Nov 2011 15:53:12 +0000 (15:53 +0000)]
Fix #29155: Inconsistency with 0 and Del hotkeys
Use del key to reset values in widgets like color selection and histogram.
Campbell Barton [Fri, 4 Nov 2011 15:21:34 +0000 (15:21 +0000)]
correct some warnings, also sensor_x was being paassed to object_camera_matrix(...) for x and y args, looks like an accident
Sergey Sharybin [Fri, 4 Nov 2011 14:36:06 +0000 (14:36 +0000)]
Configurable sensor size:
- Added support of variable size sensor width and height.
- Added presets for most common cameras, also new presets can be defined by user.
- Added option to control which dimension (vertical or horizontal) of sensor
size defines FOV. Old behavior of automatic FOV calculation is also kept.
- Renderer, viewport, game engine and collada importer/exporter should
deal fine with this changes. Other exporters would be updated soon.
Sergey Sharybin [Fri, 4 Nov 2011 13:31:15 +0000 (13:31 +0000)]
Fix #29139: Comp Group nodes don't retain name
Added tree node id browser to Active Node panel so name of nodetree editing in
group node can be easily changed now.
Brecht Van Lommel [Fri, 4 Nov 2011 13:17:35 +0000 (13:17 +0000)]
Depsgraph: add "Dependency Relations" operator to print the dependency graph to
the console, useful for debugging and understanding the relations.
Brecht Van Lommel [Fri, 4 Nov 2011 12:53:46 +0000 (12:53 +0000)]
Fix #29146: object used for particle instancing did not update when affected
by an object on a hidden layer. Dependency was set in the wrong direction.
Sergey Sharybin [Fri, 4 Nov 2011 12:50:29 +0000 (12:50 +0000)]
Changes to node sockets default values to deal better with artists workflow
(in most cases it needed to do extra tweaks to values which was annoying).
Patch by Sebastian König.
Sergey Sharybin [Fri, 4 Nov 2011 11:37:13 +0000 (11:37 +0000)]
Fix #29051: Set Origin - Center: Bounds does not work
Operator sued to check incorrect property to check initialization.
Patch by Kalle-Samuli Riihikoski, thanks!
Sergey Sharybin [Fri, 4 Nov 2011 09:29:58 +0000 (09:29 +0000)]
Do not run versioning code for new files. All stuff from current verisoning
block was written before 2.60 release, so it should be safe to move it into
if'ed block checking version number.
This patch should also fix bug #29147 which was caused by old->new particle
rotation mode switch.
Campbell Barton [Fri, 4 Nov 2011 09:14:49 +0000 (09:14 +0000)]
cleanup some BLF macros and dont over-alloc BGE's PyObjectPlus when setting strings (better change then the one I made recently).
Joshua Leung [Fri, 4 Nov 2011 08:08:47 +0000 (08:08 +0000)]
Comments and other text editing:
* Renamed one of the two "File is Saved" entries, as having two
entries with the same name in the Datablocks viewer was confusing
* Edited the tooltip text for "speed" option for dupliframes to
clarify what it does (or what it's supposed to do)
Joshua Leung [Fri, 4 Nov 2011 08:06:46 +0000 (08:06 +0000)]
Bugfix [#28515] Dupliframes start/end animation broken since 2.56A
Due to changes with the way that dupliframes were being evaluated (one
of those being that the animation for the object being animated would
get reevaluated for every frame sample for dupliframes) to get them
working properly again sometime during the 2.5 series, the dupliframe-
sampling loop would be prematurely terminated on the first frame in
this example.
That is because after the first step of the loop, the ob->dupend
property would have changed its value as it was being animated,
leading to the loop terminating, and only the a single dupli getting
added.
Campbell Barton [Fri, 4 Nov 2011 04:27:46 +0000 (04:27 +0000)]
- added docs and examples for bpy.app.handlers
- correct error in own last commit for BKE_screen_find_big_area()
Matt Ebb [Fri, 4 Nov 2011 02:31:00 +0000 (02:31 +0000)]
Enabled ndof devices for controlling colour wheel and cube UI controls
(eg. colour pickers). Tilting the ndof device up and down and rolling it left and
right will move the 'colour cursor' in screen x and y, and twisting the ndof device
will rotate the cursor around the colour wheel (hue). Now you can turn off the
lights and pretend you have a fancy DI deck!
Campbell Barton [Fri, 4 Nov 2011 01:15:04 +0000 (01:15 +0000)]
utility function to find the biggest area: BKE_screen_find_big_area(...), was being done with static functions that were copied about.
Campbell Barton [Thu, 3 Nov 2011 23:20:54 +0000 (23:20 +0000)]
compile without python works again
Sergey Sharybin [Thu, 3 Nov 2011 17:06:12 +0000 (17:06 +0000)]
Fix #28998: sequence rendering with wrong progress bar
Show overall progress when doing sequence rendering. Nice for cases when
you're using sequencer to combine video strips only, without rendering
scenes and so. If scene strips are used in sequencer, per-frame rendering
would be used (because of scene rendering sets per-frame progress).
Brecht Van Lommel [Thu, 3 Nov 2011 16:41:48 +0000 (16:41 +0000)]
Depsgraph: more tweaking for update acces from python API
* Move scene_update_pre callback before depsgraph flusing so it works better
when you do modifications on objects then.
* Fix missing update after making modifications in frame_change_pre, recalc
flags were not being flushed.
Sergey Sharybin [Thu, 3 Nov 2011 16:16:19 +0000 (16:16 +0000)]
Fix #29005: Bezier/Surface Datablock switching bug?
This commit updates curve datablock to respect curve dimension flag
when setting datablock for curve.
Not ideal but this makes behavior quite expected, avoids big changes in
curves core stuff which depends on object type and prevents restrictions
on changing data datablock which works in general cases.
Campbell Barton [Thu, 3 Nov 2011 14:09:18 +0000 (14:09 +0000)]
python string conversion
- use _PyUnicode_AsStringAndSize where possible
- use %R for PyErr_Format(...) rather then running repr on the object explicitly
- use const char