forked from bartvdbraak/blender
modify error when python is not found so as not to confuse users who don't build blender.
+ minor edits.
This commit is contained in:
parent
206e5b7179
commit
bfadd7c9aa
@ -258,7 +258,7 @@ class VIEW3D_MT_uv_map(bpy.types.Menu):
|
||||
layout.separator()
|
||||
|
||||
layout.operator("uv.reset")
|
||||
|
||||
|
||||
|
||||
# ********** View menus **********
|
||||
|
||||
|
@ -173,7 +173,7 @@ static void bpy_python_start_path(void)
|
||||
if(py_path_bundle==NULL) {
|
||||
/* Common enough to have bundled *nix python but complain on OSX/Win */
|
||||
#if defined(__APPLE__) || defined(_WIN32)
|
||||
fprintf(stderr, "Bundled python is expected on this platform, if blender fails to load build the 'install' target\n");
|
||||
fprintf(stderr, "Warning! bundled python not found and is expected on this platform. (if you built with CMake: 'install' target may have not been built)\n");
|
||||
#endif
|
||||
return;
|
||||
}
|
||||
|
@ -1721,7 +1721,7 @@ void wm_event_do_handlers(bContext *C)
|
||||
}
|
||||
|
||||
if(playing == 0) {
|
||||
int ncfra = sound_sync_scene(scene) * FPS + 0.5;
|
||||
int ncfra = sound_sync_scene(scene) * (float)FPS + 0.5f;
|
||||
if(ncfra != scene->r.cfra) {
|
||||
scene->r.cfra = ncfra;
|
||||
ED_update_for_newframe(CTX_data_main(C), scene, win->screen, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user